Command Palette

Search for a command to run...

0GitHub stars
Components

Shimmer Button

A refined specular border-shimmer button with smooth rotating edge highlight, crisp dark/light surfaces, and reduced-motion support.

Loading…

Features

  • Specular conic-gradient border sweep with configurable shimmerDuration.
  • Two surface variants ("default" and "subtle") with crisp dark and light mode contrast.
  • Full native <button> props forwarding via React.forwardRef, tactile press feedback, and motion-reduce:animate-none.

Use cases

  • Primary hero call-to-action buttons and waitlist triggers.
  • Subtle spotlight actions in cards, dialogs, and pricing tiers.

Installation

pnpm dlx shadcn@latest add @abushaidislam/shimmer-button

Usage

import { ShimmerButton } from "@/components/shimmer-button"
<ShimmerButton shimmerDuration={3} variant="default">
  Launch Component Studio
</ShimmerButton>

API reference

ShimmerButton

Prop

Type

License and usage

  • Free to use and modify in both personal and commercial projects.
  • Attribution is appreciated but not required.
  • Released under the MIT License.

Was this helpful?

Command Palette

Search for a command to run...