Sean Hello

Base Input

Buttons 4

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 { Button } from '@/components/ui/base-button';
import { Input, InputWrapper } from '@/components/ui/base-input';
import { Euro, TicketPercent, User, X } from 'lucide-react';

export default function InputDemo() {
  return (
    <div className="space-y-5 w-80">
      <InputWrapper>
        <Euro />
        <Input type="email" placeholder="Start icon" />
      </InputWrapper>
      <InputWrapper>
        <Input type="email" placeholder="End icon" />
        <TicketPercent />
      </InputWrapper>
      <InputWrapper>
        <Button size="sm" variant="dim" mode="icon" className="size-5 -ms-0.5">
          <User />
        </Button>
        <Input type="email" placeholder="Start clickble icon" />
      </InputWrapper>
      <InputWrapper>
        <Input type="email" placeholder="End clickble icon" />
        <Button size="sm" variant="dim" mode="icon" className="size-5 -me-0.5">
          <X />
        </Button>
      </InputWrapper>
    </div>
  );
}

Dependencies

More by Sean Hello

View all
  • 3D Testimonails

    3D Testimonails

    3.4K
  • Line Charts 9

    Line Charts 9

    659
  • Alert

    Alert

    494
  • Line Charts 6

    Line Charts 6

    393
  • Area Charts 1

    Area Charts 1

    391
  • Scroll Area

    Scroll Area

    376
  • Navigation Menu

    Navigation Menu

    320
  • Area Charts 2

    Area Charts 2

    318

More in Buttons

View all
  • Texture Button

    Texture Button

    98
  • Button

    Button

    1
  • Button

    Button

    68
  • Eclipse Button

    Eclipse Button

    3
  • Button

    Button

    65
  • App Store Button

    App Store Button

    458
  • HeroUI Button Group

    HeroUI Button Group

    2
  • Base Button

    Base Button

    4