Input
llms.txtExample
Primary
Secondary
Usage
<Input sizeVariant="sm" placeholder="Enter text here" bind:value />
API Reference
Input
A styled text input field.
Property Type Description
value $bindable
string
The current value of the input. Default: —
type
string
The HTML input type (text, email, password, number, etc.). Excludes "file". Default: —
variant
enum
The visual variant of the input. Default:
'primary'sizeVariant
enum
The size of the input. Default:
'default'class
string
Additional CSS classes to apply. Default: —
ref $bindable
HTMLInputElement
The underlying DOM element. Default: —
Property
value
type
variant
sizeVariant
class
ref