Saurabh Sharma

Great UI Button

Buttons 19

About

A versatile button component supporting multiple variants, sizes, icons, and a loading state.

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

Code

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

Usage.tsx

import Button from "@/components/ui/great-ui-button"

export default function ButtonPreview() {
  return (
    <div className="flex flex-wrap items-center justify-center gap-4 p-6">
      <Button variant="primary">Primary</Button>
      <Button variant="secondary">Secondary</Button>
      <Button variant="outline">Outline</Button>
      <Button variant="ghost">Ghost</Button>
      <Button variant="destructive">Destructive</Button>
      <Button variant="primary" isLoading>
        Loading
      </Button>
    </div>
  )
}

More by Saurabh Sharma

View all
  • Great UI Diagonal Marquee Carousel

    Great UI Diagonal Marquee Carousel

    847
  • Great UI Macbook Mockup

    Great UI Macbook Mockup

    254
  • Great UI Mobile Mockup

    Great UI Mobile Mockup

    208
  • Great UI Vinyl Album Card

    Great UI Vinyl Album Card

    161
  • Great UI Animated Select

    Great UI Animated Select

    101
  • Great UI Deployment Checklist

    Great UI Deployment Checklist

    83
  • Great UI Revision Timeline

    Great UI Revision Timeline

    82
  • Great UI Terminal Loader

    Great UI Terminal Loader

    68

More in Buttons

View all
  • Texture Button

    Texture Button

    115
  • Button

    Button

    157
  • Random Letter Swap CTA Buttons

    Random Letter Swap CTA Buttons

    67
  • Icon Label Subtext Button

    Icon Label Subtext Button

    71
  • Icon Button

    Icon Button

    8
  • Button

    Button

    2
  • Hero Button

    Hero Button

    25
  • Button

    Button

    54

Explore more

Part of Great UI — browse the full library on 21st.dev.