Paper
stableA neutral elevated surface.
Basic usage
Paper surface
Examples
Elevation levels
Elevation changes shadow depth while preserving the same theme-aware surface.
0
1
2
3
Content surface
Use Paper for bounded content blocks inside larger layouts.
Billing
Invoices and payment methods.
Variants
Use outlined, square and elevation levels for common MUI surface states.
outlined square
elevation 4
Features
- Bordered surface.
- Elevation presets.
Installation
bash
pnpm dlx structyl add paperAPI Reference
Paper
Theme-aware surface.
| Prop | Type | Default |
|---|---|---|
| variant | 'elevation' | 'outlined'Surface treatment. | 'elevation' |
| elevation | 0 | 1 | 2 | 3 | 4 | 5 | 6Shadow depth when variant is elevation. | 1 |
| square | booleanRemove rounded corners. | false |
| className | stringAdditional Tailwind classes merged with the component defaults. | — |