Introducing Nuvyx UI v1.0.0

Docs
Gradient Button

Gradient Button

Modern buttons with stunning gradient effects, animations and customizable themes.

Installation

Usage

import { GradientButton } from "@/components/ui/gradient-button";
// Basic usage with default theme
<GradientButton>Click Me</GradientButton>
 
// Different variants and themes
<GradientButton variant="pulse" theme="ocean">
  Ocean Pulse
</GradientButton>
 
<GradientButton variant="sweep" theme="forest" size="lg">
  Forest Sweep
</GradientButton>
 
<GradientButton variant="shine" theme="neon">
  Neon Shine
</GradientButton>
 
// Custom gradient
<GradientButton
  variant="outline"
  theme="custom"
  customGradient="linear-gradient(45deg, #ff6b6b, #6b47ff)"
>
  Custom Gradient
</GradientButton>

Props

PropTypeDefaultDescription
variantstring"glow"Button animation and style variant (glow, pulse, sweep, shine, outline)
sizestring"md"Button size (xs, sm, md, lg, xl)
themestring"sunset"Pre-defined gradient theme (sunset, ocean, forest, neon, berry, custom)
customGradientstringundefinedCustom gradient CSS for use with theme='custom'
classNamestring""Additional CSS classes to apply
childrenstring""Button text