Gradient Headings
Svelte ComponentGenerate a gradient-colored heading with customizable tag and gradient direction.
Import
Package
Source
Docs
Examples
Skeleton
Usage
You are advised to use semantic heading tags (H1-H6). However, an explicit ARIA attribute of role="heading"
has been applied.
<GradientHeading tag="h1" direction="bg-gradient-to-r" from="from-primary-500" to="to-accent-500">Skeleton</GradientHeading>