TextField
TextField Component
Playground
Props
| Prop | Type | Default | Value |
|---|---|---|---|
| label | text | — | |
| variant | selectoutlined | filled | standard | — | |
| error | boolean | — | |
| required | boolean | — | |
| disabled | boolean | — |
Outlined
Filled
Standard
| PROP | TYPE | DEFAULT | DESCRIPTION |
|---|---|---|---|
disabled | boolean | — | Disabled state |
error | boolean | — | Error state |
label | text | — | Field label |
required | boolean | — | Required field |
variant | select | — | Visual variant |
Using TextFieldtsx
import { TextField } from '@/components/TextField'
<TextField
label="..."
variant="..."
error="..."
required="..."
disabled="..."
/>Tokens Used
No design tokens detected