terracotta
Headless UI library for SolidJS
Install
npm i terracotta
yarn add terracotta
pnpm add terracotta
Note
The project is still in development, as I aim to implement the WAI-ARIA Design Patterns and Widgets.
Here's the current components:
-
Accordion
Alert
Alert Dialog
Button
Button (Toggle)
-
Checkbox
-
Dialog (Modal)
-
Dialog (Popover)
-
Disclosure (Show/Hide)
-
Feed
-
Listbox (Select)
-
Listbox (Dropdown)
-
Menu
-
Radio Group
-
Toolbar
-
Transition
-
Toaster
/Toast
-
ContextMenu (Dialog)
-
CommandBar (Dialog)
-
Tabs
FAQ
HeadlessUI for SolidJS?
Is this the officialUhh, no. I intended to port the original however this is not recognized as the official port for SolidJS. There's also some differences in development path since I intended to implement the WAI-ARIA widgets. The reason is that there seems to be no resolution from the original Headless UI if they're going to implement WAI-ARIA widgets in the first place.
If this is a port, does it mean it is 100% compatible?
Kinda. Due to differences in principle between SolidJS and React, the implementation would be different and such, features that are originally found in the original HeadlessUI may be incompatible with the SolidJS version.
License
MIT © lxsmnsyc