Skip to Content

input

ui

Displays a form input field.

Use cases

  • Text input fields
  • Search bars
  • Email/password fields
  • Number inputs

Features

  • All HTML input types supported
  • Focus ring styling
  • aria-invalid error state
  • Disabled state

Preview

Interactive preview with light/dark mode toggle. Switch to Code tab to view the full source.

Installation

npx shadcn@latest add https://registry.mukoko.com/api/v1/ui/input

API

Fetch this component's metadata and source code from the registry API.

GET/api/v1/ui/input

Source

components/ui/input.tsx