Origin UI

Input

Buttons 11

About

Upgaraded shadcn/ui Input

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 { Button } from "@/components/ui/button";
import { Input } from "@/components/ui/input";
import { Label } from "@/components/ui/label";
import { useId } from "react";

function Component() {
  const id = useId();
  return (
    <div className="space-y-2 min-w-[300px]">
      <Label htmlFor={id}>Input with button</Label>
      <div className="flex gap-2">
        <Input id={id} className="flex-1" placeholder="Email" type="email" />
        <Button variant="outline">Send</Button>
      </div>
    </div>
  );
}

export { Component };

More by Origin UI

View all
  • Dialog

    Dialog

    1.3K
  • Avatar

    Avatar

    1K
  • useImageUpload

    useImageUpload

    955
  • usePagination

    usePagination

    639
  • Popover

    Popover

    390
  • Button

    Button

    385
  • Command

    Command

    348
  • Calendar [React Day Picker]

    Calendar [React Day Picker]

    273

More in Buttons

View all
  • Button

    Button

    18
  • Texture Button

    Texture Button

    110
  • Eclipse Button

    Eclipse Button

    45
  • Astryx Chat Send Button

    Astryx Chat Send Button

    4
  • Button Group

    Button Group

  • Button

    Button

    140
  • Button

    Button

    37
  • Random Letter Swap CTA Buttons

    Random Letter Swap CTA Buttons

    63