Diar Muradi

Pill Button

Buttons 3

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

    212
  • Split Sign In Form

    Split Sign In Form

    128
  • Toggle Pricing Cards

    Toggle Pricing Cards

    103
  • ROI Pricing Calculator

    ROI Pricing Calculator

    70
  • Sign Up Split Panel

    Sign Up Split Panel

    59
  • Pricing With FAQ

    Pricing With FAQ

    58
  • Logo Orbit

    Logo Orbit

    51
  • Volume Pricing Card

    Volume Pricing Card

    41

More in Buttons

View all
  • Button

    Button

    20
  • Button

    Button

    3
  • Button Group

    Button Group

    18
  • Button

    Button

    149
  • Icon Label Subtext Button

    Icon Label Subtext Button

    69
  • Button

    Button

    9
  • Button

    Button

    37
  • Texture Button

    Texture Button

    113