# Claymorph UI
> Claymorph UI is a set of web components with a soft clay body drawn by one WebGL2 shader, with behaviour from ui-sdk. Each is named for the one thing it does. Without WebGL2 the same clay is drawn with CSS shadows.
## Rules for AI agents
- Wrap ui-sdk parts in a clay element: ``. Keep the ui-sdk part's own markup inside it exactly as its docs show.
- Never recreate the clay with your own `box-shadow`, canvas or SVG. The elements draw it with WebGL2 and fall back to CSS by themselves.
- Import once: `import "@ui-sdk/core/web.css"` then `import "./clay"` (the copied `src/clay/` folder).
- Colour with the `color` attribute (a preset or any CSS colour) or the `--clay-*` variables. Tune the material with the `CLAY` object.
- Pick by verb: Press → ``, Roll → ``, Latch → ``, Fuse → ``, Drag → ``, Type → ``, Slide → ``, Flip → ``, Tick → ``, Pick → ``, Stretch → ``, Pour → ``, Shift → ``, Spill → ``, Unfold → ``, Lift → ``, Pop → ``, Drop → ``, Hold → ``, Stamp → ``, Frame → ``, Fill → ``, Gauge → ``.
- Behaviour, events and names come from the ui-sdk part inside: listen on ``, `` and so on, and name every control.
## Get started
- [Introduction](/docs/introduction.md): Soft clay web components. One WebGL2 shader draws every surface, ui-sdk does the behaviour, and CSS draws the same clay when WebGL2 isn't there.
- [Installation](/docs/installation.md): Install the package, load the styles once, import the elements you use.
- [Theming](/docs/theming.md): Colour with CSS variables, tune the material with one config object.
- [For AI](/docs/ai.md): Machine-readable docs, a skill, and an agent bridge.
## Components
- [Button](/docs/button.md) (Press): A clay button. It swells toward the pointer, squashes and glows when pressed, and springs back. Wraps `ui-button`.
- [Action Button](/docs/action-button.md) (Roll): An async action. A clay bead sits beside the body; pressing it melts the bead in, it stays melted while the action runs, then turns into a check (or a cross) and rolls back out.
- [Toggle](/docs/toggle.md) (Latch): A toggle button whose clay sinks into a coloured well while it's on, and pops back out when it's off. Wraps `ui-toggle`.
- [Button group](/docs/button-group.md) (Fuse): Related buttons fused into one clay body. Each part swells and squashes on its own, and a pressed toggle inside sinks into a well. Wraps `ui-button` or `ui-toggle` buttons.
- [Slide to confirm](/docs/slide-confirm.md) (Drag): A deliberate action: drag a clay ball along its groove to the end. Let go early and it rolls back; at the end it runs `.action`, then shows pending, success or error. Wraps `ui-slider`.
- [Input](/docs/input.md) (Type): A text field carved into the clay. The well deepens while it's focused, gives a little as you type, and its rim turns red once the value is invalid. Wraps `ui-input`, `ui-input-group` or a `