Carsxe

Input

Displays a form input field or a component that looks like an input field.

Installation

Import from the package. Do not run shadcn add in your app.

import { Input } from "@carsxe/design-system/components/input"

Usage

import { Input } from "@carsxe/design-system/components/input"

<Input type="email" placeholder="Email" />

Disabled

Invalid

Please enter a valid email.

Compact

API Reference

PropTypeDefault
classNamestring — use for compact heights (no size variant; native size is a number)