brijr/ui

Lab

Input

npx shadcn@latest add @brijr/input

States

empty · placeholder
filled
aria-invalid
disabled
disabled · empty
readOnly

Types

text
email
password
number
search
date
file

Native validation

No Field and no aria-invalid. Press Subscribe with the field empty, or type half an address and leave it: the browser marks it :user-invalid and it turns red.

With label

Enter a valid email address.

Content

long value
narrow