Skip to content

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

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

About

Headless UI for SolidJS

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 99.9%
  • JavaScript 0.1%