svelte-headlessui
is an unofficial implementation of Tailwind HeadlessUI for Svelte. Just like the official implementation, they are:
But also:
Install using your package manager of choice, e.g.
pnpm install svelte-headlessui
Import the appropriate create...
factory method in your component and use the custom store it returns to manage your component state and attach use:action
behaviors to your elements.
See the individual component pages for usage examples.
You may be interested in evaluating @rgossiaux/svelte-headlessui. This package aligns closer to the official components in it's approach although I believe that approach (driven by React / Vue) contributes to the larger size of 173kB minified / 29kB minified + gzipped.
Special thanks to Shoob for the logo!
Author: captaincodeman
Source Code: https://github.com/captaincodeman/svelte-headlessui
License: MIT license