Skip to content

Paper API

API reference docs for the React Paper component. Learn about the props, CSS, and other APIs of this exported module.

Demos

For examples and details on the usage of this React component, visit the component demo pages:

Import

import Paper from '@mui/material/Paper';
// or
import { Paper } from '@mui/material';
Learn about the difference by reading this guide on minimizing bundle size.

Props

Props of the native component are also available.

children

classes

component

elevation

square

sx

variant

The ref is forwarded to the root element.

Theme default props

You can use MuiPaper to change the default props of this component with the theme.


CSS

The following class names are useful for styling with CSS (the state classes are marked).
To learn more, visit the component customization page.

.MuiPaper-root

.MuiPaper-rounded

.MuiPaper-outlined

.MuiPaper-elevation

.MuiPaper-elevation0

.MuiPaper-elevation1

.MuiPaper-elevation2

.MuiPaper-elevation3

.MuiPaper-elevation4

.MuiPaper-elevation5

.MuiPaper-elevation6

.MuiPaper-elevation7

.MuiPaper-elevation8

.MuiPaper-elevation9

.MuiPaper-elevation10

.MuiPaper-elevation11

.MuiPaper-elevation12

.MuiPaper-elevation13

.MuiPaper-elevation14

.MuiPaper-elevation15

.MuiPaper-elevation16

.MuiPaper-elevation17

.MuiPaper-elevation18

.MuiPaper-elevation19

.MuiPaper-elevation20

.MuiPaper-elevation21

.MuiPaper-elevation22

.MuiPaper-elevation23

.MuiPaper-elevation24


You can override the style of the component using one of these customization options: