Skip to content

Hidden API

API reference docs for the React Hidden 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 Hidden from '@mui/material/Hidden';
// or
import { Hidden } from '@mui/material';
Learn about the difference by reading this guide on minimizing bundle size.

Responsively hides children based on the selected implementation.

Props

Props of the native component are also available.

children

implementation

initialWidth

lgDown

lgUp

mdDown

mdUp

only

smDown

smUp

xlDown

xlUp

xsDown

xsUp

The component cannot hold a ref.