Components / Text & numbers
InputAddon
Static text or an icon attached to an input inside an InputGroup (e.g. https://, $, .com).
@ruckc/truss-ui Text & numbers
Import
import { InputAddon } from '@ruckc/truss-ui'; Playground
No interactive demo
This component is documented through its API reference below.
API
Static text or an icon attached to an input inside an <InputGroup>, e.g. `https://`, `$`, `.com`, `USD`.
| Prop | Type | Default | Description |
|---|---|---|---|
icon | IconSource | — | Name of a built-in icon to show. |
children snippet | Snippet | — | Content, as a Svelte snippet. |