Diar Muradi

Pill Button

Buttons 2

About

A rounded, glossy pill-shaped button built on Base UI with size variants for primary actions and icon buttons.

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

Code

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

Usage.tsx

import { PillButton } from "@/components/ui/pill-button";

export default function PillButtonDemo() {
  return (
    <div className="flex min-h-[200px] w-full items-center justify-center gap-4 p-10">
      <PillButton size="sm">Follow</PillButton>
      <PillButton>Get Started</PillButton>
      <PillButton size="lg">Subscribe</PillButton>
    </div>
  );
}

Dependencies

More by Diar Muradi

View all
  • Toggleable Add-on Pricing

    Toggleable Add-on Pricing

    206
  • Split Sign In Form

    Split Sign In Form

    122
  • Toggle Pricing Cards

    Toggle Pricing Cards

    93
  • ROI Pricing Calculator

    ROI Pricing Calculator

    63
  • Pricing With FAQ

    Pricing With FAQ

    55
  • Sign Up Split Panel

    Sign Up Split Panel

    54
  • Logo Orbit

    Logo Orbit

    50
  • Volume Pricing Card

    Volume Pricing Card

    41

More in Buttons

View all
  • Texture Button

    Texture Button

    108
  • Button

    Button

    14
  • Notification Button

    Notification Button

    117
  • HeroUI Button Group

    HeroUI Button Group

    2
  • Eclipse Button

    Eclipse Button

    44
  • Button Save

    Button Save

    50
  • App Store Button

    App Store Button

    484
  • Base Button

    Base Button

    1