Neon Stroke Button

SVG stroke draws around on hover.

Try it: Hover — neon stroke draws the rim.

Installation

Install with the shadcn CLI:

npx shadcn@latest add https://www.framekitui.live/r/neon-stroke-button.json

Or, with the @framekit namespace registered: npx shadcn@latest add @framekit/neon-stroke-button. You can also copy the source into components/ui/neon-stroke-button.tsx (view on GitHub).

Usage

import { NeonStrokeButton } from '@/components/ui/neon-stroke-button'
  • Loop Flight Send Button

    The pill folds into a circle, the paper plane launches right and writes a looping cursive trail around the button — holding in orbit while the request is pending — then glides back in from the left…

  • Gravity Drop Button

    Icon falls in with a bounce on hover.

  • Dispatch Truck Button

    Order pill stretches into a road; a parcel thumps onto a courier flatbed that drives off before a green confirmation pops in.

  • Split Reveal Button

    Face splits open to reveal the label.

  • Drop-In Cart Button

    Pill tucks into a cart, a box springs into the basket, the cart rolls away and back while the badge and counter pop.

  • Liquid Fill Button

    Liquid rises to fill on hover or press.

See all 24 Buttons components