Origin UI

Button

Buttons 52

About

Enhanced shadcn/ui button

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

Code

How Button 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 { ChevronDown } from "lucide-react";

function Component() {
  return (
    <Button variant="ghost" className="h-auto p-0 hover:bg-transparent">
      <img
        className="rounded-full"
        src="https://cdn.21st.dev/assets/localized/fa446a3d6da96ecd1ffcd8d47341e006a2bae57c497e0563510b316bb2e3472e.jpg"
        alt="Profile image"
        width={40}
        height={40}
        aria-hidden="true"
      />
      <ChevronDown
        size={16}
        strokeWidth={2}
        className="ms-2 opacity-60"
        aria-hidden="true"
      />
    </Button>
  );
}

export { Component };

export default Component;

Dependencies

More by Origin UI

View all
  • Dialog

    Dialog

    1.2K
  • Avatar

    Avatar

    973
  • useImageUpload

    useImageUpload

    932
  • usePagination

    usePagination

    628
  • Popover

    Popover

    384
  • Command

    Command

    328
  • Calendar [React Day Picker]

    Calendar [React Day Picker]

    265
  • Accordion

    Accordion

    260

More in Buttons

View all
  • Texture Button

    Texture Button

    97
  • Button

    Button

    5
  • Button Group

    Button Group

  • Eclipse Button

    Eclipse Button

    39
  • Button

    Button

    4
  • HeroUI Button Group

    HeroUI Button Group

  • App Store Button

    App Store Button

    458
  • Base Button

    Base Button

    4