v0.0.14
components

Input

A styled text input component with configurable size, variant, and color.

API Reference

InputProps

Extends all the standard HTML attributes of the `<div>` element.

PropertyTypeDefaultDescription
onValueChange
function
Callback called on value change
ref $bindable
HTMLInputElement
Reference to the rendered DOM element.
color
union
Input color
size
union
"2"Input size
radius
union
Input radius
type
union
"text"Allowed input type
align
union
"start"Text align
fullWidth
boolean
Input full width
inputSize
number
Native html input size

Examples

Alignments

Colors

Fullwidth

Sizes

Types