Diar Muradi

Pill Button

Buttons

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

    154
  • Toggle Pricing Cards

    Toggle Pricing Cards

    78
  • ROI Pricing Calculator

    ROI Pricing Calculator

    49
  • Pricing With FAQ

    Pricing With FAQ

    43
  • Sign Up Split Panel

    Sign Up Split Panel

    40
  • Volume Pricing Card

    Volume Pricing Card

    31
  • Logo Orbit

    Logo Orbit

    27
  • Sticky Header Navbar

    Sticky Header Navbar

    19

More in Buttons

View all
  • Button Save

    Button Save

    46
  • Button

    Button

    20
  • Eclipse Button

    Eclipse Button

    5
  • Button

    Button

    32
  • Button

    Button

    6
  • Button

    Button

    14
  • Button Group

    Button Group

    37
  • Split Button

    Split Button

    32