BadtzUIBeta
Docs
Gradient Slide Button

Gradient Slide Button

A dynamic and stylish button that reveals a vibrant gradient as you hover over it.

Installation

pnpm dlx shadcn@latest add to-setup

Usage

import { GradientSlideButton } from "@components/ui/gradient-slide-button";
<GradientSlideButton className="rounded-3xl">Hover me</GradientSlideButton>

Props

gradient-slide-button props.

PropTypeDescriptionDefault
childrenReact.ReactNodeThe content inside the button.(required)
classNamestringAdditional custom classes for styling.-
colorFromstringThe starting color of the gradient effect."#F54900"
colorTostringThe ending color of the gradient effect."#FF8904"
Blur RevealStar Button