# Line Slide

Multi-line statement where each line slides up from behind a mask, one line after another.

```bash
npx shadcn add https://www.reelcn.dev/r/line-slide.json
```

Usage:

```tsx
<Center>
  <LineSlide text={"Write the script.\nRender the story."} align="left" />
</Center>
```

Use for:

- Two- or three-line statements, with lines separated by "\n"
- Manifesto-style sequences and closing statements

Avoid:

- A single word or name. Use `char-rise`


## Props

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| font? | `"mono" \| "heading" \| "body"` | — |  |
| delay? | `number` | — | Frames to wait before entering. |
| duration? | `number` | — | Enter duration in frames. Defaults to 0.6s. Some items reuse `duration` for an unrelated local timing. See that item's own prop docs. |
| exit? | `number \| boolean` | — | Exit at the end of the parent `<Sequence>`. `false` keeps it on screen, a number sets the exit length in frames. |
| motion? | `MotionPersonality` | — | Override the theme's motion personality. |
| poster? | `boolean` | — | Renders fully entered, with no exit: for a still frame or thumbnail. Defaults to `false`. |
| holdFrames? | `number` | — | Delays the start of the exit window by this many frames, for a minimum on-screen hold. Defaults to `0`. |
| stagger? | `number` | — | Frames between units. Defaults at 30fps: char 1, word 2, line 5. |
| style? | `CSSProperties` | — |  |
| className? | `string` | — |  |
| text | `string` | — |  |
| size? | `number` | — | Font size in design units. |
| weight? | `number` | — |  |
| color? | `string` | — |  |
| accentColor? | `string` | — |  |
| accentWords? | `string[]` | — | Words painted in the accent color. Case and punctuation are ignored. |
| align? | `"left" \| "right" \| "center"` | — |  |
| from? | `"left" \| "right" \| "below" \| "above"` | — | Where `rise`, `blur` and `mask` units travel in from. |
| order? | `StaggerOrder` | — | Which unit enters first. |
| scaleFrom? | `number` | — | Starting scale for the `scale` effect: below 1 grows in, above 1 slams down. |