kevingirelli

Dash Button

Buttons 8

About

A pill-shaped button that trades its solid fill for a marching dashed outline on hover and keyboard focus.

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

Code

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

Usage.tsx

import { DashButton } from "@/components/ui/dash-button";

export default function DashButtonDemo() {
  return (
    <div className="flex min-h-[200px] w-full items-center justify-center">
      <DashButton>Plot a course</DashButton>
    </div>
  );
}

Dependencies

More by kevingirelli

View all
  • Aurora

    Aurora

    131
  • QR Code

    QR Code

    128
  • FAQ Section

    FAQ Section

    79
  • Animated Border

    Animated Border

    73
  • Warp Gradient

    Warp Gradient

    63
  • Corner Frame

    Corner Frame

    59
  • Wave Text

    Wave Text

    56
  • Spotlight

    Spotlight

    47

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