Shadix

Input

A styled text input. Extra HTML attributes flow through the global :rest.

<.input></.input>

Examples

Default

<.input placeholder="Email" />

Disabled

<.input placeholder="Email" disabled />

With value

<.input value="hello@shadix.dev" />

Props

Name Type Default Values
class :string
rest :global
type :string "text"