---
title: "Glyph Dawn Background"
description: "A thin line of sunrise runs along the dark curve of a planet, set in type."
url: https://gelatinui.com/components/glyph-dawn-background
markdown_url: https://gelatinui.com/components/glyph-dawn-background.md
access: free
install: "npx shadcn@latest add @gelatin-ui/glyph-dawn-background"
registry_item: https://gelatinui.com/r/glyph-dawn-background.json
version: "2026-11-24"
index: https://gelatinui.com/llms.txt
docs_index: https://gelatinui.com/docs/llms.txt
---

# Glyph Dawn Background

> A thin line of sunrise runs along the dark curve of a planet, set in type.

Page: https://gelatinui.com/components/glyph-dawn-background

## When to use it

Best for: A launch hero that reads as a new day: sunrise runs along the dark curve of a planet.

- Use `crest` and `curve` for where the top of the planet sits and how big it is.
- Use `sun` and `sunAt` for how bright the sun is and where it sits on the line.
- Use `mask` (`top`, `bottom`, `edges`, or `radial`) to fade an edge into the page, and `maskSoftness` for the width of the fade.

## When not to use it

- For a black disc in a corona of type, use [Glyph Eclipse Background](https://gelatinui.com/components/glyph-eclipse-background.md).
- For an arch of light from the top edge, use [Glyph Arch Background](https://gelatinui.com/components/glyph-arch-background.md).

## Notes for agents

- Children sit on top of the moving picture. The root is `relative isolate overflow-hidden`: give it a height, or let a flex parent size it.
- `glyphSet` picks the glyphs: 0 letters, 1 binary, 2 blocks, 3 rings, 4 strokes, 5 waves, 6 katakana, 7 stars, 8 math, 9 arrows. `cell` sets the glyph height in px (8 to 28).
- `pointerLift` makes the light under the pointer brighter. It acts only while `pointer` is on.
- It stops off screen and in a hidden tab. `paused` holds the frame, and `speed={0}` shows a still frame.
- With no WebGL2 the box stays empty. Set `fallback` to show a CSS gradient of the palette there, on the server, and before the first frame.

## Anatomy

```text
GlyphDawnBackground
```

## API reference

### GlyphDawnBackground

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `palette` | `readonly string[]` | PALETTE | Any CSS colors (`var(--token)` too): the ground, the second ground, then the look colors. |
| `speed` | `number` |  | The time scale: 1 (default) is the designed speed, 0 a still frame. |
| `paused` | `boolean` |  | True holds the current frame. Default false. |
| `trigger` | `BackgroundTrigger` |  | When it moves: `loop` (default) or `hover`. It draws its first frame either way. |
| `seed` | `number` |  | Another seed gives another field of the same look. Default 0. |
| `press` | `boolean` |  | True: a press on the box sends a ripple through the field where it lands; a press on a button or a link inside does not. Default false. |
| `pointer` | `boolean` |  | True: the field leans toward a mouse or pen over the box. Default false. |
| `fps` | `number` |  | The most frames a second. Default: the display rate. |
| `resolution` | `number` |  | A last scale on the canvas pixels, after the caps (0.5 draws a quarter of them). Default 1. |
| `mask` | `"bottom" \| "edges" \| "none" \| "radial" \| "top"` |  | Fades an edge into the page: `radial`, `edges`, `top`, or `bottom`. Default `none`. |
| `vignette` | `number` |  | Darkens toward the corners, 0 to 1. Default 0. |
| `fallback` | `boolean` |  | True: a CSS gradient of the palette shows on the server, until the first WebGL frame, and with no WebGL. Default false: the box stays empty and the live picture fades in, because the gradient looks unlike the real effect and the swap reads as a glitch. |
| `crest` | `number` | 0.59 | How far down the top of the planet sits. From 0.3 to 0.9. Default 0.59. |
| `curve` | `number` | 1.36 | The radius of the planet, in box heights. From 0.7 to 3. Default 1.36. |
| `haze` | `number` | 0.17 | How high the light climbs into the sky. From 0.05 to 0.4. Default 0.17. |
| `sun` | `number` | 0.68 | How bright the sun on the line is. From 0 to 1. Default 0.68. |
| `sunAt` | `number` | -0.18 | Where the sun sits, from the middle of the box. From -0.8 to 0.8. Default -0.18. |
| `breath` | `number` | 0.1 | How much the haze swells and settles. From 0 to 0.3. Default 0.1. |
| `cell` | `number` | 13 | The height of one glyph cell, in px. From 8 to 28. Default 13. |
| `glyphSet` | `number` | 0 | The glyphs: 0 letters, 1 binary, 2 blocks, 3 rings, 4 strokes, 5 waves, 6 katakana, 7 stars, 8 math, 9 arrows. A whole number from 0 to 9. Default 0. |
| `glyphScale` | `number` | 1 | How large a glyph is inside its cell. From 0.5 to 1.6. Default 1. |
| `cellAspect` | `number` | 0.6 | The width of a cell against its height. From 0.45 to 1.2. Default 0.6. |
| `stagger` | `number` | 0 | How far every second row shifts sideways, in cells. From 0 to 1. Default 0. |
| `twinkle` | `number` | 0 | How much the glyphs shimmer over time. From 0 to 1. Default 0. |
| `pointerLift` | `number` | 0.35 | How much the pointer brightens the light under it. From 0 to 1. Default 0.35. |
| `glowStrength` | `number` | 0.92 | How strong the smooth light under the type is. From 0 to 1.2. Default 0.92. |
| `inkLift` | `number` | 0.2 | How far up the palette the type sits above the light. From 0 to 0.5. Default 0.2. |
| `inkFloor` | `number` | 0.05 | The tone under which a cell sets no glyph. From 0 to 0.4. Default 0.05. |
| `gaps` | `number` | 0.3 | How many cells drop out in loose patches. From 0 to 0.7. Default 0.3. |
| `gapDrift` | `number` | 0.18 | How fast the patches of dropped cells drift. From 0 to 1. Default 0.18. |
| `scatter` | `number` | 0.05 | How much each cell shifts its tone, so glyph bands break up. From 0 to 0.25. Default 0.05. |
| `bloom` | `number` | 0.55 | How strong the soft halo around each glyph is. From 0 to 1. Default 0.55. |
| `grain` | `number` | 0.045 | How strong the film grain is. From 0 to 0.2. Default 0.045. |
| `toneLow` | `number` | 0 | The field light that reads as no tone. From 0 to 1. Default 0. |
| `toneHigh` | `number` | 1 | The field light that reads as full tone. From 0 to 1. Default 1. |
| `maskSoftness` | `number` | 0.25 | The share of the box the mask fade takes, from 0.05 to 0.6. Default 0.25. |

## Styling

| Part | Slot | States | CSS variables | Tokens |
| --- | --- | --- | --- | --- |
| GlyphDawnBackground | `glyph-dawn-background` |  | `--glyph-dawn-bg`, `--glyph-dawn-bg-2`, `--glyph-dawn-color-1`, `--glyph-dawn-color-2`, `--glyph-dawn-color-3`, `--glyph-dawn-color-4` |  |

## Usage

Put the hero content inside as children: they sit on top of the moving picture. Give the root a height.

The sample also uses `button`, which this add does not write. One command adds them with this item:

```bash
npx shadcn@latest add @gelatin-ui/glyph-dawn-background @gelatin-ui/button
```

```tsx title="glyph-dawn-hero.tsx"
import { GlyphDawnBackground } from "@/components/backgrounds/glyph-dawn-background";
import { Button } from "@/components/ui/button";

export function GlyphDawnHero() {
  return (
    <GlyphDawnBackground
      sunAt={0}
      className="flex h-[560px] flex-col items-center justify-start pt-24 gap-6 px-6 text-center"
    >
      <p className="text-sm text-muted-foreground">Version 3.0</p>
      <h1 className="max-w-2xl text-5xl font-light tracking-tight">
        A new day for your team
      </h1>
      <p className="max-w-md text-muted-foreground">
        Plans, docs, and chat in one calm place.
      </p>
      <Button size="lg">See what is new</Button>
    </GlyphDawnBackground>
  );
}
```

## Compose

Rules:

- Compose the parts (`compose-parts`): Build each item from its named parts as children, and pass your text and icons in as parts.
- Every state is designed (`every-state`): Give each view of data its loading, empty, and error states: a skeleton in the final layout, an `Empty` with an illustration and one next action, and an error that says what failed and how to retry.

## Add it

```bash
npx shadcn@latest add @gelatin-ui/glyph-dawn-background
```

It adds 52 registry items: 52 files, 8132 lines, and the npm packages `@base-ui/react`, `@mantine/hooks`, `clsx`, `motion`, `tailwind-merge`.

## For AI agents

- Every item, one file: https://gelatinui.com/llms.txt
- MCP server (`search_items`, `get_item`, `get_install_plan`): https://gelatinui.com/mcp

## Related

- [Glyph Eclipse Background](https://gelatinui.com/components/glyph-eclipse-background.md)
- [Glyph Arch Background](https://gelatinui.com/components/glyph-arch-background.md)
- [Spiral Galaxy Background](https://gelatinui.com/components/spiral-galaxy-background.md)

## Motion

| Part | Motion |
| --- | --- |
| Show | chart · 600ms · ease-panel · the picture fades in after its first drawn frame |
| Loop | progress · the picture moves on its own clock at one speed; `speed` scales it, and 0 shows a still frame |
