Input

A text field for forms and search.

$ pnpm dlx shadcn@latest add https://multidash-app.vercel.app/r/input.json

We'll never share your email.

Installation

Add Input with the shadcn CLI, or copy the source by hand. In this repo there's nothing to install — import it from @multidash/ui.

$ pnpm dlx shadcn@latest add https://multidash-app.vercel.app/r/input.json

Adds the component, the components it builds on, its npm packages and the theme tokens it uses. Using Multidash often? Add the registry to components.json once:

components.json
{
  "registries": {
    "@multidash": "https://multidash-app.vercel.app/r/{name}.json"
  }
}

Then add components by name:

$ pnpm dlx shadcn@latest add @multidash/input

Usage

import {
  Input,
} from "@multidash/ui/components/input"

Examples

With icon

Invalid, disabled and file

Set aria-invalid to show the error style.

This username is already taken.