Paper

The Paper component provides a reusable pattern for paper in the interface.

Paper

Content wrapped with the paper component
Content wrapped with the paper component. Padding parameter set to "4"
Content wrapped with the paper component. Transparent parameter set to "true" removing shadow and background.

API

Parameter Default Description
Paper content
false Numeric value of padding sizes. Se padding doc for more info.
false Transparent paper with no shadow

CSS API

Variable Default Type Values Description
var(--border-radius) range - Border Radius
var(--space) range - Base spacing unit. Used for padding and margin inside components.
var(--border-width) range - Size
var(--color--surface) color - Surface
var(--color--surface-border) color - Manual companion token for borders on surface elements.
var(--shadow-color) rgba - Shadow Color
var(--shadow-amount) range - Multiplier for elevation shadows. 0 = none, 1 = default.
var(--color--surface-contrast) color - Used for text and icons on surface backgrounds with less contrast.
var(--corner-shape) select square, round, squircle, circular, bevel, scoop Corner Shape

Similar components