kevingirelli

Dash Button

Buttons 6

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
  • QR Code

    QR Code

    115
  • Aurora

    Aurora

    106
  • FAQ Section

    FAQ Section

    65
  • Animated Border

    Animated Border

    58
  • Warp Gradient

    Warp Gradient

    57
  • Wave Text

    Wave Text

    51
  • Corner Frame

    Corner Frame

    47
  • Spotlight

    Spotlight

    38

More in Buttons

View all
  • App Store Button

    App Store Button

    471
  • Texture Button

    Texture Button

    101
  • Button

    Button

    14
  • Button

    Button

    8
  • Button

    Button

    66
  • Native Button

    Native Button

    7
  • Button Group

    Button Group

  • Button

    Button

    75