API reference
Generated from each primitive's $props() declaration.
code
Syntax-highlighted code display.
| Prop | Type | Default | Description |
|---|---|---|---|
| ref bind: | HTMLElement | null | null | |
| class as className | string | — | |
| variant | "inline" | "block" | "inline" | |
| children | Snippet | — | |
| ...restProps | Record<string, unknown> | — | Remaining attributes, spread onto the underlying element. |