# 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 Agentbunnpmpnpm

Open in Code

› Add the shadow-text component from Kokonut UI to this project with `npx shadcn@latest add https://kokonutui.com/r/shadow-text.json`, then show me how to use it.

no extra packages

## Golden hour, every day. Golden hour, every day.

Lumen tells you when the light is best for photos near you, down to the minute, and where to stand when it comes.

[Get Lumen](/content/docs/texts/shadow-text#get/index.html)

Shadows set for 7:28 AM

## Installation

Shadow Text is a free, open-source React component in the Kokonut UI [Texts collection](/content/docs/texts/index.html). Add it with the shadcn CLI, which copies the source into `components/kokonutui/shadow-text.tsx`, so the code is yours to change.

Copy Text

```
npx shadcn@latest add @kokonutui/shadow-text
```

## Usage

Copy Text

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

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

## Dependencies

| Needs | Version | Comes from |
| --- | --- | --- |
| `cn` from `lib/utils.ts` |  | shadcn init |
| React | `19` | Your app |
| Tailwind CSS | `4` | Your app |

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

[Marker Text](/content/docs/texts/marker-text/index.html)\
\
Hand-drawn highlights, underlines, circles, boxes and strikes that draw themselves in reading order when the text comes into view.  
[Split Flap Text](/content/docs/texts/split-flap-text/index.html)\
\
Departure-board lettering for headlines and status lines. Each tile flips only as far as its new letter, on a hinge, a beat after its neighbour.
