# Line-by-line Rise

> Each wrapped line rises into place in turn.

## Spec sheet

| | |
| --- | --- |
| Access | Free: no account, free for commercial use |
| Shelf | Text Animations › Entrances |
| Live preview | https://uibrik.com/components/line-rise |
| Writes | 1 file into `components/uibrik/line-rise/` |
| Packages | `@chenglou/pretext`, `motion` (the CLI installs them) |
| Needs | React 19, Tailwind CSS v4, a project set up with `npx shadcn@latest init` |
| Theme | Reads the shadcn tokens and follows class-based dark mode ([theming](https://uibrik.com/docs/theming.md)) |
| Updated | Nov 9, 2026 |

## Add it

```bash
npx shadcn@latest add https://uibrik.com/r/line-rise.json
```

With the `@uibrik` namespace in `components.json` ([setup](https://uibrik.com/docs/installation.md)): `npx shadcn@latest add @uibrik/line-rise`.

Can't run commands? https://uibrik.com/components/line-rise/prompt.txt has every file verbatim, with the setup steps, ready for an assistant to write.

## Render it

Renders as is; every value shown is the default, so delete any line you don't need.

```tsx
import { LineRise } from "@/components/uibrik/line-rise/line-rise";

const text = "Good interfaces reveal themselves one line at a time.";

<LineRise
  play={0}
  text={text}
  duration={0.45}
  stagger={0.08}
/>
```

## Tune it

The same props as the Customize panel on https://uibrik.com/components/line-rise.

| Prop | Type | Default | What it does |
| --- | --- | --- | --- |
| `text` | `string` | `"Good interfaces reveal themselves one line at a time."` | The copy to animate. |
| `duration` | `number` | `0.45` | Time for each line to rise. |
| `stagger` | `number` | `0.08` | Delay between lines. |

## Wire it

The props the Customize panel doesn't show: ranges, data, content and callbacks.

| Prop | Type | Default | What it does |
| --- | --- | --- | --- |
| `play` (required) | `number` |  | Each change plays the effect again; 0 shows its resting state. |

## Where it fits

- **Long hero taglines**: Each wrapped line rising in turn keeps a two- or three-line headline readable as it enters.
- **Section intros**: Line-by-line entrances give paragraph-length intros rhythm on scroll. Pairs with [Fade In Left to Right](https://uibrik.com/components/fade-left-to-right.md).
- **Editorial openings**: Rising lines suit articles and blog posts that open with a statement.

## Same shelf: Entrances

- [Outline then Fill](https://uibrik.com/components/outline-fill.md): Letters are drawn as outlines, then filled in.
- [Plucked Curve](https://uibrik.com/components/plucked-curve.md): Text rides a curve that wobbles like a plucked string.
- [Ripple to Still](https://uibrik.com/components/ripple-to-still.md): Text ripples like water, then settles.
- [Scramble Text](https://uibrik.com/components/scramble-text.md): Letters resolve from random characters out of a soft blur, one after another.
- [Scroll to Highlight](https://uibrik.com/components/scroll-highlight.md): Words light up as you scroll past them.
- [Tracking In](https://uibrik.com/components/tracking-in.md): Lines open with a wide gap after every letter, and the gaps close one by one until the text settles.

## Ground rules

- Only the props above exist. To change anything else, edit the installed file.
- Keep the files in `components/uibrik/line-rise/` so the import paths keep resolving.
- The playbook for working with the whole library: https://uibrik.com/llms.txt
