Gradient
The token-driven per-severity gradient system — one background-image variable per severity (color.gradient.<severity>.from/via/to in @idinstudio/tokens), consumed by Button, Badge, and GradientText's variant="gradient"/severity, plus the raw bg-gradient-*/text-gradient-* utilities directly. direction sets data-gradient-dir, which reassigns the shared --gradient-angle var — default is to-br (135deg).
Badge — variant="gradient"
Same token-driven diagonal, sized for an inline pill label. No direction prop — Badge always paints the default to-br diagonal. Severity list is one shorter than Button/GradientText: no gradient.help compound variant is defined.
GradientText
Inline text filled with the same per-severity diagonal via background-clip: text. `as` picks the semantic element (defaults to span) independently of the gradient fill; direction shares the exact same contract as Button/Badge.
Ship faster.
Ship faster.
Ship faster.
Ship faster.
Ship faster.
Ship faster.
Ship faster.
Ship faster.
to-r
to-br
to-b
to-bl
to-l
to-tl
to-t
to-tr
bg-gradient-* / text-gradient-* utilities
The underlying Tailwind theme utilities every component above resolves to — reach for these directly on a bare element (a hero panel, a section background) when no component wraps the case you need. Both share the same --background-image-gradient-<severity> var, so they never drift apart.
primaryThe quick brown foxsecondaryThe quick brown foxsuccessThe quick brown foxinfoThe quick brown foxwarningThe quick brown foxdangerThe quick brown foxneutralThe quick brown fox