DUInput

Forms

Labeled text field with hint and error states.

import { DUInput } from 'deri-ui';
Live preview

Work email preferred

typescript
<DUInput label="Email" type="email" placeholder="you@acme.com" hint="Work email" />

Props

PropTypeDefaultDescription
labelstringField label
hintstringHelper text
errorstringValidation message
radiusDURadius'md'Corner radius
...inputInputHTMLAttributesNative input props

Usage

import { DUInput } from 'deri-ui';

<DUInput label="Email" type="email" placeholder="you@acme.com" hint="Work email" />

Customize with className, radius, and Tailwind utilities. Theme tokens come from deri-ui/tailwind.preset.

© 2026 Deri Ui. Developed by Deribew Shimelis. Copy and use the code freely in your projects.