# Micro Scale Fade

The entire text scales in from a subtle size with a smooth fade, perfect for clean entrances.

> 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/micro-scale-fade
```

<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 { MicroScaleFade } from "@/components/framecn/micro-scale-fade";
```

```tsx
<MicroScaleFade text="Scale fade in" />
```

## API Reference

### MicroScaleFade

| Prop               | Type     | Default           |
| ------------------ | -------- | ----------------- |
| `text`             | `string` | `"Scale fade in"` |
| `scaleFrom`        | `number` | `0.96`            |
| `fontSize`         | `number` | `72`              |
| `color`            | `string` | `"#171717"`       |
| `fontWeight`       | `number` | `600`             |
| `speed`            | `number` | `1`               |
| `fps`              | `number` | `30`              |
| `durationInFrames` | `number` | `90`              |
| `className`        | `string` | `-`               |

## Notes

  Unlike character-stagger components, `MicroScaleFade` animates the entire text
  as one element. A subtle `scaleFrom` value near `1.0` (like the default
  `0.96`) creates an elegant entrance without feeling exaggerated.