Skip to content

    Browse components

    Extrude Type

    Chunky extruded 3D lettering built from stacked layers that tilts toward the pointer and sways gently when idle.

    Open
    Customize

    Installation

    npx shadcn@latest add @glint-ui/extrude-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/extrude-type.json

    Usage

    import { ExtrudeType } from "@/components/ui/extrude-type";
    
    <ExtrudeType text="DEPTH" layers={16} className="text-8xl font-black" />

    Props

    PropTypeDefaultDescription
    textstring"DEPTH"Text to extrude.
    layersnumber20Number of stacked copies forming the extrusion.
    depthnumber3Gap between copies, in px.
    maxTiltnumber24Maximum tilt toward the pointer, in degrees.
    colorstring"#ecfccb"Front face color.
    depthColorstring"#1a2e05"Color of the deepest layer.
    classNamestring—Extra classes for the root element.