Skip to main content

GradientButtonProps

Stock Screening Platform - Frontend API v0.1.0


Stock Screening Platform - Frontend API / design-system/components/GradientText / GradientButtonProps

Interface: GradientButtonProps

Defined in: src/design-system/components/GradientText.tsx:166

GradientButton Component

Button with gradient background (not text)

Example

<GradientButton gradient="premium" onClick={() => {}}>
Upgrade to Pro
</GradientButton>

Extends

  • ButtonHTMLAttributes<HTMLButtonElement>

Properties

gradient?

optional gradient: GradientPreset

Defined in: src/design-system/components/GradientText.tsx:171

Gradient preset


customGradient?

optional customGradient: string

Defined in: src/design-system/components/GradientText.tsx:176

Custom gradient class


size?

optional size: "sm" | "md" | "lg"

Defined in: src/design-system/components/GradientText.tsx:181

Button size