Origin UI

Button

Buttons 30

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 { FlipHorizontal, FlipVertical } from "lucide-react";

function Component() {
  return (
    <div className="inline-flex -space-x-px rounded-lg shadow-sm shadow-black/5 rtl:space-x-reverse">
      <Button
        className="rounded-none shadow-none first:rounded-s-lg last:rounded-e-lg focus-visible:z-10"
        variant="outline"
        size="icon"
        aria-label="Flip Horizontal"
      >
        <FlipHorizontal size={16} strokeWidth={2} aria-hidden="true" />
      </Button>
      <Button
        className="rounded-none shadow-none first:rounded-s-lg last:rounded-e-lg focus-visible:z-10"
        variant="outline"
        size="icon"
        aria-label="Flip Vertical"
      >
        <FlipVertical size={16} strokeWidth={2} aria-hidden="true" />
      </Button>
    </div>
  );
}

export { Component };

Dependencies

More by Origin UI

View all
  • Dialog

    Dialog

    1.3K
  • Avatar

    Avatar

    1K
  • useImageUpload

    useImageUpload

    954
  • usePagination

    usePagination

    638
  • Popover

    Popover

    390
  • Command

    Command

    348
  • Calendar [React Day Picker]

    Calendar [React Day Picker]

    273
  • Accordion

    Accordion

    270

More in Buttons

View all
  • Button

    Button

    16
  • Texture Button

    Texture Button

    110
  • Button Group

    Button Group

  • Button

    Button

    137
  • Button

    Button

    37
  • Eclipse Button

    Eclipse Button

    44
  • Astryx Chat Send Button

    Astryx Chat Send Button

    3
  • Random Letter Swap CTA Buttons

    Random Letter Swap CTA Buttons

    62