Border Beam Button
Animated border beam CTA with dual-layer glow, reduced-motion fallback, and variant support.
Interactive preview · desktop · dark
Installation
Installation is available on the Startup and Business plans. Your personal install command appears here once you have access.
Usage
Import it, pass your props, and make it part of your product.
example.tsx
import { ButtonWithBorderBeam } from '@/components/component-kit/items/button-with-border-beam';
export function Example() { return ( <ButtonWithBorderBeam>Explore the kit</ButtonWithBorderBeam> );}Props
| Prop | Type | Default | Description |
|---|---|---|---|
size | "sm" | "default" | "lg" | default | Pill height: 28, 32 or 36px. |
paused | boolean | false | Pause the moving border highlight. |
href | string | — | Render as a link to this URL while keeping the beam. |