Input
A styled text field. Built on the native <input>
element with DaisyUI's input class. Supports all standard
input types, five sizes, eight color tokens, and bordered/ghost variants.
Default
Basic input with placeholder.
Types
Common native input types.
Sizes
Five sizes: xs, sm, md (default), lg, xl.
Colors
Eight DaisyUI color tokens — set the focus ring color.
Bordered
variant="bordered" adds a visible border at rest.
Ghost
variant="ghost" — transparent background, shows on focus.
States
Disabled and read-only.
With label
Wrap in a label or use fieldset + legend for accessible labelling.
Form example
A complete sign-in form layout.