Component
Input
The text input, in underlined and `boxed` forms.
import { Input } from '@loidolt/theme-svelte';
Example
Props
Generated from the component source, so it cannot drift from the implementation.
| Prop | Type | Default | Notes |
|---|---|---|---|
boxed | boolean | false | Draws the full box instead of the default underline. |
class | string | — | |
ref bindable | HTMLInputElement | null | null | |
value bindable | string | '' |
Plus the attributes of Omit<HTMLInputAttributes, 'value'>, forwarded to the root element.