BT-03Buttons
Gradient Button
Layered gradient button with emerald, purple and orange variants, a gradient border, a soft inner glow, press feedback and an optional icon.
no extra packages
PROPay Button and more like it are in Kokonut UI Pro
Installation
Gradient Button is a free, open-source React component in the Kokonut UI Buttons collection. Add it with the shadcn CLI, which copies the source into components/kokonutui/gradient-button.tsx, so the code is yours to change.
npx shadcn@latest add @kokonutui/gradient-buttonUsage
import GradientButton from "@/components/kokonutui/gradient-button";
export default function Example() {
return <GradientButton label="Gradient Button" />;
}Props
childrenReactNodeButton content. Takes precedence over label.
labelstringDefault "Welcome"Fallback text when no children are passed.
iconReactNodeOptional icon rendered before the text (e.g. a lucide-react icon).
variantGradientButtonVariantDefault "emerald"Color theme.
Also takes every prop of Omit<ComponentProps<"button">, "children">.
GradientButtonVariant
type GradientButtonVariant = "emerald" | "purple" | "orange";Dependencies
| Needs | Version | Comes from |
|---|---|---|
button | shadcn/ui, added by the CLI | |
cn from lib/utils.ts | shadcn init | |
| React | 19 | Your app |
| Tailwind CSS | 4 | Your app |
No provider, font or global CSS to set up: the file works as soon as it lands.

