Skip to content

    Browse components

    Tint Type

    Text filled with a slowly flowing multi-stop gradient.

    Gradient text
    Open
    Customize

    Installation

    npx shadcn@latest add @glint-ui/tint-type

    First time using @glint-ui? Add the registry to components.json once, or install by URL: npx shadcn@latest add https://glintui.vercel.app/r/tint-type.json

    Usage

    import { TintType } from "@/components/ui/tint-type";
    
    <TintType text="Gradient text" colors={["#c6ff3d", "#22d3ee", "#c6ff3d"]} />

    Props

    PropTypeDefaultDescription
    textstring"Gradient text"Text to render.
    colorsstring[]["#c6ff3d","#22d3ee","#a78bfa","#c6ff3d"]Gradient stops. Repeat the first color last for a seamless loop.
    speednumber6Seconds per cycle.
    classNamestring—Extra classes for the root element.