CaptainCodeman / svelte-headlessui

HeadlessUI components for Svelte
https://captaincodeman.github.io/svelte-headlessui/
MIT License
539 stars 26 forks source link

Switch component #36

Closed liborvanek closed 12 months ago

liborvanek commented 1 year ago

Hi, thanks for awesome work! I'm planning to migrate from Rgossiaux's port to this one. Any idea when Switch component might be available?

CaptainCodeman commented 1 year ago

There is a switch in the codebase, and a toggle button (similar, but more for things like play / pause), but I need to bring them up-to-sync with the rest of the components and create a proper docs page. I'll try to get them included when I get chance.

greendesertsnow commented 1 year ago

I don't know I'm supposed to use the switch component in the codebase. Does anyone have any idea? Also the tab component seems to be 'coming soon' :D ...

CaptainCodeman commented 1 year ago

Anything that isn't included in the docs should be considered a work-in-progress prototype.

CaptainCodeman commented 1 year ago

Also the tab component seems to be 'coming soon'

That's now published :)

https://captaincodeman.github.io/svelte-headlessui/tabs/