Gradient Ink

A two-tone headline treatment with forced-colour fallback.

Installation

pnpm dlx shadcn@latest add @ward/gradient-ink

Add the Ward registry to components.json once:

"registries": {
  "@ward": "https://ward.so/r/{name}.json"
}

Or install from the URL with no configuration: npx shadcn@latest add https://ward.so/r/gradient-ink.json

Usage

import GradientInk from "@/components/ward/GradientInk";
<GradientInk variant="Cool" />

Props

PropTypeDefaultDescription
variant"Warm" | "Cool""Warm"Colour palette of the gradient applied to the text.

Ward · Version 1.0.0 · Registry manifest