All Projects → rgossiaux → svelte-headlessui

rgossiaux / svelte-headlessui

Licence: other
Unofficial Svelte port of Headless UI components

Programming Languages

Svelte
593 projects
typescript
32286 projects
CSS
56736 projects

Projects that are alternatives of or similar to svelte-headlessui

Svelte Material Ui
Svelte Material UI Components
Stars: ✭ 2,081 (+268.97%)
Mutual labels:  svelte-components, svelte, sveltejs, svelte3
ui-svelte
A component library for Svelte
Stars: ✭ 18 (-96.81%)
Mutual labels:  svelte-components, svelte, sveltejs, svelte3
s-date-range-picker
📅 A date range picker built with Svelte
Stars: ✭ 13 (-97.7%)
Mutual labels:  svelte-components, svelte, sveltejs, svelte3
svelte-meteor-data
Reactively track Meteor data inside Svelte components
Stars: ✭ 14 (-97.52%)
Mutual labels:  svelte, sveltejs, svelte3
svelte-webcomponents
A ready-to-use project template to build custom elements (web components) with Svelte 3 with support and examples for web components, jest, sass, nested components with props, eslinting, stylelinting, Github actions, propagating custom events from shadow-DOM to real-DOM etc.
Stars: ✭ 22 (-96.1%)
Mutual labels:  svelte, sveltejs, svelte3
svelte-progressbar
A multiseries, SVG progressbar component made with Svelte
Stars: ✭ 85 (-84.93%)
Mutual labels:  svelte-components, svelte, sveltejs
fa-svelte
Font Awesome 5 for svelte.js
Stars: ✭ 72 (-87.23%)
Mutual labels:  svelte-components, svelte, sveltejs
svelte-interview-questions
Concepts and Questions related to Svelte - Part of official Svelte resources list
Stars: ✭ 18 (-96.81%)
Mutual labels:  svelte, sveltejs, svelte3
kahi-ui
Straight-forward Svelte UI for the Web
Stars: ✭ 169 (-70.04%)
Mutual labels:  svelte-components, svelte, sveltejs
svelte-starter-kit
Svelte with brilliant bells and useful whistles
Stars: ✭ 384 (-31.91%)
Mutual labels:  svelte, sveltejs, svelte3
focus-svelte
focus lock for svelte
Stars: ✭ 18 (-96.81%)
Mutual labels:  svelte-components, svelte, sveltejs
svelte-portal
Svelte component for rendering outside the DOM of parent component
Stars: ✭ 261 (-53.72%)
Mutual labels:  svelte, sveltejs, svelte3
svelte-material
Modular and customizable Material Design UI components for Svelte.js
Stars: ✭ 30 (-94.68%)
Mutual labels:  svelte-components, svelte, sveltejs
svelte-accessible-dialog
An accessible dialog component for Svelte apps
Stars: ✭ 24 (-95.74%)
Mutual labels:  svelte, sveltejs, svelte3
eslint-plugin-svelte
ESLint plugin for Svelte using AST
Stars: ✭ 22 (-96.1%)
Mutual labels:  svelte, sveltejs
templates
tsParticles website templates collection
Stars: ✭ 42 (-92.55%)
Mutual labels:  svelte, sveltejs
svelte-fa
Tiny FontAwesome 5 component for Svelte
Stars: ✭ 214 (-62.06%)
Mutual labels:  svelte, sveltejs
carbon-components-svelte
Svelte implementation of the Carbon Design System
Stars: ✭ 1,615 (+186.35%)
Mutual labels:  svelte-components, svelte
plugins
Elder.js plugins and community plugins.
Stars: ✭ 80 (-85.82%)
Mutual labels:  svelte, sveltejs
mmss-client
No description or website provided.
Stars: ✭ 16 (-97.16%)
Mutual labels:  svelte, svelte3

svelte-headlessui

This is an unofficial, complete Svelte port of the Headless UI component library (https://headlessui.dev/). It contains fully accessible, feature-rich, unstyled UI components.

Documentation for this library is available at https://svelte-headlessui.goss.io

Who is this for?

This library is for you if you fall into one of two categories:

  • You want unstyled yet sophisticated customizable UI components that fully follow the WAI-ARIA specs. You want a component library to handle all the messy details (keyboard navigation, focus management, aria-* attributes, and many many more), but you want to style your components yourself and not be constrained by existing design systems like Material UI.
    • Alternatively, you want to implement an existing design system in Svelte, and want a powerful set of primitives to build your components on, letting you focus on styling.
  • You want to use the commercial Tailwind UI component library (https://tailwindui.com/) in your Svelte project, and want a drop-in replacement for the React/Vue components which power Tailwind UI.

This project is intended to keep an API as close as possible to the React API for the base Headless UI project, with only a few small differences. While one of the primary goals is to enable using Tailwind UI in a Svelte project with as little effort as possible, neither Tailwind UI nor Tailwind CSS is required to use these components.

This project is an unofficial port. I have no affiliation with Tailwind Labs and cannot offer commercial support for this project. With that said, I intend to keep it as up to date as possible with the upstream Headless UI project, including porting new components when they are released.

Installation

npm install -D @rgossiaux/svelte-headlessui

Usage

See https://svelte-headlessui.goss.io for full documentation.

Credits

Credit for everything good about this library goes to Tailwind Labs for writing the original React/Vue versions. All bugs should be assumed to be my fault in the port (though as the codebases are so similar, bugs in upstream will likely affect this library too).

Additional thanks to https://github.com/hperrin/svelte-material-ui; this well-engineered Svelte library was the source of the action and event forwarding code, with minor modifications.

License

This library is licensed under the MIT license; see the LICENSE file for more.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].