Skip to Content
Kokonut UI

TX-09TextsNew, October 21, 2026

Shadow Text

A headline that works as a sundial. Each letter casts a long, soft shadow set by the reader's clock, and bringing the pointer close turns it into a lamp.

Install with
no extra packages

PROKinetic Type Hero and more like it are in Kokonut UI Pro

Installation

Shadow Text is a free, open-source React component in the Kokonut UI Texts collection. Add it with the shadcn CLI, which copies the source into components/kokonutui/shadow-text.tsx, so the code is yours to change.

npx shadcn@latest add @kokonutui/shadow-text

Usage

import ShadowTextDemo from "@/components/kokonutui/shadow-text";

export default function Example() {
  return <ShadowTextDemo />;
}

Dependencies

NeedsVersionComes from
cn from lib/utils.tsshadcn init
React19Your app
Tailwind CSS4Your app

No provider, font or global CSS to set up: the file works as soon as it lands.