LiveStrokeGitHub

Animated gradient borders for React. Wrap any component with a single line.

LiveStroke decorates your existing components with animated gradient borders—no redesign, no custom CSS.

Use Cases

searchWhat are you looking for?
terminalAccess Interactive Demo
info

Installation

npm install live-stroke

Usage

import { LiveStroke } from "live-stroke";

<LiveStroke>
    <YourButton>Content</YourButton>
</LiveStroke>

Playground

Text goes here
Stroke Size
SmMdLg
Speed
SlowNormalFast
Opacity
Shadow
<LiveStroke strokeSize="md" speed="normal" opacity={100} shadow>
  <button>Text goes here</button>
</LiveStroke>