Button Border Beam
UnlimitedA comet of light laps the button's border on a loop, with a soft halo that follows the head of the beam.
buttonborderbeamglowloop
Installation
Run the shadcn CLI in a project with Tailwind CSS. The component lands in components/pixelpapa/button-border-beam.tsx. This is an Unlimited component, so the CLI needs your API key: set it up once, then install it by name.
Build it with AI
Prefer to let an agent do the wiring? Copy this prompt, describe where the component should go, and paste.
More buttons
- Button 3D PressA raised key with a real edge and cast shadow: it lifts slightly on hover, sinks hard on press and bounces back on release.
- Button Async StatesRuns a promise and morphs through idle, a collapsed spinner, then a success or error label, animating its width between each.
- Button Confetti BurstThrows a fan of DOM confetti from the exact point you clicked; pieces arc up, tumble and fall under gravity. No canvas.
- Button Copy FeedbackCopies a value to the clipboard, then swaps its icon for a drawn check and rolls the label to "Copied" before settling back.
- Button Gradient Border GlowA flowing gradient outline with a blurred twin underneath; the glow brightens on hover and leans toward the cursor.
- Button Group SegmentedA segmented control whose pill stretches like jelly: its leading edge races ahead and the trailing edge catches up on a softer spring.