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.

Component demos

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

The content of the component.

Type:node


classes

Override or extend the styles applied to the component.

See CSS API below for more details.

Type:object


component

The component used for the root node. Either a string to use a HTML element or a component.

Type:elementType


elevation

Shadow depth, corresponds to dp in the spec. It accepts values between 0 and 24 inclusive.

Type:integer

Default:1


square

If true, rounded corners are disabled.

Type:bool

Default:false


sx

The system prop that allows defining system overrides as well as additional CSS styles.

See the `sx` page for more details.

Type:Array<func
| object
| bool>
| func
| object


variant

The variant to use.

Type:'elevation'
| 'outlined'
| string

Default:'elevation'


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 classes

These class names are useful for styling with CSS. They are applied to the component's slots when specific states are triggered.

.MuiPaper-elevation

Styles applied to the root element if variant="elevation".

Rule name:elevation


.MuiPaper-elevation0

Rule name:elevation0


.MuiPaper-elevation1

Rule name:elevation1


.MuiPaper-elevation10

Rule name:elevation10


.MuiPaper-elevation11

Rule name:elevation11


.MuiPaper-elevation12

Rule name:elevation12


.MuiPaper-elevation13

Rule name:elevation13


.MuiPaper-elevation14

Rule name:elevation14


.MuiPaper-elevation15

Rule name:elevation15


.MuiPaper-elevation16

Rule name:elevation16


.MuiPaper-elevation17

Rule name:elevation17


.MuiPaper-elevation18

Rule name:elevation18


.MuiPaper-elevation19

Rule name:elevation19


.MuiPaper-elevation2

Rule name:elevation2


.MuiPaper-elevation20

Rule name:elevation20


.MuiPaper-elevation21

Rule name:elevation21


.MuiPaper-elevation22

Rule name:elevation22


.MuiPaper-elevation23

Rule name:elevation23


.MuiPaper-elevation24

Rule name:elevation24


.MuiPaper-elevation3

Rule name:elevation3


.MuiPaper-elevation4

Rule name:elevation4


.MuiPaper-elevation5

Rule name:elevation5


.MuiPaper-elevation6

Rule name:elevation6


.MuiPaper-elevation7

Rule name:elevation7


.MuiPaper-elevation8

Rule name:elevation8


.MuiPaper-elevation9

Rule name:elevation9


.MuiPaper-outlined

Styles applied to the root element if variant="outlined".

Rule name:outlined


.MuiPaper-root

Styles applied to the root element.

Rule name:root


.MuiPaper-rounded

Styles applied to the root element unless square={true}.

Rule name:rounded



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

Edit this page

Was this page helpful?


PaginationItemPopover

Blog

Store