Skip to main content

GradientTextProps

Stock Screening Platform - Frontend API v0.1.0


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

Interface: GradientTextProps

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

GradientText Props

Properties

children

children: ReactNode

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

Text content to render with gradient


gradient?

optional gradient: GradientPreset

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

Gradient preset to use

Default

'premium'

customGradient?

optional customGradient: string

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

Custom gradient class (only used with gradient='custom')

Example

'bg-gradient-to-r from-pink-500 to-purple-500'

className?

optional className: string

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

Text size/weight classes

Example

'text-2xl font-bold'

animated?

optional animated: boolean

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

Apply animation on hover

Default

false