# Signature

> A name writes itself in a flowing hand, pen-stroke by pen-stroke, then finishes with a flourish.

Category: Text · MotionKit Plus · Updated 2026-10-20 · Live demo: https://www.motionkitui.com/components/signature

## When to use it

Founder letters, about pages, thank-you screens and testimonials, where a signed name adds a personal touch.

## How it works

The name is set in a script font and revealed by a moving mask: a linear gradient with a soft edge just behind the pen, so letters appear as ink rather than wiping in like a curtain. The pen moves at a fairly even pace, and an optional flourish underneath is an SVG path drawn with pathLength once the name is written.

## Installation

Part of MotionKit Plus (https://www.motionkitui.com/pricing). Subscribers install it with `npx shadcn@latest add @motionkit/signature` after adding their registry token from https://www.motionkitui.com/account.

## Props

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `text` | `string` |  | What to write. |
| `fontFamily` | `string` | `"cursive"` | A script font you load, e.g. Mrs Saint Delafield. |
| `color` | `string` | `"#F6F1E8"` | Ink colour. |
| `duration` | `number` | `2.2` | Seconds to write the line. |
| `delay` | `number` | `0` | Seconds to wait once in view. |
| `flourish` | `boolean` | `true` | Draw a flourish underneath. |
| `as` | `ElementType` | `"p"` | Element to render. |

## Accessibility

- **Keyboard: Not applicable.** Text only, nothing to focus.
- **Screen readers: Pass.** Real text, read normally; the flourish is hidden.
- **Reduced motion: Pass.** With reduced motion on, the signature is already written.
- **Colour contrast: Partial.** Ivory measures 17:1 on the dark background, but script strokes are thin: use it for names and sign-offs, not information.
