KodeKarsa UI

Compact

Compact Input

A 32px text field with 6px corners and an optional icon on the left, such as for search.

src/components/ui/compact-input.tsxNo ui-sdk

Search and numbers

Memuat

Import

tsx
import { CompactInput } from "@/components/ui/compact-input";

Guidelines

  • Without a visible label, give it an aria-label.