KodeKarsa UI

Forms

Input

A text field. InputGroup adds icons, a suffix, and a clear button inside the same field.

src/components/ui/input.tsxBehavior from @ui-sdk/react/input

Plain and grouped

.kodekarsa.com

Import

tsx
import { Input, InputGroup } from "@/components/ui/input";

Guidelines

  • A placeholder is a sample value, not a stand-in for the label.
  • The clear button only appears when there is text, and needs a clearLabel.