structyl

Paper

stable

A 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 paper

API Reference

Paper

Theme-aware surface.

PropTypeDefault
variant'elevation' | 'outlined'

Surface treatment.

'elevation'
elevation0 | 1 | 2 | 3 | 4 | 5 | 6

Shadow depth when variant is elevation.

1
squareboolean

Remove rounded corners.

false
classNamestring

Additional Tailwind classes merged with the component defaults.

Paper | structyl