Skip to content

lxsmnsyc/terracotta

Repository files navigation

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 Open in StackBlitz
  • Alert
  • Alert Dialog
  • Button
  • Button (Toggle)
  • Checkbox Open in StackBlitz
  • Dialog (Modal) Open in StackBlitz
  • Dialog (Popover) Open in StackBlitz
  • Disclosure (Show/Hide) Open in StackBlitz
  • Feed Open in StackBlitz
  • Listbox (Select) Open in StackBlitz
  • Listbox (Dropdown) Open in StackBlitz
  • Menu Open in StackBlitz
  • Radio Group Open in StackBlitz
  • Toolbar Open in StackBlitz
  • Transition Open in StackBlitz
  • Toaster/Toast Open in StackBlitz
  • ContextMenu (Dialog) Open in StackBlitz
  • CommandBar (Dialog) Open in StackBlitz
  • Tabs Open in StackBlitz

FAQ

Is this the official HeadlessUI for SolidJS?

Uhh, 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