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`.

PropTypeDefaultDescription
icon IconSource—Name of a built-in icon to show.
children snippet Snippet—Content, as a Svelte snippet.
/docs/input-addon Truss UI · MIT