Components
Placeholder
Hint text for empty content: “Empty” values, untitled pages and blank blocks.
Empty
Usage
Use it to:
- show that a value or page has no content yet
Don’t use it to:
- input hints (use the field’s
placeholder) - loading states (use Skeleton)
Installation
Install the package (React 19):
terminal
terminal
terminal
Import the styles once, in your app entry or root layout:
/src/main.tsx
Use it anywhere inside your app's <Theme> (see Installation):
/src/PlaceholderExample.tsx
Examples
Variants
EmptyType something…New page
Dark theme
Empty
API Reference
Placeholder
A <span>; supports all of its props. Adds:
| Prop | Type | Default |
|---|---|---|
variant | "block""title""ui" | "block" |
Accessibility
- Read as normal text (“Empty”), which is what an empty value should say. The
titlevariant is lighter and meant for large text only.
© 2026 Motion. Internal documentation.