# Per Character Rise

Characters rise from below with a smooth spring-like easing, staggered one frame apart.

> For the complete documentation index, see [llms.txt](/llms.txt). Markdown variants are available by appending `.md` to any URL or sending an `Accept: text/markdown` header. An agent skill is available at [/.well-known/agent-skills/site-skill.md](/.well-known/agent-skills/site-skill.md).

## Installation

<TabsTrigger value="cli">Command</TabsTrigger>
<TabsTrigger value="manual">Manual</TabsTrigger>

```bash
npx shadcn@latest add @framecn/per-character-rise
```

<Step>Copy and paste the following code into your project.</Step>

<Step>Update the import paths to match your project setup.</Step>

## Usage

```tsx
import { PerCharacterRise } from "@/components/framecn/per-character-rise";
```

```tsx
<PerCharacterRise text="Rise up letters" />
```

## API Reference

### PerCharacterRise

| Prop               | Type     | Default             |
| ------------------ | -------- | ------------------- |
| `text`             | `string` | `"Rise up letters"` |
| `distance`         | `number` | `32`                |
| `fontSize`         | `number` | `72`                |
| `color`            | `string` | `"#171717"`         |
| `fontWeight`       | `number` | `600`               |
| `speed`            | `number` | `1`                 |
| `fps`              | `number` | `30`                |
| `durationInFrames` | `number` | `90`                |
| `className`        | `string` | `-`                 |

## Notes

  The stagger between characters is fixed at 1 frame for a tight, fluid cascade.
  Use the `speed` prop to adjust the overall pace of the animation.