Hero Ui

Input

Forms 2

About

Primitive single-line text input that accepts standard HTML attributes.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Input to your project and fits it to your theme.

Code

How Input is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { Input, Surface } from "@/components/ui/heroui-input"

export default function Demo() {
  return (
    <Surface className="flex h-[180px] w-[280px] items-center justify-center rounded-3xl bg-surface p-4">
      <Input className="w-full" placeholder="Your name" variant="secondary" />
    </Surface>
  )
}

Dependencies

More by Hero Ui

View all
  • DatePicker

    DatePicker

    468
  • Chip

    Chip

    444
  •  The Pagination

    The Pagination

    364
  • HeroUI Table

    HeroUI Table

    115
  • HeroUI Color Picker

    HeroUI Color Picker

    108
  • Skeleton

    Skeleton

    105
  • HeroUI Disclosure Group

    HeroUI Disclosure Group

    95
  • HeroUI AlertDialog

    HeroUI AlertDialog

    81

More in Forms

View all
  • Premium Auth

    Premium Auth

    532
  • Contact Card

    Contact Card

    1K
  • Book A Demo 1

    Book A Demo 1

    77
  • Login Card

    Login Card

    29
  • Login 2

    Login 2

    8
  • Card Studio

    Card Studio

    43
  • Form

    Form

    17
  • Split Sign In Form

    Split Sign In Form

    76