1. Docs
  2. Input

Input

Allows users to enter and submit data in a specified format

Loading...

Installation

Examples

Start Content

Pass any valid element to startContent to render custom prefix element into input

Loading...

End Content

Pass any valid element to endContent to render custom suffix element into input

Loading...

Labelled

Use <Label /> to create an accessible input label

Loading...

Helpers

Loading...

States

Use readonly to make an input uneditable and disabled to prevent user interaction entirely

Loading...

Types

Loading...

Controlled

Loading...

Props

PropTypeDefault
variantoutline soft underlineoutline
sizesm md lgmd
colordefault primary secondary success errordefault