About
Displays a form input field, input groups, number input spinners, etc.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Base Input to your project and fits it to your theme.
Code
How Base Input is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { Input } from '@/components/ui/base-input';
export default function InputDemo() {
return (
<div className="w-80 space-y-6">
<Input type="text" variant="sm" placeholder="Small" />
<Input type="text" placeholder="Medium" />
<Input type="text" variant="lg" placeholder="Large" />
</div>
);
}
















