# Plucked Curve

> Text rides a curve that wobbles like a plucked string.

## Spec sheet

| | |
| --- | --- |
| Access | Free: no account, free for commercial use |
| Shelf | Text Animations › Entrances |
| Live preview | https://uibrik.com/components/plucked-curve |
| Writes | 1 file into `components/uibrik/plucked-curve/` |
| Packages | `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/plucked-curve.json
```

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

Can't run commands? https://uibrik.com/components/plucked-curve/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 { PluckedCurve } from "@/components/uibrik/plucked-curve/plucked-curve";

<PluckedCurve
  play={0}
  text="carried along a gentle curve"
  rest={10}
  pluck={26}
  duration={1.4}
/>
```

## Tune it

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

| Prop | Type | Default | What it does |
| --- | --- | --- | --- |
| `text` | `string` | `"carried along a gentle curve"` | The copy to animate. |
| `rest` | `number` | `10` | Bend of the curve at rest. |
| `pluck` | `number` | `26` | Extra bend when plucked. |
| `duration` | `number` | `1.4` | Time for the string to ring down. |

## 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

- **Playful headlines**: Text riding a curve that wobbles like a plucked string makes a heading fun.
- **Music and audio brands**: A vibrating line of type suits instruments, audio apps and podcasts.
- **Creative intros**: Curved, moving text gives a portfolio intro character.

## Same shelf: Entrances

- [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.
- [Typewriter](https://uibrik.com/components/typewriter.md): Text typed with a human rhythm, mistakes included.
- [Blur Reveal](https://uibrik.com/components/blur-reveal.md): Letters sharpen out of a blur, one after another.

## Ground rules

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