GradientBorderBox Component Demo

Config Sandbox — Adjust All Parameters Live

Live Preview

Tweak the controls on the right; the border and animation respond instantly.

Default Style

My Hobby

Reading is my favorite hobby. Every evening after finishing my homework, I dive into a storybook. Books open up wonderful worlds for me — I get to know different people and visit beautiful places. Whenever I feel tired or down, reading always relaxes and cheers me up.

Custom Gradient Colors

Custom Colors

This card uses a custom gradient palette: purple, pink, and blue. You can change the colors via the gradient-colors attribute.

Different Sizes

Compact Size

Smaller border width and corner size. The animation is also slower (2 seconds per revolution).

Paused Initial State

Paused State

This component starts with the animation paused. Use the button below to control the animation.

Product Card

Product Card

A product card with an animated flowing gradient border

Input Border Effect

Dark Theme

Night Mode

Set the content background via the CSS variable --gradient-border-bg and pair it with cool-tone gradients for a perfect dark-mode look.

Dashboard Stats

2,847
Active Users
94.2%
Uptime
128
Pending

User Profile Card

A

Alex Chen

Senior Frontend Engineer · Open Source Enthusiast

React / Vue / Web Components enthusiast, focused on UI component library design and performance optimization.

Status Notifications

Deployment successful: v2.4.1 deployed to production
Maintenance window: next at 02:00 UTC
Disk usage at 85%, consider cleaning up logs
API timeout: response exceeded 5s threshold

Tech Tags

Vue.js React TypeScript Node.js Docker Webpack