Input

test

Attribute Type Documentation Default Value
id :string

Unique identifier for the input component

size :string

Size of the input

"md"
variant :string

The variant of the input

"fill"
error :boolean

If true, the input is in error state

false
disabled :boolean

If true, the input is disabled

false
placeholder :string

Placeholder for the input

""
type :string

Type of the input

"text"
class :string

Additional CSS classes for the input

""
rest :global

Additional HTML attributes for the input

label :slot

Label for the input

<:label>label</:label>
<:hint>
test
</:hint>
hint :slot

Hint for the input

<:label>label</:label>
<:hint>
test
</:hint>