Single-line text fields for forms and filters.
Add this item from the registry, or import it from the package after installing Default File UI.
Registry path
itsvigneshv/default-file-ui/inputPackage import
import { Input } from "@default-file/ui/components/df-input"Basic text input.
Non-interactive state.
Single-line text field. Passes through native input attributes.
| Prop | Type | Default | Notes |
|---|---|---|---|
| type | string | "text" | Native input type (text, email, password, etc.). |
| value / defaultValue | string | — | Controlled or uncontrolled field value. |
| placeholder | string | — | Empty-state hint text. |
| disabled | boolean | — | Non-interactive field. |
| className | string | — | Additional styles. Base styles use data-df="input". |
| …input attributes | ComponentProps<"input"> | — | All native input props (name, required, onChange, etc.). |