Textarea
llms.txtExample
Primary
Secondary
Usage
<Textarea placeholder="Enter text here" bind:value />
API Reference
Textarea
A styled multi-line text input.
Property Type Description
value $bindable
string
The current value of the textarea. Default: —
variant
enum
The visual variant. Default:
'primary'sizeVariant
enum
The size of the textarea. Default:
'default'class
string
Additional CSS classes to apply. Default: —
ref $bindable
HTMLTextAreaElement
The underlying DOM element. Default: —
Property
value
variant
sizeVariant
class
ref