structyl

The full prop reference for the Paper component. A neutral elevated surface.

Import

tsx
import { Paper } from '@structyl/styled';

Props

Paper

Theme-aware surface.

PropTypeDefault
variant#'elevation' | 'outlined'

Surface treatment.

'elevation'
elevation#0 | 1 | 2 | 3 | 4 | 5 | 6

Shadow depth when variant is elevation.

1
square#boolean

Remove rounded corners.

false
className#string

Additional Tailwind classes merged with the component defaults.

Source code

If you didn't find what you need here, read the component implementation .

structyl — Accessible React Component Library