Paper API
View componentThe full prop reference for the Paper component. A neutral elevated surface.
Import
tsx
import { Paper } from '@structyl/styled';Props
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. | — |
Source code
If you didn't find what you need here, read the component implementation .