Command Palette

Search for a command to run...

Input Base

Base component to create custom inputs.

Loading...

Installation

pnpm dlx shadcn@latest add https://ui-x.junwen-k.dev/r/input-base.json

Usage

import {
  InputBase,
  InputBaseAdornment,
  InputBaseControl,
  InputBaseInput,
} from "@/components/ui/input-base";
<InputBase>
  <InputBaseAdornment>@</InputBaseAdornment>
  <InputBaseControl>
    <InputBaseInput />
  </InputBaseControl>
</InputBase>

Examples

Default

Loading...

With Action

Loading...

Disabled

Loading...

Form

Loading...