By lxsmnsyc
The Terracotta plugin: teaches an agent to write correct, accessible Terracotta code for SolidJS.
Trending marketplaces
7-day visitors to each marketplace page
npx claudepluginhub lxsmnsyc/terracottaBuild accessible UI with Terracotta, the headless component library for SolidJS. Component catalogue and part names, subpath imports, controlled vs uncontrolled state, render props, the `as` prop and prop passthrough, `tc-*` styling attributes, `unmount`, transitions, and keyboard and focus behaviour. Use when writing, reviewing or debugging SolidJS code that imports from `terracotta`.
Headless UI components for SolidJS. Terracotta handles state, keyboard
interaction, focus and ARIA wiring. It adds no styles and no class names.
Component state reaches your CSS through tc- attributes.
The components follow the WAI-ARIA Authoring Practices.
pnpm add terracotta
# or
npm i terracotta
# or
yarn add terracotta
Terracotta 2 targets Solid 2 (^2.0.0). solid-js and @solidjs/web are peer
dependencies. For Solid 1, install terracotta@1 from the
1.x branch.
Every component has its own entry point and is built from parts you compose:
import { Disclosure, DisclosureButton, DisclosurePanel } from 'terracotta/disclosure';
function Details() {
return (
<Disclosure defaultOpen={false}>
<DisclosureButton class="trigger">Details</DisclosureButton>
<DisclosurePanel class="panel">Everything worth knowing.</DisclosurePanel>
</Disclosure>
);
}
Style it by selecting on state:
.trigger[tc-expanded] {
font-weight: 600;
}
The repository is also a Claude Code plugin marketplace. Its skill teaches an agent the component parts, imports, state and styling attributes:
/plugin marketplace add lxsmnsyc/terracotta
/plugin install terracotta@terracotta
The documentation site in docs/ uses the library from the
workspace, so build the library first:
pnpm install
pnpm --filter terracotta build
pnpm --filter @terracotta/docs dev
No. Terracotta started as a port of Headless UI, but it is not an official port, and it has since grown to cover the WAI-ARIA widgets that Headless UI does not.
No. SolidJS and React work differently, so the component APIs differ, and some Headless UI features have no equivalent here.
MIT © lxsmnsyc
7-day visitors to each marketplace page
Anthropic example skills
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
Ultra-compressed communication mode. Shortens prose while preserving technical terms, code, commands, and exact errors.