Diar Muradi

Pill Button

Buttons 4

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

    223
  • Split Sign In Form

    Split Sign In Form

    145
  • Toggle Pricing Cards

    Toggle Pricing Cards

    111
  • ROI Pricing Calculator

    ROI Pricing Calculator

    75
  • Sign Up Split Panel

    Sign Up Split Panel

    64
  • Pricing With FAQ

    Pricing With FAQ

    61
  • Logo Orbit

    Logo Orbit

    54
  • Volume Pricing Card

    Volume Pricing Card

    42

More in Buttons

View all
  • Button

    Button

    165
  • Texture Button

    Texture Button

    119
  • Native Button

    Native Button

    15
  • Button

    Button

    86
  • Button Group

    Button Group

    4
  • Figma File Button

    Figma File Button

    39
  • Great UI Button

    Great UI Button

    19
  • Button

    Button

    8