index
int64 0
0
| repo_id
stringlengths 16
181
| file_path
stringlengths 28
270
| content
stringlengths 1
11.6M
| __index_level_0__
int64 0
10k
|
---|---|---|---|---|
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/links/UnderlineLink.tsx | /* eslint-disable jsx-a11y/anchor-is-valid */
import * as React from 'react';
import Box from '@mui/material/Box';
import Link from '@mui/material/Link';
const preventDefault = (event: React.SyntheticEvent) => event.preventDefault();
export default function UnderlineLink() {
return (
<Box
sx={{
display: 'flex',
flexWrap: 'wrap',
justifyContent: 'center',
typography: 'body1',
'& > :not(style) ~ :not(style)': {
ml: 2,
},
}}
onClick={preventDefault}
>
<Link href="#" underline="none">
{'underline="none"'}
</Link>
<Link href="#" underline="hover">
{'underline="hover"'}
</Link>
<Link href="#" underline="always">
{'underline="always"'}
</Link>
</Box>
);
}
| 2,600 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/links/UnderlineLink.tsx.preview | <Link href="#" underline="none">
{'underline="none"'}
</Link>
<Link href="#" underline="hover">
{'underline="hover"'}
</Link>
<Link href="#" underline="always">
{'underline="always"'}
</Link> | 2,601 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/links/links.md | ---
productId: material-ui
components: Link
githubLabel: 'component: link'
waiAria: https://www.w3.org/WAI/ARIA/apg/patterns/link/
---
# Links
<p class="description">The Link component allows you to easily customize anchor elements with your theme colors and typography styles.</p>
{{"component": "modules/components/ComponentLinkHeader.js"}}
## Basic links
The Link component is built on top of the [Typography](/material-ui/api/typography/) component, meaning that you can use its props.
{{"demo": "Links.js"}}
However, the Link component has some different default props than the Typography component:
- `color="primary"` as the link needs to stand out.
- `variant="inherit"` as the link will, most of the time, be used as a child of a Typography component.
## Underline
The `underline` prop can be used to set the underline behavior. The default is `always`.
{{"demo": "UnderlineLink.js"}}
## Security
When you use `target="_blank"` with Links, it is [recommended](https://developers.google.com/web/tools/lighthouse/audits/noopener) to always set `rel="noopener"` or `rel="noreferrer"` when linking to third party content.
- `rel="noopener"` prevents the new page from being able to access the `window.opener` property and ensures it runs in a separate process.
Without this, the target page can potentially redirect your page to a malicious URL.
- `rel="noreferrer"` has the same effect, but also prevents the _Referer_ header from being sent to the new page.
⚠️ Removing the referrer header will affect analytics.
## Third-party routing library
One frequent use case is to perform navigation on the client only, without an HTTP round-trip to the server.
The `Link` component provides the `component` prop to handle this use case.
Here is a [more detailed guide](/material-ui/guides/routing/#link).
## Accessibility
(WAI-ARIA: https://www.w3.org/WAI/ARIA/apg/patterns/link/)
- When providing the content for the link, avoid generic descriptions like "click here" or "go to".
Instead, use [specific descriptions](https://developers.google.com/web/tools/lighthouse/audits/descriptive-link-text).
- For the best user experience, links should stand out from the text on the page. For instance, you can keep the default `underline="always"` behavior.
- If a link doesn't have a meaningful href, [it should be rendered using a `<button>` element](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md).
The demo below illustrates how to properly link with a `<button>`:
{{"demo": "ButtonLink.js"}}
### Keyboard accessibility
- Interactive elements should receive focus in a coherent order when the user presses the <kbd class="key">Tab</kbd> key.
- Users should be able to open a link by pressing <kbd class="key">Enter</kbd>.
### Screen reader accessibility
- When a link receives focus, screen readers should announce a descriptive link name.
If the link opens in a new window or browser tab, add an [`aria-label`](https://www.w3.org/WAI/WCAG22/Techniques/aria/ARIA8) to inform screen reader users—for example, _"To learn more, visit the About page which opens in a new window."_
| 2,602 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/lists/AlignItemsList.js | import * as React from 'react';
import List from '@mui/material/List';
import ListItem from '@mui/material/ListItem';
import Divider from '@mui/material/Divider';
import ListItemText from '@mui/material/ListItemText';
import ListItemAvatar from '@mui/material/ListItemAvatar';
import Avatar from '@mui/material/Avatar';
import Typography from '@mui/material/Typography';
export default function AlignItemsList() {
return (
<List sx={{ width: '100%', maxWidth: 360, bgcolor: 'background.paper' }}>
<ListItem alignItems="flex-start">
<ListItemAvatar>
<Avatar alt="Remy Sharp" src="/static/images/avatar/1.jpg" />
</ListItemAvatar>
<ListItemText
primary="Brunch this weekend?"
secondary={
<React.Fragment>
<Typography
sx={{ display: 'inline' }}
component="span"
variant="body2"
color="text.primary"
>
Ali Connors
</Typography>
{" — I'll be in your neighborhood doing errands this…"}
</React.Fragment>
}
/>
</ListItem>
<Divider variant="inset" component="li" />
<ListItem alignItems="flex-start">
<ListItemAvatar>
<Avatar alt="Travis Howard" src="/static/images/avatar/2.jpg" />
</ListItemAvatar>
<ListItemText
primary="Summer BBQ"
secondary={
<React.Fragment>
<Typography
sx={{ display: 'inline' }}
component="span"
variant="body2"
color="text.primary"
>
to Scott, Alex, Jennifer
</Typography>
{" — Wish I could come, but I'm out of town this…"}
</React.Fragment>
}
/>
</ListItem>
<Divider variant="inset" component="li" />
<ListItem alignItems="flex-start">
<ListItemAvatar>
<Avatar alt="Cindy Baker" src="/static/images/avatar/3.jpg" />
</ListItemAvatar>
<ListItemText
primary="Oui Oui"
secondary={
<React.Fragment>
<Typography
sx={{ display: 'inline' }}
component="span"
variant="body2"
color="text.primary"
>
Sandra Adams
</Typography>
{' — Do you have Paris recommendations? Have you ever…'}
</React.Fragment>
}
/>
</ListItem>
</List>
);
}
| 2,603 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/lists/AlignItemsList.tsx | import * as React from 'react';
import List from '@mui/material/List';
import ListItem from '@mui/material/ListItem';
import Divider from '@mui/material/Divider';
import ListItemText from '@mui/material/ListItemText';
import ListItemAvatar from '@mui/material/ListItemAvatar';
import Avatar from '@mui/material/Avatar';
import Typography from '@mui/material/Typography';
export default function AlignItemsList() {
return (
<List sx={{ width: '100%', maxWidth: 360, bgcolor: 'background.paper' }}>
<ListItem alignItems="flex-start">
<ListItemAvatar>
<Avatar alt="Remy Sharp" src="/static/images/avatar/1.jpg" />
</ListItemAvatar>
<ListItemText
primary="Brunch this weekend?"
secondary={
<React.Fragment>
<Typography
sx={{ display: 'inline' }}
component="span"
variant="body2"
color="text.primary"
>
Ali Connors
</Typography>
{" — I'll be in your neighborhood doing errands this…"}
</React.Fragment>
}
/>
</ListItem>
<Divider variant="inset" component="li" />
<ListItem alignItems="flex-start">
<ListItemAvatar>
<Avatar alt="Travis Howard" src="/static/images/avatar/2.jpg" />
</ListItemAvatar>
<ListItemText
primary="Summer BBQ"
secondary={
<React.Fragment>
<Typography
sx={{ display: 'inline' }}
component="span"
variant="body2"
color="text.primary"
>
to Scott, Alex, Jennifer
</Typography>
{" — Wish I could come, but I'm out of town this…"}
</React.Fragment>
}
/>
</ListItem>
<Divider variant="inset" component="li" />
<ListItem alignItems="flex-start">
<ListItemAvatar>
<Avatar alt="Cindy Baker" src="/static/images/avatar/3.jpg" />
</ListItemAvatar>
<ListItemText
primary="Oui Oui"
secondary={
<React.Fragment>
<Typography
sx={{ display: 'inline' }}
component="span"
variant="body2"
color="text.primary"
>
Sandra Adams
</Typography>
{' — Do you have Paris recommendations? Have you ever…'}
</React.Fragment>
}
/>
</ListItem>
</List>
);
}
| 2,604 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/lists/BasicList.js | import * as React from 'react';
import Box from '@mui/material/Box';
import List from '@mui/material/List';
import ListItem from '@mui/material/ListItem';
import ListItemButton from '@mui/material/ListItemButton';
import ListItemIcon from '@mui/material/ListItemIcon';
import ListItemText from '@mui/material/ListItemText';
import Divider from '@mui/material/Divider';
import InboxIcon from '@mui/icons-material/Inbox';
import DraftsIcon from '@mui/icons-material/Drafts';
export default function BasicList() {
return (
<Box sx={{ width: '100%', maxWidth: 360, bgcolor: 'background.paper' }}>
<nav aria-label="main mailbox folders">
<List>
<ListItem disablePadding>
<ListItemButton>
<ListItemIcon>
<InboxIcon />
</ListItemIcon>
<ListItemText primary="Inbox" />
</ListItemButton>
</ListItem>
<ListItem disablePadding>
<ListItemButton>
<ListItemIcon>
<DraftsIcon />
</ListItemIcon>
<ListItemText primary="Drafts" />
</ListItemButton>
</ListItem>
</List>
</nav>
<Divider />
<nav aria-label="secondary mailbox folders">
<List>
<ListItem disablePadding>
<ListItemButton>
<ListItemText primary="Trash" />
</ListItemButton>
</ListItem>
<ListItem disablePadding>
<ListItemButton component="a" href="#simple-list">
<ListItemText primary="Spam" />
</ListItemButton>
</ListItem>
</List>
</nav>
</Box>
);
}
| 2,605 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/lists/BasicList.tsx | import * as React from 'react';
import Box from '@mui/material/Box';
import List from '@mui/material/List';
import ListItem from '@mui/material/ListItem';
import ListItemButton from '@mui/material/ListItemButton';
import ListItemIcon from '@mui/material/ListItemIcon';
import ListItemText from '@mui/material/ListItemText';
import Divider from '@mui/material/Divider';
import InboxIcon from '@mui/icons-material/Inbox';
import DraftsIcon from '@mui/icons-material/Drafts';
export default function BasicList() {
return (
<Box sx={{ width: '100%', maxWidth: 360, bgcolor: 'background.paper' }}>
<nav aria-label="main mailbox folders">
<List>
<ListItem disablePadding>
<ListItemButton>
<ListItemIcon>
<InboxIcon />
</ListItemIcon>
<ListItemText primary="Inbox" />
</ListItemButton>
</ListItem>
<ListItem disablePadding>
<ListItemButton>
<ListItemIcon>
<DraftsIcon />
</ListItemIcon>
<ListItemText primary="Drafts" />
</ListItemButton>
</ListItem>
</List>
</nav>
<Divider />
<nav aria-label="secondary mailbox folders">
<List>
<ListItem disablePadding>
<ListItemButton>
<ListItemText primary="Trash" />
</ListItemButton>
</ListItem>
<ListItem disablePadding>
<ListItemButton component="a" href="#simple-list">
<ListItemText primary="Spam" />
</ListItemButton>
</ListItem>
</List>
</nav>
</Box>
);
}
| 2,606 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/lists/CheckboxList.js | import * as React from 'react';
import List from '@mui/material/List';
import ListItem from '@mui/material/ListItem';
import ListItemButton from '@mui/material/ListItemButton';
import ListItemIcon from '@mui/material/ListItemIcon';
import ListItemText from '@mui/material/ListItemText';
import Checkbox from '@mui/material/Checkbox';
import IconButton from '@mui/material/IconButton';
import CommentIcon from '@mui/icons-material/Comment';
export default function CheckboxList() {
const [checked, setChecked] = React.useState([0]);
const handleToggle = (value) => () => {
const currentIndex = checked.indexOf(value);
const newChecked = [...checked];
if (currentIndex === -1) {
newChecked.push(value);
} else {
newChecked.splice(currentIndex, 1);
}
setChecked(newChecked);
};
return (
<List sx={{ width: '100%', maxWidth: 360, bgcolor: 'background.paper' }}>
{[0, 1, 2, 3].map((value) => {
const labelId = `checkbox-list-label-${value}`;
return (
<ListItem
key={value}
secondaryAction={
<IconButton edge="end" aria-label="comments">
<CommentIcon />
</IconButton>
}
disablePadding
>
<ListItemButton role={undefined} onClick={handleToggle(value)} dense>
<ListItemIcon>
<Checkbox
edge="start"
checked={checked.indexOf(value) !== -1}
tabIndex={-1}
disableRipple
inputProps={{ 'aria-labelledby': labelId }}
/>
</ListItemIcon>
<ListItemText id={labelId} primary={`Line item ${value + 1}`} />
</ListItemButton>
</ListItem>
);
})}
</List>
);
}
| 2,607 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/lists/CheckboxList.tsx | import * as React from 'react';
import List from '@mui/material/List';
import ListItem from '@mui/material/ListItem';
import ListItemButton from '@mui/material/ListItemButton';
import ListItemIcon from '@mui/material/ListItemIcon';
import ListItemText from '@mui/material/ListItemText';
import Checkbox from '@mui/material/Checkbox';
import IconButton from '@mui/material/IconButton';
import CommentIcon from '@mui/icons-material/Comment';
export default function CheckboxList() {
const [checked, setChecked] = React.useState([0]);
const handleToggle = (value: number) => () => {
const currentIndex = checked.indexOf(value);
const newChecked = [...checked];
if (currentIndex === -1) {
newChecked.push(value);
} else {
newChecked.splice(currentIndex, 1);
}
setChecked(newChecked);
};
return (
<List sx={{ width: '100%', maxWidth: 360, bgcolor: 'background.paper' }}>
{[0, 1, 2, 3].map((value) => {
const labelId = `checkbox-list-label-${value}`;
return (
<ListItem
key={value}
secondaryAction={
<IconButton edge="end" aria-label="comments">
<CommentIcon />
</IconButton>
}
disablePadding
>
<ListItemButton role={undefined} onClick={handleToggle(value)} dense>
<ListItemIcon>
<Checkbox
edge="start"
checked={checked.indexOf(value) !== -1}
tabIndex={-1}
disableRipple
inputProps={{ 'aria-labelledby': labelId }}
/>
</ListItemIcon>
<ListItemText id={labelId} primary={`Line item ${value + 1}`} />
</ListItemButton>
</ListItem>
);
})}
</List>
);
}
| 2,608 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/lists/CheckboxListSecondary.js | import * as React from 'react';
import List from '@mui/material/List';
import ListItem from '@mui/material/ListItem';
import ListItemButton from '@mui/material/ListItemButton';
import ListItemText from '@mui/material/ListItemText';
import ListItemAvatar from '@mui/material/ListItemAvatar';
import Checkbox from '@mui/material/Checkbox';
import Avatar from '@mui/material/Avatar';
export default function CheckboxListSecondary() {
const [checked, setChecked] = React.useState([1]);
const handleToggle = (value) => () => {
const currentIndex = checked.indexOf(value);
const newChecked = [...checked];
if (currentIndex === -1) {
newChecked.push(value);
} else {
newChecked.splice(currentIndex, 1);
}
setChecked(newChecked);
};
return (
<List dense sx={{ width: '100%', maxWidth: 360, bgcolor: 'background.paper' }}>
{[0, 1, 2, 3].map((value) => {
const labelId = `checkbox-list-secondary-label-${value}`;
return (
<ListItem
key={value}
secondaryAction={
<Checkbox
edge="end"
onChange={handleToggle(value)}
checked={checked.indexOf(value) !== -1}
inputProps={{ 'aria-labelledby': labelId }}
/>
}
disablePadding
>
<ListItemButton>
<ListItemAvatar>
<Avatar
alt={`Avatar n°${value + 1}`}
src={`/static/images/avatar/${value + 1}.jpg`}
/>
</ListItemAvatar>
<ListItemText id={labelId} primary={`Line item ${value + 1}`} />
</ListItemButton>
</ListItem>
);
})}
</List>
);
}
| 2,609 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/lists/CheckboxListSecondary.tsx | import * as React from 'react';
import List from '@mui/material/List';
import ListItem from '@mui/material/ListItem';
import ListItemButton from '@mui/material/ListItemButton';
import ListItemText from '@mui/material/ListItemText';
import ListItemAvatar from '@mui/material/ListItemAvatar';
import Checkbox from '@mui/material/Checkbox';
import Avatar from '@mui/material/Avatar';
export default function CheckboxListSecondary() {
const [checked, setChecked] = React.useState([1]);
const handleToggle = (value: number) => () => {
const currentIndex = checked.indexOf(value);
const newChecked = [...checked];
if (currentIndex === -1) {
newChecked.push(value);
} else {
newChecked.splice(currentIndex, 1);
}
setChecked(newChecked);
};
return (
<List dense sx={{ width: '100%', maxWidth: 360, bgcolor: 'background.paper' }}>
{[0, 1, 2, 3].map((value) => {
const labelId = `checkbox-list-secondary-label-${value}`;
return (
<ListItem
key={value}
secondaryAction={
<Checkbox
edge="end"
onChange={handleToggle(value)}
checked={checked.indexOf(value) !== -1}
inputProps={{ 'aria-labelledby': labelId }}
/>
}
disablePadding
>
<ListItemButton>
<ListItemAvatar>
<Avatar
alt={`Avatar n°${value + 1}`}
src={`/static/images/avatar/${value + 1}.jpg`}
/>
</ListItemAvatar>
<ListItemText id={labelId} primary={`Line item ${value + 1}`} />
</ListItemButton>
</ListItem>
);
})}
</List>
);
}
| 2,610 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/lists/CustomizedList.js | import * as React from 'react';
import Box from '@mui/material/Box';
import { styled, ThemeProvider, createTheme } from '@mui/material/styles';
import Divider from '@mui/material/Divider';
import List from '@mui/material/List';
import ListItem from '@mui/material/ListItem';
import ListItemButton from '@mui/material/ListItemButton';
import ListItemIcon from '@mui/material/ListItemIcon';
import ListItemText from '@mui/material/ListItemText';
import Paper from '@mui/material/Paper';
import IconButton from '@mui/material/IconButton';
import Tooltip from '@mui/material/Tooltip';
import ArrowRight from '@mui/icons-material/ArrowRight';
import KeyboardArrowDown from '@mui/icons-material/KeyboardArrowDown';
import Home from '@mui/icons-material/Home';
import Settings from '@mui/icons-material/Settings';
import People from '@mui/icons-material/People';
import PermMedia from '@mui/icons-material/PermMedia';
import Dns from '@mui/icons-material/Dns';
import Public from '@mui/icons-material/Public';
const data = [
{ icon: <People />, label: 'Authentication' },
{ icon: <Dns />, label: 'Database' },
{ icon: <PermMedia />, label: 'Storage' },
{ icon: <Public />, label: 'Hosting' },
];
const FireNav = styled(List)({
'& .MuiListItemButton-root': {
paddingLeft: 24,
paddingRight: 24,
},
'& .MuiListItemIcon-root': {
minWidth: 0,
marginRight: 16,
},
'& .MuiSvgIcon-root': {
fontSize: 20,
},
});
export default function CustomizedList() {
const [open, setOpen] = React.useState(true);
return (
<Box sx={{ display: 'flex' }}>
<ThemeProvider
theme={createTheme({
components: {
MuiListItemButton: {
defaultProps: {
disableTouchRipple: true,
},
},
},
palette: {
mode: 'dark',
primary: { main: 'rgb(102, 157, 246)' },
background: { paper: 'rgb(5, 30, 52)' },
},
})}
>
<Paper elevation={0} sx={{ maxWidth: 256 }}>
<FireNav component="nav" disablePadding>
<ListItemButton component="a" href="#customized-list">
<ListItemIcon sx={{ fontSize: 20 }}>🔥</ListItemIcon>
<ListItemText
sx={{ my: 0 }}
primary="Firebash"
primaryTypographyProps={{
fontSize: 20,
fontWeight: 'medium',
letterSpacing: 0,
}}
/>
</ListItemButton>
<Divider />
<ListItem component="div" disablePadding>
<ListItemButton sx={{ height: 56 }}>
<ListItemIcon>
<Home color="primary" />
</ListItemIcon>
<ListItemText
primary="Project Overview"
primaryTypographyProps={{
color: 'primary',
fontWeight: 'medium',
variant: 'body2',
}}
/>
</ListItemButton>
<Tooltip title="Project Settings">
<IconButton
size="large"
sx={{
'& svg': {
color: 'rgba(255,255,255,0.8)',
transition: '0.2s',
transform: 'translateX(0) rotate(0)',
},
'&:hover, &:focus': {
bgcolor: 'unset',
'& svg:first-of-type': {
transform: 'translateX(-4px) rotate(-20deg)',
},
'& svg:last-of-type': {
right: 0,
opacity: 1,
},
},
'&:after': {
content: '""',
position: 'absolute',
height: '80%',
display: 'block',
left: 0,
width: '1px',
bgcolor: 'divider',
},
}}
>
<Settings />
<ArrowRight sx={{ position: 'absolute', right: 4, opacity: 0 }} />
</IconButton>
</Tooltip>
</ListItem>
<Divider />
<Box
sx={{
bgcolor: open ? 'rgba(71, 98, 130, 0.2)' : null,
pb: open ? 2 : 0,
}}
>
<ListItemButton
alignItems="flex-start"
onClick={() => setOpen(!open)}
sx={{
px: 3,
pt: 2.5,
pb: open ? 0 : 2.5,
'&:hover, &:focus': { '& svg': { opacity: open ? 1 : 0 } },
}}
>
<ListItemText
primary="Build"
primaryTypographyProps={{
fontSize: 15,
fontWeight: 'medium',
lineHeight: '20px',
mb: '2px',
}}
secondary="Authentication, Firestore Database, Realtime Database, Storage, Hosting, Functions, and Machine Learning"
secondaryTypographyProps={{
noWrap: true,
fontSize: 12,
lineHeight: '16px',
color: open ? 'rgba(0,0,0,0)' : 'rgba(255,255,255,0.5)',
}}
sx={{ my: 0 }}
/>
<KeyboardArrowDown
sx={{
mr: -1,
opacity: 0,
transform: open ? 'rotate(-180deg)' : 'rotate(0)',
transition: '0.2s',
}}
/>
</ListItemButton>
{open &&
data.map((item) => (
<ListItemButton
key={item.label}
sx={{ py: 0, minHeight: 32, color: 'rgba(255,255,255,.8)' }}
>
<ListItemIcon sx={{ color: 'inherit' }}>
{item.icon}
</ListItemIcon>
<ListItemText
primary={item.label}
primaryTypographyProps={{ fontSize: 14, fontWeight: 'medium' }}
/>
</ListItemButton>
))}
</Box>
</FireNav>
</Paper>
</ThemeProvider>
</Box>
);
}
| 2,611 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/lists/CustomizedList.tsx | import * as React from 'react';
import Box from '@mui/material/Box';
import { styled, ThemeProvider, createTheme } from '@mui/material/styles';
import Divider from '@mui/material/Divider';
import List from '@mui/material/List';
import ListItem from '@mui/material/ListItem';
import ListItemButton from '@mui/material/ListItemButton';
import ListItemIcon from '@mui/material/ListItemIcon';
import ListItemText from '@mui/material/ListItemText';
import Paper from '@mui/material/Paper';
import IconButton from '@mui/material/IconButton';
import Tooltip from '@mui/material/Tooltip';
import ArrowRight from '@mui/icons-material/ArrowRight';
import KeyboardArrowDown from '@mui/icons-material/KeyboardArrowDown';
import Home from '@mui/icons-material/Home';
import Settings from '@mui/icons-material/Settings';
import People from '@mui/icons-material/People';
import PermMedia from '@mui/icons-material/PermMedia';
import Dns from '@mui/icons-material/Dns';
import Public from '@mui/icons-material/Public';
const data = [
{ icon: <People />, label: 'Authentication' },
{ icon: <Dns />, label: 'Database' },
{ icon: <PermMedia />, label: 'Storage' },
{ icon: <Public />, label: 'Hosting' },
];
const FireNav = styled(List)<{ component?: React.ElementType }>({
'& .MuiListItemButton-root': {
paddingLeft: 24,
paddingRight: 24,
},
'& .MuiListItemIcon-root': {
minWidth: 0,
marginRight: 16,
},
'& .MuiSvgIcon-root': {
fontSize: 20,
},
});
export default function CustomizedList() {
const [open, setOpen] = React.useState(true);
return (
<Box sx={{ display: 'flex' }}>
<ThemeProvider
theme={createTheme({
components: {
MuiListItemButton: {
defaultProps: {
disableTouchRipple: true,
},
},
},
palette: {
mode: 'dark',
primary: { main: 'rgb(102, 157, 246)' },
background: { paper: 'rgb(5, 30, 52)' },
},
})}
>
<Paper elevation={0} sx={{ maxWidth: 256 }}>
<FireNav component="nav" disablePadding>
<ListItemButton component="a" href="#customized-list">
<ListItemIcon sx={{ fontSize: 20 }}>🔥</ListItemIcon>
<ListItemText
sx={{ my: 0 }}
primary="Firebash"
primaryTypographyProps={{
fontSize: 20,
fontWeight: 'medium',
letterSpacing: 0,
}}
/>
</ListItemButton>
<Divider />
<ListItem component="div" disablePadding>
<ListItemButton sx={{ height: 56 }}>
<ListItemIcon>
<Home color="primary" />
</ListItemIcon>
<ListItemText
primary="Project Overview"
primaryTypographyProps={{
color: 'primary',
fontWeight: 'medium',
variant: 'body2',
}}
/>
</ListItemButton>
<Tooltip title="Project Settings">
<IconButton
size="large"
sx={{
'& svg': {
color: 'rgba(255,255,255,0.8)',
transition: '0.2s',
transform: 'translateX(0) rotate(0)',
},
'&:hover, &:focus': {
bgcolor: 'unset',
'& svg:first-of-type': {
transform: 'translateX(-4px) rotate(-20deg)',
},
'& svg:last-of-type': {
right: 0,
opacity: 1,
},
},
'&:after': {
content: '""',
position: 'absolute',
height: '80%',
display: 'block',
left: 0,
width: '1px',
bgcolor: 'divider',
},
}}
>
<Settings />
<ArrowRight sx={{ position: 'absolute', right: 4, opacity: 0 }} />
</IconButton>
</Tooltip>
</ListItem>
<Divider />
<Box
sx={{
bgcolor: open ? 'rgba(71, 98, 130, 0.2)' : null,
pb: open ? 2 : 0,
}}
>
<ListItemButton
alignItems="flex-start"
onClick={() => setOpen(!open)}
sx={{
px: 3,
pt: 2.5,
pb: open ? 0 : 2.5,
'&:hover, &:focus': { '& svg': { opacity: open ? 1 : 0 } },
}}
>
<ListItemText
primary="Build"
primaryTypographyProps={{
fontSize: 15,
fontWeight: 'medium',
lineHeight: '20px',
mb: '2px',
}}
secondary="Authentication, Firestore Database, Realtime Database, Storage, Hosting, Functions, and Machine Learning"
secondaryTypographyProps={{
noWrap: true,
fontSize: 12,
lineHeight: '16px',
color: open ? 'rgba(0,0,0,0)' : 'rgba(255,255,255,0.5)',
}}
sx={{ my: 0 }}
/>
<KeyboardArrowDown
sx={{
mr: -1,
opacity: 0,
transform: open ? 'rotate(-180deg)' : 'rotate(0)',
transition: '0.2s',
}}
/>
</ListItemButton>
{open &&
data.map((item) => (
<ListItemButton
key={item.label}
sx={{ py: 0, minHeight: 32, color: 'rgba(255,255,255,.8)' }}
>
<ListItemIcon sx={{ color: 'inherit' }}>
{item.icon}
</ListItemIcon>
<ListItemText
primary={item.label}
primaryTypographyProps={{ fontSize: 14, fontWeight: 'medium' }}
/>
</ListItemButton>
))}
</Box>
</FireNav>
</Paper>
</ThemeProvider>
</Box>
);
}
| 2,612 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/lists/FolderList.js | import * as React from 'react';
import List from '@mui/material/List';
import ListItem from '@mui/material/ListItem';
import ListItemText from '@mui/material/ListItemText';
import ListItemAvatar from '@mui/material/ListItemAvatar';
import Avatar from '@mui/material/Avatar';
import ImageIcon from '@mui/icons-material/Image';
import WorkIcon from '@mui/icons-material/Work';
import BeachAccessIcon from '@mui/icons-material/BeachAccess';
export default function FolderList() {
return (
<List sx={{ width: '100%', maxWidth: 360, bgcolor: 'background.paper' }}>
<ListItem>
<ListItemAvatar>
<Avatar>
<ImageIcon />
</Avatar>
</ListItemAvatar>
<ListItemText primary="Photos" secondary="Jan 9, 2014" />
</ListItem>
<ListItem>
<ListItemAvatar>
<Avatar>
<WorkIcon />
</Avatar>
</ListItemAvatar>
<ListItemText primary="Work" secondary="Jan 7, 2014" />
</ListItem>
<ListItem>
<ListItemAvatar>
<Avatar>
<BeachAccessIcon />
</Avatar>
</ListItemAvatar>
<ListItemText primary="Vacation" secondary="July 20, 2014" />
</ListItem>
</List>
);
}
| 2,613 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/lists/FolderList.tsx | import * as React from 'react';
import List from '@mui/material/List';
import ListItem from '@mui/material/ListItem';
import ListItemText from '@mui/material/ListItemText';
import ListItemAvatar from '@mui/material/ListItemAvatar';
import Avatar from '@mui/material/Avatar';
import ImageIcon from '@mui/icons-material/Image';
import WorkIcon from '@mui/icons-material/Work';
import BeachAccessIcon from '@mui/icons-material/BeachAccess';
export default function FolderList() {
return (
<List sx={{ width: '100%', maxWidth: 360, bgcolor: 'background.paper' }}>
<ListItem>
<ListItemAvatar>
<Avatar>
<ImageIcon />
</Avatar>
</ListItemAvatar>
<ListItemText primary="Photos" secondary="Jan 9, 2014" />
</ListItem>
<ListItem>
<ListItemAvatar>
<Avatar>
<WorkIcon />
</Avatar>
</ListItemAvatar>
<ListItemText primary="Work" secondary="Jan 7, 2014" />
</ListItem>
<ListItem>
<ListItemAvatar>
<Avatar>
<BeachAccessIcon />
</Avatar>
</ListItemAvatar>
<ListItemText primary="Vacation" secondary="July 20, 2014" />
</ListItem>
</List>
);
}
| 2,614 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/lists/GutterlessList.js | import * as React from 'react';
import List from '@mui/material/List';
import ListItem from '@mui/material/ListItem';
import ListItemText from '@mui/material/ListItemText';
import CommentIcon from '@mui/icons-material/Comment';
import IconButton from '@mui/material/IconButton';
export default function GutterlessList() {
return (
<List sx={{ width: '100%', maxWidth: 360, bgcolor: 'background.paper' }}>
{[1, 2, 3].map((value) => (
<ListItem
key={value}
disableGutters
secondaryAction={
<IconButton aria-label="comment">
<CommentIcon />
</IconButton>
}
>
<ListItemText primary={`Line item ${value}`} />
</ListItem>
))}
</List>
);
}
| 2,615 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/lists/GutterlessList.tsx | import * as React from 'react';
import List from '@mui/material/List';
import ListItem from '@mui/material/ListItem';
import ListItemText from '@mui/material/ListItemText';
import CommentIcon from '@mui/icons-material/Comment';
import IconButton from '@mui/material/IconButton';
export default function GutterlessList() {
return (
<List sx={{ width: '100%', maxWidth: 360, bgcolor: 'background.paper' }}>
{[1, 2, 3].map((value) => (
<ListItem
key={value}
disableGutters
secondaryAction={
<IconButton aria-label="comment">
<CommentIcon />
</IconButton>
}
>
<ListItemText primary={`Line item ${value}`} />
</ListItem>
))}
</List>
);
}
| 2,616 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/lists/GutterlessList.tsx.preview | <List sx={{ width: '100%', maxWidth: 360, bgcolor: 'background.paper' }}>
{[1, 2, 3].map((value) => (
<ListItem
key={value}
disableGutters
secondaryAction={
<IconButton aria-label="comment">
<CommentIcon />
</IconButton>
}
>
<ListItemText primary={`Line item ${value}`} />
</ListItem>
))}
</List> | 2,617 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/lists/InsetList.js | import * as React from 'react';
import List from '@mui/material/List';
import ListItem from '@mui/material/ListItem';
import ListItemButton from '@mui/material/ListItemButton';
import ListItemIcon from '@mui/material/ListItemIcon';
import ListItemText from '@mui/material/ListItemText';
import StarIcon from '@mui/icons-material/Star';
export default function InsetList() {
return (
<List
sx={{ width: '100%', maxWidth: 360, bgcolor: 'background.paper' }}
aria-label="contacts"
>
<ListItem disablePadding>
<ListItemButton>
<ListItemIcon>
<StarIcon />
</ListItemIcon>
<ListItemText primary="Chelsea Otakan" />
</ListItemButton>
</ListItem>
<ListItem disablePadding>
<ListItemButton>
<ListItemText inset primary="Eric Hoffman" />
</ListItemButton>
</ListItem>
</List>
);
}
| 2,618 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/lists/InsetList.tsx | import * as React from 'react';
import List from '@mui/material/List';
import ListItem from '@mui/material/ListItem';
import ListItemButton from '@mui/material/ListItemButton';
import ListItemIcon from '@mui/material/ListItemIcon';
import ListItemText from '@mui/material/ListItemText';
import StarIcon from '@mui/icons-material/Star';
export default function InsetList() {
return (
<List
sx={{ width: '100%', maxWidth: 360, bgcolor: 'background.paper' }}
aria-label="contacts"
>
<ListItem disablePadding>
<ListItemButton>
<ListItemIcon>
<StarIcon />
</ListItemIcon>
<ListItemText primary="Chelsea Otakan" />
</ListItemButton>
</ListItem>
<ListItem disablePadding>
<ListItemButton>
<ListItemText inset primary="Eric Hoffman" />
</ListItemButton>
</ListItem>
</List>
);
}
| 2,619 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/lists/InteractiveList.js | import * as React from 'react';
import { styled } from '@mui/material/styles';
import Box from '@mui/material/Box';
import List from '@mui/material/List';
import ListItem from '@mui/material/ListItem';
import ListItemAvatar from '@mui/material/ListItemAvatar';
import ListItemIcon from '@mui/material/ListItemIcon';
import ListItemText from '@mui/material/ListItemText';
import Avatar from '@mui/material/Avatar';
import IconButton from '@mui/material/IconButton';
import FormGroup from '@mui/material/FormGroup';
import FormControlLabel from '@mui/material/FormControlLabel';
import Checkbox from '@mui/material/Checkbox';
import Grid from '@mui/material/Grid';
import Typography from '@mui/material/Typography';
import FolderIcon from '@mui/icons-material/Folder';
import DeleteIcon from '@mui/icons-material/Delete';
function generate(element) {
return [0, 1, 2].map((value) =>
React.cloneElement(element, {
key: value,
}),
);
}
const Demo = styled('div')(({ theme }) => ({
backgroundColor: theme.palette.background.paper,
}));
export default function InteractiveList() {
const [dense, setDense] = React.useState(false);
const [secondary, setSecondary] = React.useState(false);
return (
<Box sx={{ flexGrow: 1, maxWidth: 752 }}>
<FormGroup row>
<FormControlLabel
control={
<Checkbox
checked={dense}
onChange={(event) => setDense(event.target.checked)}
/>
}
label="Enable dense"
/>
<FormControlLabel
control={
<Checkbox
checked={secondary}
onChange={(event) => setSecondary(event.target.checked)}
/>
}
label="Enable secondary text"
/>
</FormGroup>
<Grid container spacing={2}>
<Grid item xs={12} md={6}>
<Typography sx={{ mt: 4, mb: 2 }} variant="h6" component="div">
Text only
</Typography>
<Demo>
<List dense={dense}>
{generate(
<ListItem>
<ListItemText
primary="Single-line item"
secondary={secondary ? 'Secondary text' : null}
/>
</ListItem>,
)}
</List>
</Demo>
</Grid>
<Grid item xs={12} md={6}>
<Typography sx={{ mt: 4, mb: 2 }} variant="h6" component="div">
Icon with text
</Typography>
<Demo>
<List dense={dense}>
{generate(
<ListItem>
<ListItemIcon>
<FolderIcon />
</ListItemIcon>
<ListItemText
primary="Single-line item"
secondary={secondary ? 'Secondary text' : null}
/>
</ListItem>,
)}
</List>
</Demo>
</Grid>
</Grid>
<Grid container spacing={2}>
<Grid item xs={12} md={6}>
<Typography sx={{ mt: 4, mb: 2 }} variant="h6" component="div">
Avatar with text
</Typography>
<Demo>
<List dense={dense}>
{generate(
<ListItem>
<ListItemAvatar>
<Avatar>
<FolderIcon />
</Avatar>
</ListItemAvatar>
<ListItemText
primary="Single-line item"
secondary={secondary ? 'Secondary text' : null}
/>
</ListItem>,
)}
</List>
</Demo>
</Grid>
<Grid item xs={12} md={6}>
<Typography sx={{ mt: 4, mb: 2 }} variant="h6" component="div">
Avatar with text and icon
</Typography>
<Demo>
<List dense={dense}>
{generate(
<ListItem
secondaryAction={
<IconButton edge="end" aria-label="delete">
<DeleteIcon />
</IconButton>
}
>
<ListItemAvatar>
<Avatar>
<FolderIcon />
</Avatar>
</ListItemAvatar>
<ListItemText
primary="Single-line item"
secondary={secondary ? 'Secondary text' : null}
/>
</ListItem>,
)}
</List>
</Demo>
</Grid>
</Grid>
</Box>
);
}
| 2,620 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/lists/InteractiveList.tsx | import * as React from 'react';
import { styled } from '@mui/material/styles';
import Box from '@mui/material/Box';
import List from '@mui/material/List';
import ListItem from '@mui/material/ListItem';
import ListItemAvatar from '@mui/material/ListItemAvatar';
import ListItemIcon from '@mui/material/ListItemIcon';
import ListItemText from '@mui/material/ListItemText';
import Avatar from '@mui/material/Avatar';
import IconButton from '@mui/material/IconButton';
import FormGroup from '@mui/material/FormGroup';
import FormControlLabel from '@mui/material/FormControlLabel';
import Checkbox from '@mui/material/Checkbox';
import Grid from '@mui/material/Grid';
import Typography from '@mui/material/Typography';
import FolderIcon from '@mui/icons-material/Folder';
import DeleteIcon from '@mui/icons-material/Delete';
function generate(element: React.ReactElement) {
return [0, 1, 2].map((value) =>
React.cloneElement(element, {
key: value,
}),
);
}
const Demo = styled('div')(({ theme }) => ({
backgroundColor: theme.palette.background.paper,
}));
export default function InteractiveList() {
const [dense, setDense] = React.useState(false);
const [secondary, setSecondary] = React.useState(false);
return (
<Box sx={{ flexGrow: 1, maxWidth: 752 }}>
<FormGroup row>
<FormControlLabel
control={
<Checkbox
checked={dense}
onChange={(event) => setDense(event.target.checked)}
/>
}
label="Enable dense"
/>
<FormControlLabel
control={
<Checkbox
checked={secondary}
onChange={(event) => setSecondary(event.target.checked)}
/>
}
label="Enable secondary text"
/>
</FormGroup>
<Grid container spacing={2}>
<Grid item xs={12} md={6}>
<Typography sx={{ mt: 4, mb: 2 }} variant="h6" component="div">
Text only
</Typography>
<Demo>
<List dense={dense}>
{generate(
<ListItem>
<ListItemText
primary="Single-line item"
secondary={secondary ? 'Secondary text' : null}
/>
</ListItem>,
)}
</List>
</Demo>
</Grid>
<Grid item xs={12} md={6}>
<Typography sx={{ mt: 4, mb: 2 }} variant="h6" component="div">
Icon with text
</Typography>
<Demo>
<List dense={dense}>
{generate(
<ListItem>
<ListItemIcon>
<FolderIcon />
</ListItemIcon>
<ListItemText
primary="Single-line item"
secondary={secondary ? 'Secondary text' : null}
/>
</ListItem>,
)}
</List>
</Demo>
</Grid>
</Grid>
<Grid container spacing={2}>
<Grid item xs={12} md={6}>
<Typography sx={{ mt: 4, mb: 2 }} variant="h6" component="div">
Avatar with text
</Typography>
<Demo>
<List dense={dense}>
{generate(
<ListItem>
<ListItemAvatar>
<Avatar>
<FolderIcon />
</Avatar>
</ListItemAvatar>
<ListItemText
primary="Single-line item"
secondary={secondary ? 'Secondary text' : null}
/>
</ListItem>,
)}
</List>
</Demo>
</Grid>
<Grid item xs={12} md={6}>
<Typography sx={{ mt: 4, mb: 2 }} variant="h6" component="div">
Avatar with text and icon
</Typography>
<Demo>
<List dense={dense}>
{generate(
<ListItem
secondaryAction={
<IconButton edge="end" aria-label="delete">
<DeleteIcon />
</IconButton>
}
>
<ListItemAvatar>
<Avatar>
<FolderIcon />
</Avatar>
</ListItemAvatar>
<ListItemText
primary="Single-line item"
secondary={secondary ? 'Secondary text' : null}
/>
</ListItem>,
)}
</List>
</Demo>
</Grid>
</Grid>
</Box>
);
}
| 2,621 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/lists/NestedList.js | import * as React from 'react';
import ListSubheader from '@mui/material/ListSubheader';
import List from '@mui/material/List';
import ListItemButton from '@mui/material/ListItemButton';
import ListItemIcon from '@mui/material/ListItemIcon';
import ListItemText from '@mui/material/ListItemText';
import Collapse from '@mui/material/Collapse';
import InboxIcon from '@mui/icons-material/MoveToInbox';
import DraftsIcon from '@mui/icons-material/Drafts';
import SendIcon from '@mui/icons-material/Send';
import ExpandLess from '@mui/icons-material/ExpandLess';
import ExpandMore from '@mui/icons-material/ExpandMore';
import StarBorder from '@mui/icons-material/StarBorder';
export default function NestedList() {
const [open, setOpen] = React.useState(true);
const handleClick = () => {
setOpen(!open);
};
return (
<List
sx={{ width: '100%', maxWidth: 360, bgcolor: 'background.paper' }}
component="nav"
aria-labelledby="nested-list-subheader"
subheader={
<ListSubheader component="div" id="nested-list-subheader">
Nested List Items
</ListSubheader>
}
>
<ListItemButton>
<ListItemIcon>
<SendIcon />
</ListItemIcon>
<ListItemText primary="Sent mail" />
</ListItemButton>
<ListItemButton>
<ListItemIcon>
<DraftsIcon />
</ListItemIcon>
<ListItemText primary="Drafts" />
</ListItemButton>
<ListItemButton onClick={handleClick}>
<ListItemIcon>
<InboxIcon />
</ListItemIcon>
<ListItemText primary="Inbox" />
{open ? <ExpandLess /> : <ExpandMore />}
</ListItemButton>
<Collapse in={open} timeout="auto" unmountOnExit>
<List component="div" disablePadding>
<ListItemButton sx={{ pl: 4 }}>
<ListItemIcon>
<StarBorder />
</ListItemIcon>
<ListItemText primary="Starred" />
</ListItemButton>
</List>
</Collapse>
</List>
);
}
| 2,622 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/lists/NestedList.tsx | import * as React from 'react';
import ListSubheader from '@mui/material/ListSubheader';
import List from '@mui/material/List';
import ListItemButton from '@mui/material/ListItemButton';
import ListItemIcon from '@mui/material/ListItemIcon';
import ListItemText from '@mui/material/ListItemText';
import Collapse from '@mui/material/Collapse';
import InboxIcon from '@mui/icons-material/MoveToInbox';
import DraftsIcon from '@mui/icons-material/Drafts';
import SendIcon from '@mui/icons-material/Send';
import ExpandLess from '@mui/icons-material/ExpandLess';
import ExpandMore from '@mui/icons-material/ExpandMore';
import StarBorder from '@mui/icons-material/StarBorder';
export default function NestedList() {
const [open, setOpen] = React.useState(true);
const handleClick = () => {
setOpen(!open);
};
return (
<List
sx={{ width: '100%', maxWidth: 360, bgcolor: 'background.paper' }}
component="nav"
aria-labelledby="nested-list-subheader"
subheader={
<ListSubheader component="div" id="nested-list-subheader">
Nested List Items
</ListSubheader>
}
>
<ListItemButton>
<ListItemIcon>
<SendIcon />
</ListItemIcon>
<ListItemText primary="Sent mail" />
</ListItemButton>
<ListItemButton>
<ListItemIcon>
<DraftsIcon />
</ListItemIcon>
<ListItemText primary="Drafts" />
</ListItemButton>
<ListItemButton onClick={handleClick}>
<ListItemIcon>
<InboxIcon />
</ListItemIcon>
<ListItemText primary="Inbox" />
{open ? <ExpandLess /> : <ExpandMore />}
</ListItemButton>
<Collapse in={open} timeout="auto" unmountOnExit>
<List component="div" disablePadding>
<ListItemButton sx={{ pl: 4 }}>
<ListItemIcon>
<StarBorder />
</ListItemIcon>
<ListItemText primary="Starred" />
</ListItemButton>
</List>
</Collapse>
</List>
);
}
| 2,623 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/lists/PinnedSubheaderList.js | import * as React from 'react';
import List from '@mui/material/List';
import ListItem from '@mui/material/ListItem';
import ListItemText from '@mui/material/ListItemText';
import ListSubheader from '@mui/material/ListSubheader';
export default function PinnedSubheaderList() {
return (
<List
sx={{
width: '100%',
maxWidth: 360,
bgcolor: 'background.paper',
position: 'relative',
overflow: 'auto',
maxHeight: 300,
'& ul': { padding: 0 },
}}
subheader={<li />}
>
{[0, 1, 2, 3, 4].map((sectionId) => (
<li key={`section-${sectionId}`}>
<ul>
<ListSubheader>{`I'm sticky ${sectionId}`}</ListSubheader>
{[0, 1, 2].map((item) => (
<ListItem key={`item-${sectionId}-${item}`}>
<ListItemText primary={`Item ${item}`} />
</ListItem>
))}
</ul>
</li>
))}
</List>
);
}
| 2,624 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/lists/PinnedSubheaderList.tsx | import * as React from 'react';
import List from '@mui/material/List';
import ListItem from '@mui/material/ListItem';
import ListItemText from '@mui/material/ListItemText';
import ListSubheader from '@mui/material/ListSubheader';
export default function PinnedSubheaderList() {
return (
<List
sx={{
width: '100%',
maxWidth: 360,
bgcolor: 'background.paper',
position: 'relative',
overflow: 'auto',
maxHeight: 300,
'& ul': { padding: 0 },
}}
subheader={<li />}
>
{[0, 1, 2, 3, 4].map((sectionId) => (
<li key={`section-${sectionId}`}>
<ul>
<ListSubheader>{`I'm sticky ${sectionId}`}</ListSubheader>
{[0, 1, 2].map((item) => (
<ListItem key={`item-${sectionId}-${item}`}>
<ListItemText primary={`Item ${item}`} />
</ListItem>
))}
</ul>
</li>
))}
</List>
);
}
| 2,625 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/lists/SelectedListItem.js | import * as React from 'react';
import Box from '@mui/material/Box';
import List from '@mui/material/List';
import ListItemButton from '@mui/material/ListItemButton';
import ListItemIcon from '@mui/material/ListItemIcon';
import ListItemText from '@mui/material/ListItemText';
import Divider from '@mui/material/Divider';
import InboxIcon from '@mui/icons-material/Inbox';
import DraftsIcon from '@mui/icons-material/Drafts';
export default function SelectedListItem() {
const [selectedIndex, setSelectedIndex] = React.useState(1);
const handleListItemClick = (event, index) => {
setSelectedIndex(index);
};
return (
<Box sx={{ width: '100%', maxWidth: 360, bgcolor: 'background.paper' }}>
<List component="nav" aria-label="main mailbox folders">
<ListItemButton
selected={selectedIndex === 0}
onClick={(event) => handleListItemClick(event, 0)}
>
<ListItemIcon>
<InboxIcon />
</ListItemIcon>
<ListItemText primary="Inbox" />
</ListItemButton>
<ListItemButton
selected={selectedIndex === 1}
onClick={(event) => handleListItemClick(event, 1)}
>
<ListItemIcon>
<DraftsIcon />
</ListItemIcon>
<ListItemText primary="Drafts" />
</ListItemButton>
</List>
<Divider />
<List component="nav" aria-label="secondary mailbox folder">
<ListItemButton
selected={selectedIndex === 2}
onClick={(event) => handleListItemClick(event, 2)}
>
<ListItemText primary="Trash" />
</ListItemButton>
<ListItemButton
selected={selectedIndex === 3}
onClick={(event) => handleListItemClick(event, 3)}
>
<ListItemText primary="Spam" />
</ListItemButton>
</List>
</Box>
);
}
| 2,626 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/lists/SelectedListItem.tsx | import * as React from 'react';
import Box from '@mui/material/Box';
import List from '@mui/material/List';
import ListItemButton from '@mui/material/ListItemButton';
import ListItemIcon from '@mui/material/ListItemIcon';
import ListItemText from '@mui/material/ListItemText';
import Divider from '@mui/material/Divider';
import InboxIcon from '@mui/icons-material/Inbox';
import DraftsIcon from '@mui/icons-material/Drafts';
export default function SelectedListItem() {
const [selectedIndex, setSelectedIndex] = React.useState(1);
const handleListItemClick = (
event: React.MouseEvent<HTMLDivElement, MouseEvent>,
index: number,
) => {
setSelectedIndex(index);
};
return (
<Box sx={{ width: '100%', maxWidth: 360, bgcolor: 'background.paper' }}>
<List component="nav" aria-label="main mailbox folders">
<ListItemButton
selected={selectedIndex === 0}
onClick={(event) => handleListItemClick(event, 0)}
>
<ListItemIcon>
<InboxIcon />
</ListItemIcon>
<ListItemText primary="Inbox" />
</ListItemButton>
<ListItemButton
selected={selectedIndex === 1}
onClick={(event) => handleListItemClick(event, 1)}
>
<ListItemIcon>
<DraftsIcon />
</ListItemIcon>
<ListItemText primary="Drafts" />
</ListItemButton>
</List>
<Divider />
<List component="nav" aria-label="secondary mailbox folder">
<ListItemButton
selected={selectedIndex === 2}
onClick={(event) => handleListItemClick(event, 2)}
>
<ListItemText primary="Trash" />
</ListItemButton>
<ListItemButton
selected={selectedIndex === 3}
onClick={(event) => handleListItemClick(event, 3)}
>
<ListItemText primary="Spam" />
</ListItemButton>
</List>
</Box>
);
}
| 2,627 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/lists/SwitchListSecondary.js | import * as React from 'react';
import List from '@mui/material/List';
import ListItem from '@mui/material/ListItem';
import ListItemIcon from '@mui/material/ListItemIcon';
import ListItemText from '@mui/material/ListItemText';
import ListSubheader from '@mui/material/ListSubheader';
import Switch from '@mui/material/Switch';
import WifiIcon from '@mui/icons-material/Wifi';
import BluetoothIcon from '@mui/icons-material/Bluetooth';
export default function SwitchListSecondary() {
const [checked, setChecked] = React.useState(['wifi']);
const handleToggle = (value) => () => {
const currentIndex = checked.indexOf(value);
const newChecked = [...checked];
if (currentIndex === -1) {
newChecked.push(value);
} else {
newChecked.splice(currentIndex, 1);
}
setChecked(newChecked);
};
return (
<List
sx={{ width: '100%', maxWidth: 360, bgcolor: 'background.paper' }}
subheader={<ListSubheader>Settings</ListSubheader>}
>
<ListItem>
<ListItemIcon>
<WifiIcon />
</ListItemIcon>
<ListItemText id="switch-list-label-wifi" primary="Wi-Fi" />
<Switch
edge="end"
onChange={handleToggle('wifi')}
checked={checked.indexOf('wifi') !== -1}
inputProps={{
'aria-labelledby': 'switch-list-label-wifi',
}}
/>
</ListItem>
<ListItem>
<ListItemIcon>
<BluetoothIcon />
</ListItemIcon>
<ListItemText id="switch-list-label-bluetooth" primary="Bluetooth" />
<Switch
edge="end"
onChange={handleToggle('bluetooth')}
checked={checked.indexOf('bluetooth') !== -1}
inputProps={{
'aria-labelledby': 'switch-list-label-bluetooth',
}}
/>
</ListItem>
</List>
);
}
| 2,628 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/lists/SwitchListSecondary.tsx | import * as React from 'react';
import List from '@mui/material/List';
import ListItem from '@mui/material/ListItem';
import ListItemIcon from '@mui/material/ListItemIcon';
import ListItemText from '@mui/material/ListItemText';
import ListSubheader from '@mui/material/ListSubheader';
import Switch from '@mui/material/Switch';
import WifiIcon from '@mui/icons-material/Wifi';
import BluetoothIcon from '@mui/icons-material/Bluetooth';
export default function SwitchListSecondary() {
const [checked, setChecked] = React.useState(['wifi']);
const handleToggle = (value: string) => () => {
const currentIndex = checked.indexOf(value);
const newChecked = [...checked];
if (currentIndex === -1) {
newChecked.push(value);
} else {
newChecked.splice(currentIndex, 1);
}
setChecked(newChecked);
};
return (
<List
sx={{ width: '100%', maxWidth: 360, bgcolor: 'background.paper' }}
subheader={<ListSubheader>Settings</ListSubheader>}
>
<ListItem>
<ListItemIcon>
<WifiIcon />
</ListItemIcon>
<ListItemText id="switch-list-label-wifi" primary="Wi-Fi" />
<Switch
edge="end"
onChange={handleToggle('wifi')}
checked={checked.indexOf('wifi') !== -1}
inputProps={{
'aria-labelledby': 'switch-list-label-wifi',
}}
/>
</ListItem>
<ListItem>
<ListItemIcon>
<BluetoothIcon />
</ListItemIcon>
<ListItemText id="switch-list-label-bluetooth" primary="Bluetooth" />
<Switch
edge="end"
onChange={handleToggle('bluetooth')}
checked={checked.indexOf('bluetooth') !== -1}
inputProps={{
'aria-labelledby': 'switch-list-label-bluetooth',
}}
/>
</ListItem>
</List>
);
}
| 2,629 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/lists/VirtualizedList.js | import * as React from 'react';
import Box from '@mui/material/Box';
import ListItem from '@mui/material/ListItem';
import ListItemButton from '@mui/material/ListItemButton';
import ListItemText from '@mui/material/ListItemText';
import { FixedSizeList } from 'react-window';
function renderRow(props) {
const { index, style } = props;
return (
<ListItem style={style} key={index} component="div" disablePadding>
<ListItemButton>
<ListItemText primary={`Item ${index + 1}`} />
</ListItemButton>
</ListItem>
);
}
export default function VirtualizedList() {
return (
<Box
sx={{ width: '100%', height: 400, maxWidth: 360, bgcolor: 'background.paper' }}
>
<FixedSizeList
height={400}
width={360}
itemSize={46}
itemCount={200}
overscanCount={5}
>
{renderRow}
</FixedSizeList>
</Box>
);
}
| 2,630 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/lists/VirtualizedList.tsx | import * as React from 'react';
import Box from '@mui/material/Box';
import ListItem from '@mui/material/ListItem';
import ListItemButton from '@mui/material/ListItemButton';
import ListItemText from '@mui/material/ListItemText';
import { FixedSizeList, ListChildComponentProps } from 'react-window';
function renderRow(props: ListChildComponentProps) {
const { index, style } = props;
return (
<ListItem style={style} key={index} component="div" disablePadding>
<ListItemButton>
<ListItemText primary={`Item ${index + 1}`} />
</ListItemButton>
</ListItem>
);
}
export default function VirtualizedList() {
return (
<Box
sx={{ width: '100%', height: 400, maxWidth: 360, bgcolor: 'background.paper' }}
>
<FixedSizeList
height={400}
width={360}
itemSize={46}
itemCount={200}
overscanCount={5}
>
{renderRow}
</FixedSizeList>
</Box>
);
}
| 2,631 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/lists/VirtualizedList.tsx.preview | <FixedSizeList
height={400}
width={360}
itemSize={46}
itemCount={200}
overscanCount={5}
>
{renderRow}
</FixedSizeList> | 2,632 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/lists/lists.md | ---
productId: material-ui
title: React List component
components: Collapse, Divider, List, ListItem, ListItemButton, ListItemAvatar, ListItemIcon, ListItemSecondaryAction, ListItemText, ListSubheader
githubLabel: 'component: list'
materialDesign: https://m2.material.io/components/lists
---
# Lists
<p class="description">Lists are continuous, vertical indexes of text or images.</p>
Lists are a continuous group of text or images. They are composed of items containing primary and supplemental actions, which are represented by icons and text.
{{"component": "modules/components/ComponentLinkHeader.js"}}
## Basic List
{{"demo": "BasicList.js", "bg": true}}
The last item of the previous demo shows how you can render a link:
```jsx
<ListItemButton component="a" href="#simple-list">
<ListItemText primary="Spam" />
</ListItemButton>
```
You can find a [demo with React Router following this section](/material-ui/guides/routing/#list) of the documentation.
## Nested List
{{"demo": "NestedList.js", "bg": true}}
## Folder List
{{"demo": "FolderList.js", "bg": true}}
## Interactive
Below is an interactive demo that lets you explore the visual results of the different settings:
{{"demo": "InteractiveList.js", "bg": true}}
## Selected ListItem
{{"demo": "SelectedListItem.js", "bg": true}}
## Align list items
When displaying three lines or more, the avatar is not aligned at the top.
You should set the `alignItems="flex-start"` prop to align the avatar at the top, following the Material Design guidelines:
{{"demo": "AlignItemsList.js", "bg": true}}
## List Controls
### Checkbox
A checkbox can either be a primary action or a secondary action.
The checkbox is the primary action and the state indicator for the list item. The comment button is a secondary action and a separate target.
{{"demo": "CheckboxList.js", "bg": true}}
The checkbox is the secondary action for the list item and a separate target.
{{"demo": "CheckboxListSecondary.js", "bg": true}}
### Switch
The switch is the secondary action and a separate target.
{{"demo": "SwitchListSecondary.js", "bg": true}}
## Sticky subheader
Upon scrolling, subheaders remain pinned to the top of the screen until pushed off screen by the next subheader.
This feature relies on CSS sticky positioning.
(⚠️ no IE 11 support)
{{"demo": "PinnedSubheaderList.js", "bg": true}}
## Inset List Item
The `inset` prop enables a list item that does not have a leading icon or avatar to align correctly with items that do.
{{"demo": "InsetList.js", "bg": true}}
## Gutterless list
When rendering a list within a component that defines its own gutters, `ListItem` gutters can be disabled with `disableGutters`.
{{"demo": "GutterlessList.js", "bg": true}}
## Virtualized List
In the following example, we demonstrate how to use [react-window](https://github.com/bvaughn/react-window) with the `List` component.
It renders 200 rows and can easily handle more.
Virtualization helps with performance issues.
{{"demo": "VirtualizedList.js", "bg": true}}
The use of [react-window](https://github.com/bvaughn/react-window) when possible is encouraged.
If this library doesn't cover your use case, you should consider using alternatives like [react-virtuoso](https://github.com/petyosi/react-virtuoso).
## Customization
Here are some examples of customizing the component.
You can learn more about this in the
[overrides documentation page](/material-ui/customization/how-to-customize/).
{{"demo": "CustomizedList.js"}}
🎨 If you are looking for inspiration, you can check [MUI Treasury's customization examples](https://mui-treasury.com/styles/list-item/).
| 2,633 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/masonry/BasicMasonry.js | import * as React from 'react';
import Box from '@mui/material/Box';
import { styled } from '@mui/material/styles';
import Paper from '@mui/material/Paper';
import Masonry from '@mui/lab/Masonry';
const heights = [150, 30, 90, 70, 110, 150, 130, 80, 50, 90, 100, 150, 30, 50, 80];
const Item = styled(Paper)(({ theme }) => ({
backgroundColor: theme.palette.mode === 'dark' ? '#1A2027' : '#fff',
...theme.typography.body2,
padding: theme.spacing(0.5),
textAlign: 'center',
color: theme.palette.text.secondary,
}));
export default function BasicMasonry() {
return (
<Box sx={{ width: 500, minHeight: 393 }}>
<Masonry columns={4} spacing={2}>
{heights.map((height, index) => (
<Item key={index} sx={{ height }}>
{index + 1}
</Item>
))}
</Masonry>
</Box>
);
}
| 2,634 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/masonry/BasicMasonry.tsx | import * as React from 'react';
import Box from '@mui/material/Box';
import { styled } from '@mui/material/styles';
import Paper from '@mui/material/Paper';
import Masonry from '@mui/lab/Masonry';
const heights = [150, 30, 90, 70, 110, 150, 130, 80, 50, 90, 100, 150, 30, 50, 80];
const Item = styled(Paper)(({ theme }) => ({
backgroundColor: theme.palette.mode === 'dark' ? '#1A2027' : '#fff',
...theme.typography.body2,
padding: theme.spacing(0.5),
textAlign: 'center',
color: theme.palette.text.secondary,
}));
export default function BasicMasonry() {
return (
<Box sx={{ width: 500, minHeight: 393 }}>
<Masonry columns={4} spacing={2}>
{heights.map((height, index) => (
<Item key={index} sx={{ height }}>
{index + 1}
</Item>
))}
</Masonry>
</Box>
);
}
| 2,635 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/masonry/BasicMasonry.tsx.preview | <Masonry columns={4} spacing={2}>
{heights.map((height, index) => (
<Item key={index} sx={{ height }}>
{index + 1}
</Item>
))}
</Masonry> | 2,636 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/masonry/FixedColumns.js | import * as React from 'react';
import Box from '@mui/material/Box';
import { styled } from '@mui/material/styles';
import Paper from '@mui/material/Paper';
import Masonry from '@mui/lab/Masonry';
const heights = [150, 30, 90, 70, 90, 100, 150, 30, 50, 80];
const Item = styled(Paper)(({ theme }) => ({
backgroundColor: theme.palette.mode === 'dark' ? '#1A2027' : '#fff',
...theme.typography.body2,
padding: theme.spacing(0.5),
textAlign: 'center',
color: theme.palette.text.secondary,
}));
export default function FixedColumns() {
return (
<Box sx={{ width: 500, minHeight: 253 }}>
<Masonry columns={4} spacing={2}>
{heights.map((height, index) => (
<Item key={index} sx={{ height }}>
{index + 1}
</Item>
))}
</Masonry>
</Box>
);
}
| 2,637 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/masonry/FixedColumns.tsx | import * as React from 'react';
import Box from '@mui/material/Box';
import { styled } from '@mui/material/styles';
import Paper from '@mui/material/Paper';
import Masonry from '@mui/lab/Masonry';
const heights = [150, 30, 90, 70, 90, 100, 150, 30, 50, 80];
const Item = styled(Paper)(({ theme }) => ({
backgroundColor: theme.palette.mode === 'dark' ? '#1A2027' : '#fff',
...theme.typography.body2,
padding: theme.spacing(0.5),
textAlign: 'center',
color: theme.palette.text.secondary,
}));
export default function FixedColumns() {
return (
<Box sx={{ width: 500, minHeight: 253 }}>
<Masonry columns={4} spacing={2}>
{heights.map((height, index) => (
<Item key={index} sx={{ height }}>
{index + 1}
</Item>
))}
</Masonry>
</Box>
);
}
| 2,638 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/masonry/FixedColumns.tsx.preview | <Masonry columns={4} spacing={2}>
{heights.map((height, index) => (
<Item key={index} sx={{ height }}>
{index + 1}
</Item>
))}
</Masonry> | 2,639 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/masonry/FixedSpacing.js | import * as React from 'react';
import Box from '@mui/material/Box';
import { styled } from '@mui/material/styles';
import Paper from '@mui/material/Paper';
import Masonry from '@mui/lab/Masonry';
const heights = [150, 30, 90, 70, 90, 100, 150, 30, 50, 80];
const Item = styled(Paper)(({ theme }) => ({
backgroundColor: theme.palette.mode === 'dark' ? '#1A2027' : '#fff',
...theme.typography.body2,
padding: theme.spacing(0.5),
textAlign: 'center',
color: theme.palette.text.secondary,
}));
export default function FixedSpacing() {
return (
<Box sx={{ width: 500, minHeight: 377 }}>
<Masonry columns={3} spacing={3}>
{heights.map((height, index) => (
<Item key={index} sx={{ height }}>
{index + 1}
</Item>
))}
</Masonry>
</Box>
);
}
| 2,640 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/masonry/FixedSpacing.tsx | import * as React from 'react';
import Box from '@mui/material/Box';
import { styled } from '@mui/material/styles';
import Paper from '@mui/material/Paper';
import Masonry from '@mui/lab/Masonry';
const heights = [150, 30, 90, 70, 90, 100, 150, 30, 50, 80];
const Item = styled(Paper)(({ theme }) => ({
backgroundColor: theme.palette.mode === 'dark' ? '#1A2027' : '#fff',
...theme.typography.body2,
padding: theme.spacing(0.5),
textAlign: 'center',
color: theme.palette.text.secondary,
}));
export default function FixedSpacing() {
return (
<Box sx={{ width: 500, minHeight: 377 }}>
<Masonry columns={3} spacing={3}>
{heights.map((height, index) => (
<Item key={index} sx={{ height }}>
{index + 1}
</Item>
))}
</Masonry>
</Box>
);
}
| 2,641 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/masonry/FixedSpacing.tsx.preview | <Masonry columns={3} spacing={3}>
{heights.map((height, index) => (
<Item key={index} sx={{ height }}>
{index + 1}
</Item>
))}
</Masonry> | 2,642 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/masonry/ImageMasonry.js | import * as React from 'react';
import Box from '@mui/material/Box';
import Paper from '@mui/material/Paper';
import Masonry from '@mui/lab/Masonry';
import { styled } from '@mui/material/styles';
const Label = styled(Paper)(({ theme }) => ({
backgroundColor: theme.palette.mode === 'dark' ? '#1A2027' : '#fff',
...theme.typography.body2,
padding: theme.spacing(0.5),
textAlign: 'center',
color: theme.palette.text.secondary,
borderBottomLeftRadius: 0,
borderBottomRightRadius: 0,
}));
export default function ImageMasonry() {
return (
<Box sx={{ width: 500, minHeight: 829 }}>
<Masonry columns={3} spacing={2}>
{itemData.map((item, index) => (
<div key={index}>
<Label>{index + 1}</Label>
<img
srcSet={`${item.img}?w=162&auto=format&dpr=2 2x`}
src={`${item.img}?w=162&auto=format`}
alt={item.title}
loading="lazy"
style={{
borderBottomLeftRadius: 4,
borderBottomRightRadius: 4,
display: 'block',
width: '100%',
}}
/>
</div>
))}
</Masonry>
</Box>
);
}
const itemData = [
{
img: 'https://images.unsplash.com/photo-1518756131217-31eb79b20e8f',
title: 'Fern',
},
{
img: 'https://images.unsplash.com/photo-1627308595229-7830a5c91f9f',
title: 'Snacks',
},
{
img: 'https://images.unsplash.com/photo-1597645587822-e99fa5d45d25',
title: 'Mushrooms',
},
{
img: 'https://images.unsplash.com/photo-1529655683826-aba9b3e77383',
title: 'Tower',
},
{
img: 'https://images.unsplash.com/photo-1471357674240-e1a485acb3e1',
title: 'Sea star',
},
{
img: 'https://images.unsplash.com/photo-1558642452-9d2a7deb7f62',
title: 'Honey',
},
{
img: 'https://images.unsplash.com/photo-1516802273409-68526ee1bdd6',
title: 'Basketball',
},
{
img: 'https://images.unsplash.com/photo-1551963831-b3b1ca40c98e',
title: 'Breakfast',
},
{
img: 'https://images.unsplash.com/photo-1627328715728-7bcc1b5db87d',
title: 'Tree',
},
{
img: 'https://images.unsplash.com/photo-1551782450-a2132b4ba21d',
title: 'Burger',
},
{
img: 'https://images.unsplash.com/photo-1522770179533-24471fcdba45',
title: 'Camera',
},
{
img: 'https://images.unsplash.com/photo-1444418776041-9c7e33cc5a9c',
title: 'Coffee',
},
{
img: 'https://images.unsplash.com/photo-1627000086207-76eabf23aa2e',
title: 'Camping Car',
},
{
img: 'https://images.unsplash.com/photo-1533827432537-70133748f5c8',
title: 'Hats',
},
{
img: 'https://images.unsplash.com/photo-1567306301408-9b74779a11af',
title: 'Tomato basil',
},
{
img: 'https://images.unsplash.com/photo-1627328561499-a3584d4ee4f7',
title: 'Mountain',
},
{
img: 'https://images.unsplash.com/photo-1589118949245-7d38baf380d6',
title: 'Bike',
},
];
| 2,643 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/masonry/ImageMasonry.tsx | import * as React from 'react';
import Box from '@mui/material/Box';
import Paper from '@mui/material/Paper';
import Masonry from '@mui/lab/Masonry';
import { styled } from '@mui/material/styles';
const Label = styled(Paper)(({ theme }) => ({
backgroundColor: theme.palette.mode === 'dark' ? '#1A2027' : '#fff',
...theme.typography.body2,
padding: theme.spacing(0.5),
textAlign: 'center',
color: theme.palette.text.secondary,
borderBottomLeftRadius: 0,
borderBottomRightRadius: 0,
}));
export default function ImageMasonry() {
return (
<Box sx={{ width: 500, minHeight: 829 }}>
<Masonry columns={3} spacing={2}>
{itemData.map((item, index) => (
<div key={index}>
<Label>{index + 1}</Label>
<img
srcSet={`${item.img}?w=162&auto=format&dpr=2 2x`}
src={`${item.img}?w=162&auto=format`}
alt={item.title}
loading="lazy"
style={{
borderBottomLeftRadius: 4,
borderBottomRightRadius: 4,
display: 'block',
width: '100%',
}}
/>
</div>
))}
</Masonry>
</Box>
);
}
const itemData = [
{
img: 'https://images.unsplash.com/photo-1518756131217-31eb79b20e8f',
title: 'Fern',
},
{
img: 'https://images.unsplash.com/photo-1627308595229-7830a5c91f9f',
title: 'Snacks',
},
{
img: 'https://images.unsplash.com/photo-1597645587822-e99fa5d45d25',
title: 'Mushrooms',
},
{
img: 'https://images.unsplash.com/photo-1529655683826-aba9b3e77383',
title: 'Tower',
},
{
img: 'https://images.unsplash.com/photo-1471357674240-e1a485acb3e1',
title: 'Sea star',
},
{
img: 'https://images.unsplash.com/photo-1558642452-9d2a7deb7f62',
title: 'Honey',
},
{
img: 'https://images.unsplash.com/photo-1516802273409-68526ee1bdd6',
title: 'Basketball',
},
{
img: 'https://images.unsplash.com/photo-1551963831-b3b1ca40c98e',
title: 'Breakfast',
},
{
img: 'https://images.unsplash.com/photo-1627328715728-7bcc1b5db87d',
title: 'Tree',
},
{
img: 'https://images.unsplash.com/photo-1551782450-a2132b4ba21d',
title: 'Burger',
},
{
img: 'https://images.unsplash.com/photo-1522770179533-24471fcdba45',
title: 'Camera',
},
{
img: 'https://images.unsplash.com/photo-1444418776041-9c7e33cc5a9c',
title: 'Coffee',
},
{
img: 'https://images.unsplash.com/photo-1627000086207-76eabf23aa2e',
title: 'Camping Car',
},
{
img: 'https://images.unsplash.com/photo-1533827432537-70133748f5c8',
title: 'Hats',
},
{
img: 'https://images.unsplash.com/photo-1567306301408-9b74779a11af',
title: 'Tomato basil',
},
{
img: 'https://images.unsplash.com/photo-1627328561499-a3584d4ee4f7',
title: 'Mountain',
},
{
img: 'https://images.unsplash.com/photo-1589118949245-7d38baf380d6',
title: 'Bike',
},
];
| 2,644 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/masonry/MasonryWithVariableHeightItems.js | import * as React from 'react';
import { styled } from '@mui/material/styles';
import ExpandMoreIcon from '@mui/icons-material/ExpandMore';
import Masonry from '@mui/lab/Masonry';
import {
Accordion,
AccordionDetails,
AccordionSummary,
Typography,
} from '@mui/material';
import Box from '@mui/material/Box';
import Paper from '@mui/material/Paper';
const heights = [150, 30, 90, 70, 90, 100, 150, 30, 50, 80];
const StyledAccordion = styled(Accordion)(({ theme }) => ({
backgroundColor: theme.palette.mode === 'dark' ? '#1A2027' : '#fff',
color: theme.palette.text.secondary,
}));
export default function MasonryWithVariableHeightItems() {
return (
<Box sx={{ width: 500, minHeight: 377 }}>
<Masonry columns={3} spacing={2}>
{heights.map((height, index) => (
<Paper key={index}>
<StyledAccordion sx={{ minHeight: height }}>
<AccordionSummary expandIcon={<ExpandMoreIcon />}>
<Typography>Accordion {index + 1}</Typography>
</AccordionSummary>
<AccordionDetails>Contents</AccordionDetails>
</StyledAccordion>
</Paper>
))}
</Masonry>
</Box>
);
}
| 2,645 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/masonry/MasonryWithVariableHeightItems.tsx | import * as React from 'react';
import { styled } from '@mui/material/styles';
import ExpandMoreIcon from '@mui/icons-material/ExpandMore';
import Masonry from '@mui/lab/Masonry';
import {
Accordion,
AccordionDetails,
AccordionSummary,
Typography,
} from '@mui/material';
import Box from '@mui/material/Box';
import Paper from '@mui/material/Paper';
const heights = [150, 30, 90, 70, 90, 100, 150, 30, 50, 80];
const StyledAccordion = styled(Accordion)(({ theme }) => ({
backgroundColor: theme.palette.mode === 'dark' ? '#1A2027' : '#fff',
color: theme.palette.text.secondary,
}));
export default function MasonryWithVariableHeightItems() {
return (
<Box sx={{ width: 500, minHeight: 377 }}>
<Masonry columns={3} spacing={2}>
{heights.map((height, index) => (
<Paper key={index}>
<StyledAccordion sx={{ minHeight: height }}>
<AccordionSummary expandIcon={<ExpandMoreIcon />}>
<Typography>Accordion {index + 1}</Typography>
</AccordionSummary>
<AccordionDetails>Contents</AccordionDetails>
</StyledAccordion>
</Paper>
))}
</Masonry>
</Box>
);
}
| 2,646 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/masonry/MasonryWithVariableHeightItems.tsx.preview | <Masonry columns={3} spacing={2}>
{heights.map((height, index) => (
<Paper key={index}>
<StyledAccordion sx={{ minHeight: height }}>
<AccordionSummary expandIcon={<ExpandMoreIcon />}>
<Typography>Accordion {index + 1}</Typography>
</AccordionSummary>
<AccordionDetails>Contents</AccordionDetails>
</StyledAccordion>
</Paper>
))}
</Masonry> | 2,647 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/masonry/ResponsiveColumns.js | import * as React from 'react';
import Box from '@mui/material/Box';
import { styled } from '@mui/material/styles';
import Paper from '@mui/material/Paper';
import Masonry from '@mui/lab/Masonry';
const heights = [150, 30, 90, 70, 90, 100, 150, 30, 50, 80];
const Item = styled(Paper)(({ theme }) => ({
backgroundColor: theme.palette.mode === 'dark' ? '#1A2027' : '#fff',
...theme.typography.body2,
padding: theme.spacing(0.5),
textAlign: 'center',
color: theme.palette.text.secondary,
}));
export default function ResponsiveColumns() {
return (
<Box sx={{ width: 500, minHeight: 253 }}>
<Masonry columns={{ xs: 3, sm: 4 }} spacing={2}>
{heights.map((height, index) => (
<Item key={index} sx={{ height }}>
{index + 1}
</Item>
))}
</Masonry>
</Box>
);
}
| 2,648 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/masonry/ResponsiveColumns.tsx | import * as React from 'react';
import Box from '@mui/material/Box';
import { styled } from '@mui/material/styles';
import Paper from '@mui/material/Paper';
import Masonry from '@mui/lab/Masonry';
const heights = [150, 30, 90, 70, 90, 100, 150, 30, 50, 80];
const Item = styled(Paper)(({ theme }) => ({
backgroundColor: theme.palette.mode === 'dark' ? '#1A2027' : '#fff',
...theme.typography.body2,
padding: theme.spacing(0.5),
textAlign: 'center',
color: theme.palette.text.secondary,
}));
export default function ResponsiveColumns() {
return (
<Box sx={{ width: 500, minHeight: 253 }}>
<Masonry columns={{ xs: 3, sm: 4 }} spacing={2}>
{heights.map((height, index) => (
<Item key={index} sx={{ height }}>
{index + 1}
</Item>
))}
</Masonry>
</Box>
);
}
| 2,649 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/masonry/ResponsiveColumns.tsx.preview | <Masonry columns={{ xs: 3, sm: 4 }} spacing={2}>
{heights.map((height, index) => (
<Item key={index} sx={{ height }}>
{index + 1}
</Item>
))}
</Masonry> | 2,650 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/masonry/ResponsiveSpacing.js | import * as React from 'react';
import Box from '@mui/material/Box';
import { styled } from '@mui/material/styles';
import Paper from '@mui/material/Paper';
import Masonry from '@mui/lab/Masonry';
const heights = [150, 30, 90, 70, 90, 100, 150, 30, 50, 80];
const Item = styled(Paper)(({ theme }) => ({
backgroundColor: theme.palette.mode === 'dark' ? '#1A2027' : '#fff',
...theme.typography.body2,
padding: theme.spacing(0.5),
textAlign: 'center',
color: theme.palette.text.secondary,
}));
export default function ResponsiveSpacing() {
return (
<Box sx={{ width: 500, minHeight: 377 }}>
<Masonry columns={3} spacing={{ xs: 1, sm: 2, md: 3 }}>
{heights.map((height, index) => (
<Item key={index} sx={{ height }}>
{index + 1}
</Item>
))}
</Masonry>
</Box>
);
}
| 2,651 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/masonry/ResponsiveSpacing.tsx | import * as React from 'react';
import Box from '@mui/material/Box';
import { styled } from '@mui/material/styles';
import Paper from '@mui/material/Paper';
import Masonry from '@mui/lab/Masonry';
const heights = [150, 30, 90, 70, 90, 100, 150, 30, 50, 80];
const Item = styled(Paper)(({ theme }) => ({
backgroundColor: theme.palette.mode === 'dark' ? '#1A2027' : '#fff',
...theme.typography.body2,
padding: theme.spacing(0.5),
textAlign: 'center',
color: theme.palette.text.secondary,
}));
export default function ResponsiveSpacing() {
return (
<Box sx={{ width: 500, minHeight: 377 }}>
<Masonry columns={3} spacing={{ xs: 1, sm: 2, md: 3 }}>
{heights.map((height, index) => (
<Item key={index} sx={{ height }}>
{index + 1}
</Item>
))}
</Masonry>
</Box>
);
}
| 2,652 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/masonry/ResponsiveSpacing.tsx.preview | <Masonry columns={3} spacing={{ xs: 1, sm: 2, md: 3 }}>
{heights.map((height, index) => (
<Item key={index} sx={{ height }}>
{index + 1}
</Item>
))}
</Masonry> | 2,653 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/masonry/SSRMasonry.js | import * as React from 'react';
import Box from '@mui/material/Box';
import { styled } from '@mui/material/styles';
import Paper from '@mui/material/Paper';
import Masonry from '@mui/lab/Masonry';
const heights = [150, 30, 90, 70, 110, 150, 130, 80, 50, 90, 100, 150, 30, 50, 80];
const Item = styled(Paper)(({ theme }) => ({
backgroundColor: theme.palette.mode === 'dark' ? '#1A2027' : '#fff',
...theme.typography.body2,
padding: theme.spacing(0.5),
textAlign: 'center',
color: theme.palette.text.secondary,
}));
export default function SSRMasonry() {
return (
<Box sx={{ width: 500, minHeight: 393 }}>
<Masonry
columns={4}
spacing={2}
defaultHeight={450}
defaultColumns={4}
defaultSpacing={1}
>
{heights.map((height, index) => (
<Item key={index} sx={{ height }}>
{index + 1}
</Item>
))}
</Masonry>
</Box>
);
}
| 2,654 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/masonry/SSRMasonry.tsx | import * as React from 'react';
import Box from '@mui/material/Box';
import { styled } from '@mui/material/styles';
import Paper from '@mui/material/Paper';
import Masonry from '@mui/lab/Masonry';
const heights = [150, 30, 90, 70, 110, 150, 130, 80, 50, 90, 100, 150, 30, 50, 80];
const Item = styled(Paper)(({ theme }) => ({
backgroundColor: theme.palette.mode === 'dark' ? '#1A2027' : '#fff',
...theme.typography.body2,
padding: theme.spacing(0.5),
textAlign: 'center',
color: theme.palette.text.secondary,
}));
export default function SSRMasonry() {
return (
<Box sx={{ width: 500, minHeight: 393 }}>
<Masonry
columns={4}
spacing={2}
defaultHeight={450}
defaultColumns={4}
defaultSpacing={1}
>
{heights.map((height, index) => (
<Item key={index} sx={{ height }}>
{index + 1}
</Item>
))}
</Masonry>
</Box>
);
}
| 2,655 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/masonry/SSRMasonry.tsx.preview | <Masonry
columns={4}
spacing={2}
defaultHeight={450}
defaultColumns={4}
defaultSpacing={1}
>
{heights.map((height, index) => (
<Item key={index} sx={{ height }}>
{index + 1}
</Item>
))}
</Masonry> | 2,656 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/masonry/masonry.md | ---
productId: material-ui
title: React Masonry component
components: Masonry
githubLabel: 'component: masonry'
---
# Masonry
<p class="description">Masonry lays out contents of varying dimensions as blocks of the same width and different height with configurable gaps.</p>
Masonry maintains a list of content blocks with a consistent width but different height.
The contents are ordered by row.
If a row is already filled with the specified number of columns, the next item starts another row, and it is added to the shortest column in order to optimize the use of space.
{{"component": "modules/components/ComponentLinkHeader.js", "design": false}}
## Basic masonry
A simple example of a `Masonry`. `Masonry` is a container for one or more items. It can receive any element including `<div />` and `<img />`.
{{"demo": "BasicMasonry.js", "bg": true}}
## Image masonry
This example demonstrates the use of `Masonry` for images. `Masonry` orders its children by row.
If you'd like to order images by column, check out [ImageList](/material-ui/react-image-list/#masonry-image-list).
{{"demo": "ImageMasonry.js", "bg": true}}
## Items with variable height
This example demonstrates the use of `Masonry` for items with variable height.
Items can move to other columns in order to abide by the rule that items are always added to the shortest column and hence optimize the use of space.
{{"demo": "MasonryWithVariableHeightItems.js", "bg": true}}
## Columns
This example demonstrates the use of the `columns` to configure the number of columns of a `Masonry`.
{{"demo": "FixedColumns.js", "bg": true}}
`columns` accepts responsive values:
{{"demo": "ResponsiveColumns.js", "bg": true}}
## Spacing
This example demonstrates the use of the `spacing` to configure the spacing between items.
It is important to note that the value provided to the `spacing` prop is multiplied by the theme's spacing field.
{{"demo": "FixedSpacing.js", "bg": true}}
`spacing` accepts responsive values:
{{"demo": "ResponsiveSpacing.js", "bg": true}}
## Server-side rendering
This example demonstrates the use of the `defaultHeight`, `defaultColumns` and `defaultSpacing`, which are used to
support server-side rendering.
:::info
`defaultHeight` should be large enough to render all rows. Also, it is worth mentioning that items are not added to the shortest column in case of server-side rendering.
:::
{{"demo": "SSRMasonry.js", "bg": true}}
| 2,657 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/material-icons/SearchIcons.js | import * as React from 'react';
import { styled } from '@mui/material/styles';
import MuiPaper from '@mui/material/Paper';
import Box from '@mui/material/Box';
import copy from 'clipboard-copy';
import InputBase from '@mui/material/InputBase';
import Typography from '@mui/material/Typography';
import PropTypes from 'prop-types';
import { debounce } from '@mui/material/utils';
import Grid from '@mui/material/Grid';
import Dialog from '@mui/material/Dialog';
import DialogActions from '@mui/material/DialogActions';
import DialogContent from '@mui/material/DialogContent';
import DialogTitle from '@mui/material/DialogTitle';
import IconButton from '@mui/material/IconButton';
import Tooltip from '@mui/material/Tooltip';
import Button from '@mui/material/Button';
import { Index as FlexSearchIndex } from 'flexsearch';
import SearchIcon from '@mui/icons-material/Search';
import FormControlLabel from '@mui/material/FormControlLabel';
import RadioGroup from '@mui/material/RadioGroup';
import Radio from '@mui/material/Radio';
import SvgIcon from '@mui/material/SvgIcon';
import * as mui from '@mui/icons-material';
import Link from 'docs/src/modules/components/Link';
import { useTranslate } from 'docs/src/modules/utils/i18n';
import useQueryParameterState from 'docs/src/modules/utils/useQueryParameterState';
// For Debugging
// import Menu from '@mui/icons-material/Menu';
// import MenuOutlined from '@mui/icons-material/MenuOutlined';
// import MenuRounded from '@mui/icons-material/MenuRounded';
// import MenuTwoTone from '@mui/icons-material/MenuTwoTone';
// import MenuSharp from '@mui/icons-material/MenuSharp';
// import ExitToApp from '@mui/icons-material/ExitToApp';
// import ExitToAppOutlined from '@mui/icons-material/ExitToAppOutlined';
// import ExitToAppRounded from '@mui/icons-material/ExitToAppRounded';
// import ExitToAppTwoTone from '@mui/icons-material/ExitToAppTwoTone';
// import ExitToAppSharp from '@mui/icons-material/ExitToAppSharp';
// import Delete from '@mui/icons-material/Delete';
// import DeleteOutlined from '@mui/icons-material/DeleteOutlined';
// import DeleteRounded from '@mui/icons-material/DeleteRounded';
// import DeleteTwoTone from '@mui/icons-material/DeleteTwoTone';
// import DeleteSharp from '@mui/icons-material/DeleteSharp';
// import DeleteForever from '@mui/icons-material/DeleteForever';
// import DeleteForeverOutlined from '@mui/icons-material/DeleteForeverOutlined';
// import DeleteForeverRounded from '@mui/icons-material/DeleteForeverRounded';
// import DeleteForeverTwoTone from '@mui/icons-material/DeleteForeverTwoTone';
// import DeleteForeverSharp from '@mui/icons-material/DeleteForeverSharp';
import HighlightedCode from 'docs/src/modules/components/HighlightedCode';
import synonyms from './synonyms';
const UPDATE_SEARCH_INDEX_WAIT_MS = 220;
// const mui = {
// ExitToApp,
// ExitToAppOutlined,
// ExitToAppRounded,
// ExitToAppTwoTone,
// ExitToAppSharp,
// Menu,
// MenuOutlined,
// MenuRounded,
// MenuTwoTone,
// MenuSharp,
// Delete,
// DeleteOutlined,
// DeleteRounded,
// DeleteTwoTone,
// DeleteSharp,
// DeleteForever,
// DeleteForeverOutlined,
// DeleteForeverRounded,
// DeleteForeverTwoTone,
// DeleteForeverSharp,
// };
if (process.env.NODE_ENV !== 'production') {
Object.keys(synonyms).forEach((icon) => {
if (!mui[icon]) {
console.warn(`The icon ${icon} no longer exists. Remove it from \`synonyms\``);
}
});
}
function selectNode(node) {
// Clear any current selection
const selection = window.getSelection();
selection.removeAllRanges();
// Select code
const range = document.createRange();
range.selectNodeContents(node);
selection.addRange(range);
}
const StyledIcon = styled('span')(({ theme }) => ({
display: 'inline-flex',
flexDirection: 'column',
color: theme.palette.text.secondary,
margin: '0 4px',
'& > div': {
display: 'flex',
},
'& > div > *': {
flexGrow: 1,
fontSize: '.6rem',
overflow: 'hidden',
textOverflow: 'ellipsis',
textAlign: 'center',
width: 0,
},
}));
const StyledSvgIcon = styled(SvgIcon)(({ theme }) => ({
boxSizing: 'content-box',
cursor: 'pointer',
color: theme.palette.text.primary,
borderRadius: theme.shape.borderRadius,
transition: theme.transitions.create(['background-color', 'box-shadow'], {
duration: theme.transitions.duration.shortest,
}),
padding: theme.spacing(2),
margin: theme.spacing(0.5, 0),
'&:hover': {
backgroundColor: theme.palette.background.paper,
boxShadow: theme.shadows[1],
},
}));
const Icons = React.memo(function Icons(props) {
const { icons, handleOpenClick } = props;
const handleIconClick = (icon) => () => {
if (Math.random() < 0.1) {
window.gtag('event', 'material-icons', {
eventAction: 'click',
eventLabel: icon.name,
});
window.gtag('event', 'material-icons-theme', {
eventAction: 'click',
eventLabel: icon.theme,
});
}
};
const handleLabelClick = (event) => {
selectNode(event.currentTarget);
};
return (
<div>
{icons.map((icon) => {
/* eslint-disable jsx-a11y/click-events-have-key-events */
return (
<StyledIcon key={icon.importName} onClick={handleIconClick(icon)}>
<StyledSvgIcon
component={icon.Component}
fontSize="large"
tabIndex={-1}
onClick={handleOpenClick}
title={icon.importName}
/>
<div>
{/* eslint-disable-next-line jsx-a11y/no-static-element-interactions -- TODO: a11y */}
<div onClick={handleLabelClick}>{icon.importName}</div>
</div>
{/* eslint-enable jsx-a11y/click-events-have-key-events */}
</StyledIcon>
);
})}
</div>
);
});
Icons.propTypes = {
handleOpenClick: PropTypes.func.isRequired,
icons: PropTypes.array.isRequired,
};
const ImportLink = styled(Link)(({ theme }) => ({
textAlign: 'right',
padding: theme.spacing(0.5, 1),
}));
const Markdown = styled(HighlightedCode)(({ theme }) => ({
cursor: 'pointer',
transition: theme.transitions.create('background-color', {
duration: theme.transitions.duration.shortest,
}),
'&:hover': {
'& code': {
backgroundColor: '#96c6fd80',
},
},
'& pre': {
borderRadius: 0,
margin: 0,
},
}));
const Title = styled(Typography)(({ theme }) => ({
display: 'inline-block',
cursor: 'pointer',
transition: theme.transitions.create('background-color', {
duration: theme.transitions.duration.shortest,
}),
'&:hover': {
backgroundColor: '#96c6fd80',
},
}));
const CanvasComponent = styled(Box)(({ theme }) => ({
fontSize: 210,
marginTop: theme.spacing(2),
color: theme.palette.text.primary,
backgroundSize: '30px 30px',
backgroundColor: 'transparent',
backgroundPosition: '0 0, 0 15px, 15px -15px, -15px 0',
backgroundImage:
theme.palette.mode === 'light'
? 'linear-gradient(45deg, #e6e6e6 25%, transparent 25%), linear-gradient(-45deg, #e6e6e6 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #e6e6e6 75%), linear-gradient(-45deg, transparent 75%, #e6e6e6 75%)'
: 'linear-gradient(45deg, #595959 25%, transparent 25%), linear-gradient(-45deg, #595959 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #595959 75%), linear-gradient(-45deg, transparent 75%, #595959 75%)',
}));
const FontSizeComponent = styled('span')(({ theme }) => ({
margin: theme.spacing(2),
}));
const ContextComponent = styled(Box, {
shouldForwardProp: (prop) => prop !== 'contextColor',
})(({ theme, contextColor }) => ({
margin: theme.spacing(0.5),
padding: theme.spacing(1, 2),
borderRadius: theme.shape.borderRadius,
boxSizing: 'content-box',
...(contextColor === 'primary' && {
color: theme.palette.primary.main,
}),
...(contextColor === 'primaryInverse' && {
color: theme.palette.primary.contrastText,
backgroundColor: theme.palette.primary.main,
}),
...(contextColor === 'textPrimary' && {
color: theme.palette.text.primary,
}),
...(contextColor === 'textPrimaryInverse' && {
color: theme.palette.background.paper,
backgroundColor: theme.palette.text.primary,
}),
...(contextColor === 'textSecondary' && {
color: theme.palette.text.secondary,
}),
...(contextColor === 'textSecondaryInverse' && {
color: theme.palette.background.paper,
backgroundColor: theme.palette.text.secondary,
}),
}));
const DialogDetails = React.memo(function DialogDetails(props) {
const { open, selectedIcon, handleClose } = props;
const t = useTranslate();
const [copied1, setCopied1] = React.useState(false);
const [copied2, setCopied2] = React.useState(false);
const handleClick = (tooltip) => async (event) => {
await copy(event.currentTarget.textContent);
const setCopied = tooltip === 1 ? setCopied1 : setCopied2;
setCopied(true);
};
return (
<Dialog fullWidth maxWidth="sm" open={open} onClose={handleClose}>
{selectedIcon ? (
<React.Fragment>
<DialogTitle>
<Tooltip
placement="right"
title={copied1 ? t('copied') : t('clickToCopy')}
TransitionProps={{
onExited: () => setCopied1(false),
}}
>
<Title component="span" variant="inherit" onClick={handleClick(1)}>
{selectedIcon.importName}
</Title>
</Tooltip>
</DialogTitle>
<Tooltip
placement="top"
title={copied2 ? t('copied') : t('clickToCopy')}
TransitionProps={{ onExited: () => setCopied2(false) }}
>
<Markdown
copyButtonHidden
onClick={handleClick(2)}
code={`import ${selectedIcon.importName}Icon from '@mui/icons-material/${selectedIcon.importName}';`}
language="js"
/>
</Tooltip>
<ImportLink
color="text.secondary"
href="/material-ui/icons/"
variant="caption"
>
{t('searchIcons.learnMore')}
</ImportLink>
<DialogContent>
<Grid container>
<Grid item xs>
<Grid container justifyContent="center">
<CanvasComponent component={selectedIcon.Component} />
</Grid>
</Grid>
<Grid item xs>
<Grid container alignItems="flex-end" justifyContent="center">
<Grid item>
<Tooltip title="fontSize small">
<FontSizeComponent
as={selectedIcon.Component}
fontSize="small"
/>
</Tooltip>
</Grid>
<Grid item>
<Tooltip title="fontSize medium">
<FontSizeComponent as={selectedIcon.Component} />
</Tooltip>
</Grid>
<Grid item>
<Tooltip title="fontSize large">
<FontSizeComponent
as={selectedIcon.Component}
fontSize="large"
/>
</Tooltip>
</Grid>
</Grid>
<Grid container justifyContent="center">
<ContextComponent
component={selectedIcon.Component}
contextColor="primary"
/>
<ContextComponent
component={selectedIcon.Component}
contextColor="primaryInverse"
/>
</Grid>
<Grid container justifyContent="center">
<ContextComponent
component={selectedIcon.Component}
contextColor="textPrimary"
/>
<ContextComponent
component={selectedIcon.Component}
contextColor="textPrimaryInverse"
/>
</Grid>
<Grid container justifyContent="center">
<ContextComponent
component={selectedIcon.Component}
contextColor="textSecondary"
/>
<ContextComponent
component={selectedIcon.Component}
contextColor="textSecondaryInverse"
/>
</Grid>
</Grid>
</Grid>
</DialogContent>
<DialogActions>
<Button onClick={handleClose}>{t('close')}</Button>
</DialogActions>
</React.Fragment>
) : (
<div />
)}
</Dialog>
);
});
DialogDetails.propTypes = {
handleClose: PropTypes.func.isRequired,
open: PropTypes.bool.isRequired,
selectedIcon: PropTypes.object,
};
const Form = styled('form')({
position: 'sticky',
top: 80,
});
const Paper = styled(MuiPaper)(({ theme }) => ({
position: 'sticky',
top: 80,
padding: '2px 4px',
display: 'flex',
alignItems: 'center',
marginBottom: theme.spacing(2),
width: '100%',
borderRadius: '12px',
border: '1px solid',
borderColor: theme.palette.divider,
}));
function formatNumber(value) {
return new Intl.NumberFormat('en-US').format(value);
}
const Input = styled(InputBase)({
marginLeft: 8,
flex: 1,
});
const searchIndex = new FlexSearchIndex({
tokenize: 'full',
});
const allIconsMap = {};
const allIcons = Object.keys(mui)
.sort()
.map((importName) => {
let theme;
if (importName.indexOf('Outlined') !== -1) {
theme = 'Outlined';
} else if (importName.indexOf('TwoTone') !== -1) {
theme = 'Two tone';
} else if (importName.indexOf('Rounded') !== -1) {
theme = 'Rounded';
} else if (importName.indexOf('Sharp') !== -1) {
theme = 'Sharp';
} else {
theme = 'Filled';
}
const name = importName.replace(/(Outlined|TwoTone|Rounded|Sharp)$/, '');
let searchable = name;
if (synonyms[searchable]) {
searchable += ` ${synonyms[searchable]}`;
}
searchIndex.addAsync(importName, searchable);
const icon = {
importName,
name,
theme,
Component: mui[importName],
};
allIconsMap[importName] = icon;
return icon;
});
/**
* Returns the last defined value that has been passed in [value]
*/
function useLatest(value) {
const latest = React.useRef(value);
React.useEffect(() => {
if (value !== undefined && value !== null) {
latest.current = value;
}
}, [value]);
return value ?? latest.current;
}
export default function SearchIcons() {
const [keys, setKeys] = React.useState(null);
const [theme, setTheme] = useQueryParameterState('theme', 'Filled');
const [selectedIcon, setSelectedIcon] = useQueryParameterState('selected', '');
const [query, setQuery] = useQueryParameterState('query', '');
const handleOpenClick = React.useCallback(
(event) => {
setSelectedIcon(event.currentTarget.getAttribute('title'));
},
[setSelectedIcon],
);
const handleClose = React.useCallback(() => {
setSelectedIcon('');
}, [setSelectedIcon]);
const updateSearchResults = React.useMemo(
() =>
debounce((value) => {
if (value === '') {
setKeys(null);
} else {
searchIndex.searchAsync(value, { limit: 3000 }).then((results) => {
setKeys(results);
// Keep track of the no results so we can add synonyms in the future.
if (value.length >= 4 && results.length === 0) {
window.gtag('event', 'material-icons', {
eventAction: 'no-results',
eventLabel: value,
});
}
});
}
}, UPDATE_SEARCH_INDEX_WAIT_MS),
[],
);
React.useEffect(() => {
updateSearchResults(query);
return () => {
updateSearchResults.clear();
};
}, [query, updateSearchResults]);
const icons = React.useMemo(
() =>
(keys === null ? allIcons : keys.map((key) => allIconsMap[key])).filter(
(icon) => theme === icon.theme,
),
[theme, keys],
);
const dialogSelectedIcon = useLatest(
selectedIcon ? allIconsMap[selectedIcon] : null,
);
return (
<Grid container sx={{ minHeight: 500, my: 2 }}>
<Grid item xs={12} sm={3}>
<Form>
<Typography fontWeight={500} sx={{ mb: 1 }}>
Filter the style
</Typography>
<RadioGroup>
{['Filled', 'Outlined', 'Rounded', 'Two tone', 'Sharp'].map(
(currentTheme) => {
return (
<FormControlLabel
key={currentTheme}
control={
<Radio
size="small"
checked={theme === currentTheme}
onChange={() => setTheme(currentTheme)}
value={currentTheme}
/>
}
label={currentTheme}
/>
);
},
)}
</RadioGroup>
</Form>
</Grid>
<Grid item xs={12} sm={9}>
<Paper>
<IconButton sx={{ padding: '10px' }} aria-label="search">
<SearchIcon />
</IconButton>
<Input
autoFocus
value={query}
onChange={(event) => setQuery(event.target.value)}
placeholder="Search icons…"
inputProps={{ 'aria-label': 'search icons' }}
/>
</Paper>
<Typography sx={{ mb: 1 }}>{`${formatNumber(
icons.length,
)} matching results`}</Typography>
<Icons icons={icons} handleOpenClick={handleOpenClick} />
</Grid>
<DialogDetails
open={!!selectedIcon}
selectedIcon={dialogSelectedIcon}
handleClose={handleClose}
/>
</Grid>
);
}
| 2,658 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/material-icons/material-icons.md | ---
productId: material-ui
components: Icon, SvgIcon
materialDesign: https://m2.material.io/design/iconography/system-icons.html
packageName: '@mui/icons-material'
githubLabel: 'package: icons'
---
# Material Icons
<p class="description">2,100+ ready-to-use React Material Icons from the official website.</p>
{{"component": "modules/components/ComponentLinkHeader.js"}}
<br/>
[@mui/icons-material](https://www.npmjs.com/package/@mui/icons-material)
includes the 2,100+ official [Material Icons](https://fonts.google.com/icons?icon.set=Material+Icons) converted to [`SvgIcon`](/material-ui/api/svg-icon/) components.
It depends on `@mui/material`, which requires Emotion packages.
Use one of the following commands to install it:
<codeblock storageKey="package-manager">
```bash npm
npm install @mui/icons-material @mui/material @emotion/styled @emotion/react
```
```bash yarn
yarn add @mui/icons-material @mui/material @emotion/styled @emotion/react
```
```bash pnpm
pnpm add @mui/icons-material @mui/material @emotion/styled @emotion/react
```
</codeblock>
See the [Installation](/material-ui/getting-started/installation/) page for additional docs about how to make sure everything is set up correctly.
<hr/>
Browse through the icons below to find the one you need.
The search field supports synonyms—for example, try searching for "hamburger" or "logout."
{{"demo": "SearchIcons.js", "hideToolbar": true, "bg": true}}
| 2,659 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/material-icons/synonyms.js | const synonyms = {
Abc: 'alphabet character font letter symbol text type',
AccessAlarm: 'clock time',
AccessAlarms: 'clock time',
Accessibility: 'accessible body handicap help human people person user',
AccessibilityNew: 'accessible arms body handicap help human people person user',
Accessible: 'accessibility body handicap help human people person user wheelchair',
AccessibleForward:
'accessibility body handicap help human people person wheelchair',
AccessTime: 'clock time',
AccountBalance:
'bank bill building card cash coin commerce court credit currency dollars finance money online payment structure temple transaction',
AccountBalanceWallet:
'bank bill card cash coin commerce credit currency dollars finance money online payment transaction',
AccountBox: 'avatar face human people person profile square thumbnail user',
AccountCircle: 'avatar face human people person profile thumbnail user',
AccountTree:
'analytics chart connect data diagram flow infographic measure metrics process project sitemap square statistics structure tracking',
AcUnit: 'air cold conditioner freeze snowflake temperature weather winter',
Adb: 'android bridge debug',
Add: '+ create item new plus symbol',
AddAlarm: 'clock plus time',
AddAlert:
'+ active alarm announcement bell callout chime information new notifications notify plus reminder ring sound symbol',
AddAPhoto: '+ camera lens new photography picture plus symbol',
AddBox: 'create new plus square symbol',
AddBusiness:
'+ bill building card cash coin commerce company credit currency dollars market money new online payment plus retail shopping storefront symbol',
AddCard:
'+ bill cash coin commerce cost credit currency dollars finance money new online payment plus price shopping symbol',
Addchart:
'+ analytics bars data diagram infographic measure metrics new plus statistics symbol tracking',
AddCircle: '+ create new plus',
AddCircleOutline: '+ create new plus',
AddComment: '+ bubble chat communicate feedback message new plus speech symbol',
AddIcCall: '+ cell contact device hardware mobile new plus symbol telephone',
AddLink: 'attach clip new plus symbol',
AddLocation: '+ destination direction gps maps new pin place plus stop symbol',
AddLocationAlt: '+ destination direction maps new pin place plus stop symbol',
AddModerator:
'+ certified new plus privacy private protection security shield symbol verified',
AddPhotoAlternate:
'+ image landscape mountains new photography picture plus symbol',
AddReaction:
'+ emoji emotions expressions face feelings glad happiness happy icons insert like mood new person pleased plus smile smiling social survey symbol',
AddRoad:
'+ destination direction highway maps new plus stop street symbol traffic',
AddShoppingCart:
'card cash checkout coin commerce credit currency dollars money online payment plus',
AddTask: '+ approve check circle completed increase mark ok plus select tick yes',
AddToDrive:
'+ application backup cloud data files folders gdrive google plus recovery shortcut storage',
AddToHomeScreen:
'Android add arrow cell device hardware iOS mobile phone tablet to up',
AddToPhotos: 'collection image landscape mountains photography picture plus',
AddToQueue:
'+ Android backlog chrome desktop device display hardware iOS lineup mac monitor new plus screen symbol television watch web window',
AdfScanner: 'document feeder machine office',
Adjust:
'alter center circles control dot edit filter fix image mix move setting slider sort switch target tune',
AdminPanelSettings:
'account avatar certified face human people person privacy private profile protection security shield user verified',
AdsClick: 'browser clicks cursor internet target traffic web',
AdUnits:
'Android banner cell device hardware iOS mobile notifications phone tablet top',
Agriculture:
'automobile cars cultivation farm harvest maps tractor transport travel truck vehicle',
Air: 'blowing breeze flow wave weather wind',
Airlines: 'airplane airport flight transportation travel trip',
AirlineSeatFlat:
'bed body business class first human people person rest sleep travel',
AirlineSeatFlatAngled:
'bed body business class first human people person rest sleep travel',
AirlineSeatIndividualSuite:
'bed body business class first human people person rest sleep travel',
AirlineSeatLegroomExtra: 'body feet human people person sitting space travel',
AirlineSeatLegroomNormal: 'body feet human people person sitting space travel',
AirlineSeatLegroomReduced: 'body feet human people person sitting space travel',
AirlineSeatReclineExtra:
'body feet human legroom people person sitting space travel',
AirlineSeatReclineNormal:
'body extra feet human legroom people person sitting space travel',
AirlineStops:
'arrow destination direction layover location maps place transportation travel trip',
AirplanemodeActive: 'flight flying on signal',
AirplanemodeInactive:
'airport disabled enabled flight flying maps offline slash transportation travel',
AirplaneTicket: 'airport boarding flight fly maps pass transportation travel',
Airplay:
'apple arrow cast connect control desktop device display monitor screen signal television tv',
AirportShuttle:
'automobile bus cars commercial delivery direction maps mini public transportation travel truck van vehicle',
Alarm: 'alart alert bell clock countdown date notification schedule time',
AlarmAdd:
'+ alart alert bell clock countdown date new notification plus schedule symbol time',
AlarmOff:
'alart alert bell clock disabled duration enabled notification slash stop timer watch',
AlarmOn:
'alart alert bell checkmark clock disabled duration enabled notification off ready slash start timer watch',
Album:
'artist audio bvb cd computer data disk file music play record sound storage track vinyl',
AlignHorizontalCenter: 'alignment format layout lines paragraph rules style text',
AlignHorizontalLeft: 'alignment format layout lines paragraph rules style text',
AlignHorizontalRight: 'alignment format layout lines paragraph rules style text',
AlignVerticalBottom: 'alignment format layout lines paragraph rules style text',
AlignVerticalCenter: 'alignment format layout lines paragraph rules style text',
AlignVerticalTop: 'alignment format layout lines paragraph rules style text',
AllInbox: 'Inbox delivered delivery email letter message post send',
AllInclusive:
'endless forever infinite infinity loop mobius neverending strip sustainability sustainable',
AllOut: 'arrows circle directional expand shape',
AlternateEmail: '@ address contact tag',
AltRoute:
'alternate alternative arrows direction maps navigation options other routes split symbol',
Analytics:
'assessment bar chart data diagram infographic measure metrics statistics tracking',
Anchor: 'google logo',
Android: 'brand character logo mascot operating system toy',
Animation: 'circles film motion movement movie moving sequence video',
Announcement:
'! alert attention balloon bubble caution chat comment communicate danger error exclamation feedback important mark message news notification speech symbol warning',
Aod: 'Android always device display hardware homescreen iOS mobile phone tablet',
Apartment:
'accommodation architecture building city company estate flat home house office places real residence residential shelter units workplace',
Api: 'developer development enterprise software',
AppBlocking:
'Android applications cancel cell device hardware iOS mobile phone stopped tablet',
Apple: 'brand logo',
AppRegistration: 'apps edit pencil register',
Approval:
'apply approvals approve certificate certification disapproval drive file impression ink mark postage stamp',
Apps: 'all applications circles collection components dots grid homescreen icons interface squares ui ux',
AppSettingsAlt:
'Android applications cell device gear hardware iOS mobile phone tablet',
AppShortcut:
'bookmarked favorite highlight important mobile saved software special star',
AppsOutage:
'all applications circles collection components dots grid interface squares ui ux',
Architecture: 'art compass design drawing engineering geometric tool',
Archive: 'inbox mail store',
ArrowBack:
'DISABLE_IOS application components direction disable_ios interface left navigation previous screen ui ux website',
ArrowBackIos:
'DISABLE_IOS application chevron components direction disable_ios interface left navigation previous screen ui ux website',
ArrowBackIosNew:
'DISABLE_IOS application chevron components direction disable_ios interface left navigation previous screen ui ux website',
ArrowCircleDown: 'direction navigation',
ArrowCircleLeft: 'direction navigation',
ArrowCircleRight: 'direction navigation',
ArrowCircleUp: 'direction navigation',
ArrowDownward:
'application components direction interface navigation screen ui ux website',
ArrowDropDown:
'application components direction interface navigation screen ui ux website',
ArrowDropDownCircle:
'application components direction interface navigation screen ui ux website',
ArrowDropUp:
'application components direction interface navigation screen ui ux website',
ArrowForward:
'application arrows components direction interface navigation right screen ui ux website',
ArrowForwardIos:
'application chevron components direction interface navigation next right screen ui ux website',
ArrowLeft:
'application backstack backward components direction interface navigation previous screen ui ux website',
ArrowOutward:
'application arrows components direction forward interface navigation right screen ui ux website',
ArrowRight:
'application components continue direction forward interface navigation screen ui ux website',
ArrowRightAlt: 'arrows direction east navigation pointing shape',
ArrowUpward:
'application components direction interface navigation screen submit ui ux website',
Article: 'clarify document file news page paper text writing',
ArtTrack:
'album artist audio display format image insert music photography picture sound tracks',
AspectRatio: 'expand image monitor resize resolution scale screen square',
Assessment:
'analytics bars chart data diagram infographic measure metrics report statistics tracking',
Assignment: 'article clipboard document task text writing',
AssignmentInd: 'account clipboard document face people person profile task user',
AssignmentLate:
'! alert announcement attention caution clipboard danger document error exclamation important mark notification symbol task warning',
AssignmentReturn: 'arrow back clipboard document left point retun task',
AssignmentReturned: 'arrow clipboard document down point task',
AssignmentTurnedIn:
'approve checkmark clipboard complete document done finished ok select task tick validate verified yes',
Assistant:
'bubble chat comment communicate feedback message recommendation speech star suggestion twinkle',
AssistantDirection:
'destination location maps navigate navigation pin place right stop',
AssistantPhoto: 'flag recommendation smart star suggestion',
AssistWalker:
'accessibility accessible body disability handicap help human injured injury mobility person',
AssuredWorkload:
'compliance confidential federal government regulatory secure sensitive',
Atm: 'alphabet automated bill card cart cash character coin commerce credit currency dollars font letter machine money online payment shopping symbol teller text type',
AttachEmail: 'attachment clip compose envelop letter link message send',
AttachFile: 'add attachment item link mail media paperclip',
Attachment: 'compose file image item link paperclip',
AttachMoney:
'attachment bill card cash coin commerce cost credit currency dollars finance online payment price profit sale symbol',
Attractions: 'amusement entertainment ferris fun maps park places wheel',
Attribution: 'attribute body copyright copywriter human people person',
AudioFile: 'document key music note sound track',
Audiotrack: 'key music note sound',
AutoAwesome:
'adjust editing enhance filter image photography photos setting stars',
AutoAwesomeMosaic:
'adjust collage editing enhance filter grid image layout photographs photography photos pictures setting',
AutoAwesomeMotion:
'adjust animation collage editing enhance filter image live photographs photography photos pictures setting video',
AutoDelete: 'bin can clock date garbage remove schedule time trash',
AutoFixHigh: 'adjust editing enhance erase magic modify pen stars tool wand',
AutoFixNormal: 'edit erase magic modify stars wand',
AutoFixOff: 'disabled edit enabled erase magic modify on slash stars wand',
AutofpsSelect:
'A alphabet character font frame frequency letter per rate seconds symbol text type',
AutoGraph:
'analytics chart data diagram infographic line measure metrics stars statistics tracking',
AutoMode:
'around arrows direction inprogress loading navigation nest refresh renew rotate turn',
Autorenew:
'around arrows cached direction inprogress loader loading navigation pending refresh rotate status turn',
AutoStories: 'audiobook flipping pages reading story',
AvTimer: 'clock countdown duration minutes seconds stopwatch',
BabyChangingStation:
'babies bathroom body children father human infant kids mother newborn people person toddler wc young',
BackHand: 'fingers gesture raised',
Backpack: 'bookbag knapsack storage travel',
Backspace: 'arrow cancel clear correct delete erase remove',
Backup: 'arrow cloud data drive files folders point storage submit upload',
BackupTable: 'drive files folders format layout stack storage',
Badge:
'account avatar card certified employee face human identification name people person profile security user work',
BakeryDining: 'bread breakfast brunch croissant food',
Balance:
'equal equilibrium equity impartiality justice parity stability. steadiness symmetry',
Balcony:
'architecture doors estate home house maps outside place real residence residential stay terrace window',
Ballot: 'bullet bulllet election list point poll vote',
BarChart:
'analytics anlytics data diagram infographic measure metrics statistics tracking',
BatchPrediction: 'bulb idea light',
Bathroom: 'closet home house place plumbing shower sprinkler wash water wc',
Bathtub: 'bathing bathroom clean home hotel human person shower travel',
Battery0Bar: 'cell charge mobile power',
Battery1Bar: 'cell charge mobile power',
Battery2Bar: 'cell charge mobile power',
Battery3Bar: 'cell charge mobile power',
Battery4Bar: 'cell charge mobile power',
Battery5Bar: 'cell charge mobile power',
Battery6Bar: 'cell charge mobile power',
BatteryAlert:
'! attention caution cell charge danger error exclamation important mark mobile notification power symbol warning',
BatteryChargingFull: 'cell charge lightening lightning mobile power thunderbolt',
BatteryFull: 'cell charge mobile power',
BatterySaver: '+ add charge charging new plus power symbol',
BatteryStd: 'cell charge mobile plus power standard',
BatteryUnknown:
'? assistance cell charge help information mark mobile power punctuation question support symbol',
BeachAccess: 'parasol places summer sunny umbrella',
Bed: 'bedroom double full furniture home hotel house king night pillows queen rest size sleep',
BedroomBaby:
'babies children home horse house infant kid newborn rocking toddler young',
BedroomChild:
'children furniture home hotel house kid night pillows rest size sleep twin young',
BedroomParent:
'double full furniture home hotel house king master night pillows queen rest sizem sleep',
Bedtime: 'nightime sleep',
BedtimeOff: 'nightime sleep',
Beenhere:
'approve archive bookmark checkmark complete done favorite label library reading remember ribbon save select tag tick validate verified yes',
Bento: 'box dinner food lunch meal restaurant takeout',
BikeScooter: 'automobile cars maps transportation vehicle vespa',
Biotech: 'chemistry laboratory microscope research science technology test',
Blender: 'appliance cooking electric juicer kitchen machine vitamix',
Blind:
'accessibility accessible assist body cane disability handicap help human mobility person walker',
Blinds: 'cover curtains nest open shutter sunshade',
BlindsClosed: 'cover curtains nest shutter sunshade',
Block:
'allowed avoid banned cancel close disable entry exit not prohibited quit remove stop',
Bloodtype: 'donate droplet emergency hospital medicine negative positive water',
Bluetooth: 'cast connection device network paring streaming symbol wireless',
BluetoothAudio: 'connection device music signal sound symbol',
BluetoothConnected:
'cast connection device network paring streaming symbol wireless',
BluetoothDisabled:
'cast connection device enabled network offline paring slash streaming symbol wireless',
BluetoothDrive:
'automobile cars cast connection device maps paring streaming symbol transportation travel vehicle wireless',
BluetoothSearching: 'connection device network paring symbol wireless',
BlurCircular: 'circle dots editing effect enhance filter',
BlurLinear: 'dots editing effect enhance filter',
BlurOff: 'disabled dots editing effect enabled enhance on slash',
BlurOn: 'disabled dots editing effect enabled enhance filter off slash',
Bolt: 'electric energy fast flash lightning power thunderbolt',
Book: 'blog bookmark favorite label library reading remember ribbon save tag',
Bookmark: 'archive favorite follow label library reading remember ribbon save tag',
BookmarkAdd: '+ favorite plus remember ribbon save symbol',
BookmarkAdded:
'approve check complete done favorite remember save select tick validate verified yes',
BookmarkBorder:
'archive favorite label library outline reading remember ribbon save tag',
BookmarkRemove: 'delete favorite minus remember ribbon save subtract',
Bookmarks:
'favorite label layers library multiple reading remember ribbon save stack tag',
BookOnline:
'Android admission appointment cell device event hardware iOS mobile pass phone reservation tablet ticket',
BorderAll: 'doc editing editor spreadsheet stroke text type writing',
BorderBottom: 'doc editing editor spreadsheet stroke text type writing',
BorderClear: 'doc editing editor spreadsheet stroke text type writing',
BorderColor:
'all create doc editing editor marker pencil spreadsheet stroke text type writing',
BorderHorizontal: 'doc editing editor spreadsheet stroke text type writing',
BorderInner: 'doc editing editor spreadsheet stroke text type writing',
BorderLeft: 'doc editing editor spreadsheet stroke text type writing',
BorderOuter: 'doc editing editor spreadsheet stroke text type writing',
BorderRight: 'doc editing editor spreadsheet stroke text type writing',
BorderStyle: 'color doc editing editor spreadsheet stroke text type writing',
BorderTop: 'doc editing editor spreadsheet stroke text type writing',
BorderVertical: 'doc editing editor spreadsheet stroke text type writing',
Boy: 'body gender human male people person social symbol',
BrandingWatermark:
'components copyright design emblem format identity interface layout logo screen stamp ui ux website window',
BreakfastDining: 'bakery bread butter food toast',
Brightness1: 'circle control crescent cresent level moon screen',
Brightness2: 'circle control crescent cresent level moon night screen',
Brightness3: 'circle control crescent cresent level moon night screen',
Brightness4: 'circle control crescent cresent dark level moon night screen sun',
Brightness5: 'circle control crescent cresent level moon screen sun',
Brightness6: 'circle control crescent cresent level moon screen sun',
Brightness7: 'circle control crescent cresent level light moon screen sun',
BrightnessAuto: 'A control display level mobile monitor phone screen',
BrightnessHigh: 'auto control mobile monitor phone',
BrightnessLow: 'auto control mobile monitor phone',
BrightnessMedium: 'auto control mobile monitor phone',
BrokenImage: 'corrupt error landscape mountains photography picture torn',
BrowseGallery: 'clock collection library stack watch',
BrowserNotSupported:
'disabled enabled internet off on page screen slash website www',
BrowserUpdated:
'Android arrow chrome desktop device display download hardware iOS mac monitor screen web window',
BrunchDining: 'breakfast champagne champaign drink food lunch meal',
Brush: 'art design draw editing painting tool',
BubbleChart:
'analytics bars data diagram infographic measure metrics statistics tracking',
BugReport: 'animal file fix insect issue problem testing ticket virus warning',
Build: 'adjust fix home nest repair spanner tools wrench',
BuildCircle: 'adjust fix repair tool wrench',
Bungalow:
'architecture cottage estate home house maps place real residence residential stay traveling',
BurstMode: 'image landscape mountains multiple photography picture',
BusAlert:
'! attention automobile cars caution danger error exclamation important maps mark notification symbol transportation vehicle warning',
Business:
'address apartment architecture building company estate flat home office place real residence residential shelter structure',
BusinessCenter: 'baggage briefcase places purse suitcase work',
Cabin:
'architecture camping cottage estate home house log maps place real residence residential stay traveling wood',
Cable: 'connection device electronics usb wire',
Cached: 'around arrows inprogress loader loading refresh reload renew rotate',
Cake: 'add baked birthday candles celebration dessert food frosting new party pastries pastry pie plus social sweet symbol',
Calculate: '+ - = calculator count finance math',
CalendarMonth: 'date event schedule today',
CalendarToday: 'date event month remember reminder schedule week',
CalendarViewDay:
'date event format grid layout month remember reminder schedule today week',
CalendarViewMonth: 'date event format grid layout schedule today',
CalendarViewWeek: 'date event format grid layout month schedule today',
Call: 'cell contact device hardware mobile talk telephone',
CallEnd: 'cell contact device hardware mobile talk telephone',
CallMade: 'arrow device mobile',
CallMerge: 'arrow device mobile',
CallMissed: 'arrow device mobile',
CallMissedOutgoing: 'arrow device mobile',
CallReceived: 'arrow device mobile',
CallSplit: 'arrow device mobile',
CallToAction:
'alert bar components cta design information interface layout message notification screen ui ux website window',
Camera: 'album aperture lens photography picture record screenshot shutter',
CameraAlt: 'image photography picture',
CameraEnhance: 'important lens photography picture quality special star',
CameraFront: 'body human lens mobile person phone photography portrait selfie',
CameraIndoor:
'architecture building estate filming home house image inside motion nest picture place real residence residential shelter videography',
CameraOutdoor:
'architecture building estate filming home house image motion nest outside picture place real residence residential shelter videography',
CameraRear: 'front lens mobile phone photography picture portrait selfie',
CameraRoll: 'film image library photography',
Cameraswitch: 'arrows flip rotate swap view',
Campaign: 'alert announcement loud megaphone microphone notification speaker',
Cancel: 'circle close cross disable exit status stop',
CancelPresentation:
'close device exit no quit remove screen share slide stop website window',
CancelScheduleSend: 'email no quit remove share stop x',
CandlestickChart:
'analytics data diagram finance infographic measure metrics statistics tracking',
CarCrash:
'accident automobile cars collision direction maps public transportation vehicle',
CardGiftcard:
'account balance bill cart cash certificate coin commerce creditcard currency dollars money online payment present shopping',
CardMembership:
'bill bookmark cash certificate coin commerce cost creditcard currency dollars finance loyalty money online payment shopping subscription',
CardTravel:
'bill cash coin commerce cost creditcard currency dollars finance membership miles money online payment trip',
Carpenter: 'building construction cutting handyman repair saw tool',
CarRental: 'automobile cars key maps transportation vehicle',
CarRepair: 'automobile cars maps transportation vehicle',
Cases: 'baggage briefcase business purse suitcase',
Casino: 'dice dots entertainment gamble gambling games luck places',
Cast: 'Android airplay chromecast connect desktop device display hardware iOS mac monitor screencast streaming television tv web window wireless',
CastConnected:
'Android airplay chromecast desktop device display hardware iOS mac monitor screencast streaming television tv web window wireless',
CastForEducation:
'Android airplay chrome connect desktop device display hardware iOS learning lessons mac monitor screencast streaming teaching television tv web window wireless',
Castle: 'fortress mansion palace',
CatchingPokemon: 'go pokestop travel',
Category: 'categories circle collection items product sort square triangle',
Celebration: 'activity birthday event fun party',
CellTower: 'broadcast casting network signal transmitting wireless',
CellWifi: 'connection data internet mobile network phone service signal wireless',
CenterFocusStrong: 'camera image lens photography zoom',
CenterFocusWeak: 'camera image lens photography zoom',
Chair:
'comfort couch decoration furniture home house living lounging loveseat room seating sofa',
ChairAlt: 'cahir furniture home house kitchen lounging seating table',
Chalet:
'architecture cottage estate home house maps place real residence residential stay traveling',
ChangeCircle: 'around arrows direction navigation rotate',
ChangeHistory: 'shape triangle',
ChargingStation:
'Android battery cell device electric hardware iOS lightning mobile phone tablet thunderbolt',
Chat: 'bubble comment communicate feedback message speech talk text',
ChatBubble: 'comment communicate feedback message speech talk text',
ChatBubbleOutline: 'comment communicate feedback message speech talk text',
Check:
'DISABLE_IOS checkmark complete confirm correct disable_ios done enter okay purchased select success tick yes',
CheckBox:
'approved button checkmark component control form ok selected selection square success tick toggle ui yes',
CheckBoxOutlineBlank:
'button checkmark component control deselected empty form selection square tick toggle ui',
CheckCircle:
'approve checkmark complete done download finished ok select success tick upload validate verified yes',
CheckCircleOutline:
'approve checkmark complete done finished ok select success tick validate verified yes',
Checklist:
'alignment approve complete doc done editing editor format mark notes ok select spreadsheet text tick type validate verified writing yes',
ChecklistRtl:
'alignment approve complete doc done editing editor format mark notes ok select spreadsheet text tick type validate verified writing yes',
Checkroom: 'check closet clothes coat hanger',
ChevronLeft: 'DISABLE_IOS arrows back direction disable_ios triangle',
ChevronRight: 'arrows direction forward triangle',
ChildCare: 'babies baby children face infant kids newborn toddler young',
ChildFriendly:
'baby care carriage children infant kid newborn stroller toddler young',
ChromeReaderMode: 'text',
Church: 'christianity religion spiritual worship',
Circle: 'bullet button dot full geometry moon period radio',
CircleNotifications: 'active alarm alert bell chime notify reminder ring sound',
Class:
'archive bookmark category favorite item label library reading remember ribbon save tag',
CleanHands: 'bacteria disinfect germs gesture sanitizer',
CleaningServices: 'dust sweep',
Clear: 'allowed back cancel correct cross delete disable erase exit not times',
ClearAll: 'delete document erase format lines list notifications wipe',
Close: 'allowed cancel cross disable exit not status stop times',
ClosedCaption:
'accessible alphabet character decoder font language letter media movies subtitles symbol text tv type',
ClosedCaptionDisabled:
'accessible alphabet character decoder enabled font language letter media movies off slash subtitles symbol text tv type',
ClosedCaptionOff:
'accessible alphabet character decoder font language letter media movies outline subtitles symbol text tv type',
CloseFullscreen: 'action arrows collapse direction minimize',
Cloud: 'connection internet network sky upload weather',
CloudCircle:
'application backup connection drive files folders internet network sky storage upload',
CloudDone:
'application approve backup checkmark complete connection drive files folders internet network ok select sky storage tick upload validate verified yes',
CloudDownload:
'application arrow backup connection drive files folders internet network sky storage upload',
CloudOff:
'application backup connection disabled drive enabled files folders internet network offline sky slash storage upload',
CloudQueue: 'connection internet network sky upload',
CloudSync:
'application around backup connection drive files folders inprogress internet loading network refresh renew rotate sky storage turn upload',
CloudUpload:
'application arrow backup connection download drive files folders internet network sky storage',
Co2: 'carbon chemical dioxide gas',
Code: 'brackets css developer engineering html parenthesis platform',
CodeOff:
'brackets css developer disabled enabled engineering html on platform slash',
Coffee: 'beverage cup drink mug plate set tea',
CoffeeMaker: 'appliances beverage cup drink machine mug',
Collections:
'album gallery image landscape library mountains photography picture stack',
CollectionsBookmark:
'album archive favorite gallery label library reading remember ribbon save stack tag',
Colorize: 'color dropper extract eye picker pipette tool',
ColorLens: 'art paint pallet',
Comment: 'bubble chat communicate document feedback message note outline speech',
CommentBank:
'archive bookmark bubble cchat communicate favorite label library message remember ribbon save speech tag',
CommentsDisabled:
'bubble chat communicate enabled feedback message offline on slash speech',
Commit: 'accomplish bind circle dedicate execute line perform pledge',
Commute: 'automobile car direction maps public train transportation trip vehicle',
Compare:
'adjustment editing edits enhance fix images photography photos scan settings',
CompareArrows:
'collide directional facing left pointing pressure push right together',
CompassCalibration:
'connection internet location maps network refresh service signal wifi wireless',
Compress: 'arrows collide pressure push together',
Computer:
'Android chrome desktop device hardware iOS laptop mac monitor pc web window',
ConfirmationNumber: 'admission entertainment event ticket',
ConnectedTv:
'Android airplay chrome desktop device display hardware iOS mac monitor screencast streaming television web window wireless',
ConnectingAirports: 'airplanes flight transportation travel trip',
ConnectWithoutContact: 'communicating distance people signal socialize',
Construction:
'build carpenter equipment fix hammer improvement industrial industry repair tools wrench',
ContactEmergency:
'account avatar call cell contacts face human information mobile people person phone profile user',
Contactless:
'applepay bluetooth cash connection connectivity credit device finance payment signal tap transaction wifi wireless',
ContactMail:
'account address avatar communicate email face human information message people person profile user',
ContactPage:
'account avatar data document drive face folders human people person profile sheet slide storage user writing',
ContactPhone:
'account avatar call communicate face human information message mobile number people person profile user',
Contacts:
'account address avatar call cell face human information mobile number people person phone profile user',
ContactSupport:
'? alert announcement bubble chat comment communicate help information mark message punctuation speech symbol vquestion',
ContentCopy: 'cut document duplicate file multiple past',
ContentCut: 'copy document file past scissors trim',
ContentPaste: 'clipboard copy cut document file multiple',
ContentPasteGo: 'clipboard disabled document enabled file slash',
ContentPasteOff: 'clipboard disabled document enabled file slash',
ContentPasteSearch: 'clipboard document file find trace track',
Contrast:
'black editing effect filter grayscale images photography pictures settings white',
ControlCamera: 'adjust arrows center direction left move right',
ControlPoint: '+ add circle plus',
ControlPointDuplicate: '+ add circle multiple new plus symbol',
Cookie: 'biscuit cookies data dessert wafer',
CoPresent: 'arrow co-present presentation screen share slides togather website',
CopyAll: 'content cut document file multiple page paper past',
Copyright: 'alphabet character circle emblem font legal letter owner symbol text',
Coronavirus: '19 bacteria covid disease germs illness sick social',
CorporateFare:
'architecture building business estate organization place real residence residential shelter',
Cottage:
'architecture beach estate home house lake lodge maps place real residence residential stay traveling',
Countertops: 'home house kitchen sink table',
Create: 'compose editing input item new pencil write writing',
CreateNewFolder:
'+ add data directory document drive file plus sheet slide storage symbol',
CreditCard:
'bill cash charge coin commerce cost creditcard currency dollars finance information money online payment price shopping symbol',
CreditCardOff:
'charge commerce cost disabled enabled finance money online payment slash',
CreditScore:
'approve bill card cash check coin commerce complete cost currency dollars done finance loan mark money ok online payment select symbol tick validate verified yes',
Crib: 'babies baby bassinet bed children cradle infant kid newborn sleeping toddler',
CrisisAlert:
'! attention bullseye caution danger error exclamation important mark notification symbol target warning',
Crop: 'adjustments area editing frame images photos rectangle settings size square',
Crop169:
'adjustments area by editing frame images photos picture rectangle settings size square',
Crop32:
'adjustments area by editing frame images photos picture rectangle settings size square',
Crop54:
'adjustments area by editing frame images photos picture rectangle settings size square',
Crop75:
'adjustments area by editing frame images photos picture rectangle settings size square',
CropDin:
'adjustments area editing frame images photos picture rectangle settings size square',
CropFree:
'adjustments barcode editing focus frame image photos qrcode settings size square zoom',
CropLandscape:
'adjustments area editing frame images photos picture settings size square',
CropOriginal:
'adjustments area editing frame images photos picture settings size square',
CropPortrait:
'adjustments area editing frame images photos picture rectangle settings size square',
CropRotate:
'adjustments area arrows editing frame images photos settings size turn',
CropSquare:
'adjustments application area components design editing expand frame images interface open photos rectangle screen settings shapes size ui ux website window',
Css: 'alphabet brackets character code developer engineering font html letter platform symbol text type',
CurrencyBitcoin:
'bill blockchain card cash commerce cost credit digital dollars finance franc money online payment price shopping symbol',
CurrencyExchange:
'360 around arrows cash coin commerce direction dollars inprogress money pay renew rotate sync turn universal',
CurrencyFranc:
'bill card cash coin commerce cost credit dollars finance money online payment price shopping symbol',
CurrencyLira:
'bill card cash coin commerce cost credit dollars finance money online payment price shopping symbol',
CurrencyPound:
'bill card cash coin commerce cost credit dollars finance money online payment price shopping symbol',
CurrencyRuble:
'bill card cash coin commerce cost credit dollars finance money online payment price shopping symbol',
CurrencyRupee:
'bill card cash coin commerce cost credit dollars finance money online payment price shopping symbol',
CurrencyYen:
'bill card cash coin commerce cost credit dollars finance money online payment price shopping symbol',
CurrencyYuan:
'bill card cash coin commerce cost credit dollars finance money online payment price shopping symbol',
Curtains: 'blinds cover nest open shutter sunshade',
CurtainsClosed: 'blinds cover nest shutter sunshade',
Cyclone: 'crisis disaster natural rain storm weather winds',
Dangerous: 'broken fix no sign stop update warning wrong',
DarkMode: 'application device interface moon night silent theme ui ux website',
Dashboard: 'cards format layout rectangle shapes square website',
DashboardCustomize: 'cards format layout rectangle shapes square website',
DataArray: 'brackets coder parentheses',
DataObject: 'brackets coder parentheses',
DataSaverOff:
'analytics bars chart diagram donut infographic measure metrics ring statistics tracking',
DataSaverOn:
'+ add analytics chart diagram infographic measure metrics new plus ring statistics symbol tracking',
DataThresholding: 'hidden privacy thresold',
DataUsage:
'analytics chart circle diagram infographic measure metrics statistics tracking',
DateRange:
'agenda calendar event month remember reminder schedule time today week',
Deblur: 'adjust editing enhance face image lines photography sharpen',
Deck: 'chairs furniture garden home house outdoors outside patio social terrace umbrella yard',
Dehaze: 'adjust editing enhance image lines photography remove',
Delete: 'bin garbage junk recycle remove trashcan',
DeleteForever: 'bin cancel exit garbage junk recycle remove trashcan',
DeleteOutline: 'bin can garbage remove trash',
DeleteSweep: 'bin garbage junk recycle remove trashcan',
DeliveryDining:
'food meal restaurant scooter takeout transportation vehicle vespa',
DensityLarge: 'horizontal lines rules',
DensityMedium: 'horizontal lines rules',
DensitySmall: 'horizontal lines rules',
DepartureBoard:
'automobile bus cars clock maps public schedule time transportation travel vehicle',
Description:
'article bill data document drive file folders invoice item notes page paper sheet slide text writing',
Deselect: 'all disabled enabled off selection slash square tool',
DesignServices: 'compose create draft editing input pencil ruler write writing',
DesktopAccessDisabled:
'Android apple chrome device display enabled hardware iOS mac monitor offline pc screen slash web window',
DesktopMac:
'Android apple chrome device display hardware iOS monitor pc screen web window',
DesktopWindows:
'Android chrome device display hardware iOS mac monitor pc screen television tv web',
Details: 'editing enhance image photography sharpen triangle',
DeveloperBoard: 'computer development devkit hardware microchip processor',
DeveloperBoardOff:
'computer development disabled enabled hardware microchip on processor slash',
DeveloperMode:
'Android bracket cell code development device engineer hardware iOS mobile phone tablet',
DeviceHub:
'Android circle computer desktop hardware iOS laptop mobile monitor phone square tablet triangle watch wearable web',
Devices:
'Android computer desktop hardware iOS laptop mobile monitor phone tablet watch wearable web',
DevicesFold: 'Android cell foldable hardware iOS mobile phone tablet',
DevicesOther:
'Android cell chrome desktop gadget hardware iOS ipad mac mobile monitor phone smartwatch tablet vr wearables window',
DeviceThermostat: 'celsius fahrenheit temperature thermometer',
DeviceUnknown:
'? Android assistance cell hardware help iOS information mark mobile phone punctuation question support symbol tablet',
DialerSip:
'alphabet call cell character contact device font hardware initiation internet letter mobile over protocol routing session symbol telephone text type voice',
Dialpad: 'buttons call contact device dots mobile numbers phone',
Diamond: 'fashion gems jewelry logo retail valuables',
Difference: 'compare content copy cut document duplicate file multiple past',
Dining: 'cafeteria cutlery diner eating fork room spoon',
DinnerDining: 'breakfast food fork lunch meal restaurant spaghetti utensils',
Directions: 'arrow maps naviate right route sign traffic',
DirectionsBike: 'bicycle human maps person public route transportation',
DirectionsBoat: 'automobile cars ferry maps public transportation vehicle',
DirectionsBoatFilled: 'automobile cars ferry maps public transportation vehicle',
DirectionsBus: 'automobile cars maps public transportation vehicle',
DirectionsBusFilled: 'automobile cars maps public transportation vehicle',
DirectionsCar: 'automobile cars maps public transportation vehicle',
DirectionsCarFilled: 'automobile cars maps public transportation vehicle',
DirectionsOff: 'arrow disabled enabled maps right route sign slash traffic',
DirectionsRailway: 'automobile cars maps public train transportation vehicle',
DirectionsRailwayFilled:
'automobile cars maps public train transportation vehicle',
DirectionsRun: 'body health human jogging maps people person route running walk',
DirectionsSubway: 'automobile cars maps public rail train transportation vehicle',
DirectionsSubwayFilled:
'automobile cars maps public rail train transportation vehicle',
DirectionsTransit:
'automobile cars maps metro public rail subway train transportation vehicle',
DirectionsTransitFilled:
'automobile cars maps public rail subway train transportation vehicle',
DirectionsWalk: 'body human jogging maps people person route run',
DirtyLens: 'camera photography picture splat',
DisabledByDefault: 'box cancel close exit no quit remove square stop',
DiscFull:
'! alert attention caution cd danger error exclamation important mark music notification storage symbol vinyl warning',
DisplaySettings:
'Android application change chrome desktop details device gear hardware iOS information mac monitor options personal screen service web window',
Diversity1:
'committee diverse family friends groups heart humans network people persons social team',
Diversity2:
'committee diverse family friends groups heart humans network people persons social team',
Diversity3:
'committee diverse family friends groups humans network people persons social team',
Dns: 'address bars domain information ip list lookup name network server system',
Dock: 'Android cell charger charging connector device hardware iOS mobile phone power station tablet',
DocumentScanner:
'article data drive file folders notes page paper sheet slide text writing',
DoDisturb: 'cancel close denied deny remove silence stop',
DoDisturbAlt: 'cancel close denied deny remove silence stop',
DoDisturbOff:
'cancel close denied deny disabled enabled on remove silence slash stop',
DoDisturbOn:
'cancel close denied deny disabled enabled off remove silence slash stop',
Domain:
'apartment architecture building business estate home place real residence residential shelter web www',
DomainAdd:
'+ apartment architecture building business estate home new place plus real residence residential shelter symbol web www',
DomainDisabled:
'apartment architecture building business company enabled estate home internet maps office offline on place real residence residential slash website',
DomainVerification:
'application approve check complete design desktop done interface internet layout mark ok screen select tick ui ux validate verified website window www yes',
Done: 'DISABLE_IOS approve checkmark complete disable_ios finished ok select success tick validate verified yes',
DoneAll:
'approve checkmark complete finished layers multiple ok select stack success tick validate verified yes',
DoneOutline:
'all approve checkmark complete finished ok select success tick validate verified yes',
DoNotDisturb: 'cancel close denied deny remove silence stop',
DoNotDisturbAlt: 'cancel close denied deny remove silence stop',
DoNotDisturbOff:
'cancel close denied deny disabled enabled on remove silence slash stop',
DoNotDisturbOn:
'cancel close denied deny disabled enabled off remove silence slash stop',
DoNotDisturbOnTotalSilence: 'busy mute on quiet total',
DoNotStep: 'boot disabled enabled feet foot off on shoe slash sneaker steps',
DoNotTouch: 'disabled enabled fingers gesture hand off on slash',
DonutLarge:
'analytics chart circle complete data diagram infographic inprogress, measure metrics pie statistics tracking',
DonutSmall:
'analytics chart circle data diagram infographic inprogress measure metrics pie statistics tracking',
DoorBack: 'closed doorway entrance exit home house',
Doorbell: 'alarm home house ringing',
DoorFront: 'closed doorway entrance exit home house',
DoorSliding: 'automatic doorway double entrance exit glass home house two',
DoubleArrow: 'arrows chevron direction multiple navigation right',
DownhillSkiing:
'athlete athletic body entertainment exercise hobby human people person ski snow social sports travel winter',
Download: 'arrow downloads drive install upload',
DownloadDone: 'arrows check downloads drive installed ok tick upload',
DownloadForOffline: 'arrow circle for install offline upload',
Downloading: 'arrow circle downloads install pending progress upload',
Drafts: 'document email envelope file letter message read',
DragHandle:
'application components design interface layout lines menu move screen ui ux website window',
DragIndicator:
'application circles components design dots drop interface layout mobile monitor move phone screen shape shift tablet ui ux website window',
Draw: 'compose create design draft editing input pencil write writing',
DriveEta:
'automobile cars destination direction estimate maps public transportation travel trip vehicle',
DriveFileMove:
'arrows data direction document folders right sheet side slide storage',
DriveFileRenameOutline:
'compose create draft editing input marker pencil write writing',
DriveFolderUpload: 'arrow data document file sheet slide storage',
Dry: 'air bathroom dryer fingers gesture hand wc',
DryCleaning: 'hanger hotel laundry places service towel',
Duo: 'call chat conference device video',
Dvr: 'Android audio chrome computer desktop device display electronic hardware iOS laptop list mac monitor recorder screen tv video web window',
DynamicFeed: 'layer live mail_outline multiple post refresh update',
DynamicForm: 'code electric fast lightning lists questionnaire thunderbolt',
Earbuds: 'accessory audio earphone headphone listen music sound',
EarbudsBattery: 'accessory audio charging earphone headphone listen music sound',
East: 'arrow directional maps navigation right',
EdgesensorHigh:
'Android cell device hardware iOS mobile move phone sensitivity tablet vibrate',
EdgesensorLow:
'Android cell device hardware iOS mobile move phone sensitivity tablet vibrate',
Edit: 'compose create editing input new pencil write writing',
EditAttributes:
'approve attribution check complete done mark ok select tick validate verified yes',
EditCalendar:
'compose create date day draft editing event month pencil schedule write writing',
EditLocation: 'destination direction gps maps pencil pin place stop write',
EditLocationAlt: 'pencil pin',
EditNote: 'compose create draft editing input lines pencil text write writing',
EditNotifications:
'active alarm alert bell chime compose create draft editing input new notify pencil reminder ring sound write writing',
EditOff:
'compose create disabled draft editing enabled input new offline on pencil slash write writing',
EditRoad: 'destination direction highway maps pencil street traffic',
Egg: 'breakfast brunch food',
EggAlt: 'breakfast brunch food',
EighteenMp:
'camera digits font image letters megapixels numbers quality resolution symbol text type',
EightK:
'8000 8K alphabet character digit display font letter number pixels resolution symbol text type video',
EightKPlus:
'+ 7000 8K alphabet character digit display font letter number pixels resolution symbol text type video',
EightMp:
'camera digit font image letters megapixels number quality resolution symbol text type',
EightteenMp:
'camera digits font image letters megapixels numbers quality resolution symbol text type',
Eject: 'arrow disc drive dvd player remove triangle up usb',
Elderly: 'body cane human old people person senior',
ElderlyWoman:
'body cane female gender girl human lady old people person senior social symbol women',
ElectricalServices: 'charge cord plug power wire',
ElectricBike:
'automobile cars electricity maps scooter transportation travel vehicle vespa',
ElectricBolt: 'energy fast lightning nest thunderbolt',
ElectricCar: 'automobile cars electricity maps transportation travel vehicle',
ElectricMeter:
'energy fast lightning measure nest thunderbolt usage voltage volts',
ElectricMoped:
'automobile bike cars maps scooter transportation travel vehicle vespa',
ElectricRickshaw: 'automobile cars india maps transportation truck vehicle',
ElectricScooter: 'automobile bike cars maps transportation vehicle vespa',
Elevator: 'body down human people person up',
ElevenMp:
'camera digits font image letters megapixels numbers quality resolution symbol text type',
Email: 'envelope letter message note post receive send write',
EmergencyRecording:
'alert attention camera caution danger filming hardware image important motion notification picture videography warning',
EmergencyShare: 'alert attention caution danger important notification warning',
EMobiledata: 'alphabet font letter text type',
EmojiEmotions:
'+ add emoticon expressions face feelings glad happiness happy icons insert like mood new person pleased plus smiley smiling social survey symbol',
EmojiEvents:
'achievement award chalice champion cup first prize reward sport trophy winner',
EmojiFoodBeverage: 'coffee cup dring drink mug plate set tea',
EmojiNature: 'animal bee daisy flower honey insect ladybug petals spring summer',
EmojiObjects: 'creative idea lamp lightbulb solution thinking',
EmojiPeople: 'arm body greeting human person social wave waving',
EmojiSymbols: 'ampersand character hieroglyph music note percent sign',
EmojiTransportation:
'architecture automobile building cars commute company direction estate maps office place public real residence residential shelter travel vehicle',
EnergySavingsLeaf: 'eco leaves nest usage',
Engineering:
'body cogs cogwheel construction fixing gears hat helmet human maintenance people person setting worker',
EnhancedEncryption:
'+ add locked new password plus privacy private protection safety secure security symbol',
Equalizer:
'adjustment analytics chart data graph measure metrics music noise sound static statistics tracking volume',
Error:
'! alert announcement attention caution circle danger exclamation feedback important mark notification problem symbol warning',
ErrorOutline:
'! alert announcement attention caution circle danger exclamation feedback important mark notification problem symbol warning',
Escalator: 'down staircase up',
EscalatorWarning: 'body child human kid parent people person',
Euro: 'bill card cash coin commerce cost credit currency dollars euros finance money online payment price profit shopping symbol',
EuroSymbol:
'bill card cash coin commerce cost credit currency dollars finance money online payment price profit',
Event: 'agenda calendar date item mark month range remember reminder today week',
EventAvailable:
'agenda approve calendar check complete done item mark ok schedule select tick time validate verified yes',
EventBusy:
'agenda calendar cancel close date exit item no remove schedule stop time unavailable',
EventNote: 'agenda calendar date item schedule text time writing',
EventRepeat:
'around calendar date day inprogress loading month refresh renew rotate schedule turn',
EventSeat: 'assigned bench chair furniture reservation row section sit',
EvStation:
'automobile cars charge charging electricity filling fuel gasoline maps places power station transportation vehicle',
ExitToApp:
'application arrow back components design export interface layout leave login logout mobile monitor move output phone pointing quit register right screen signin signout signup tablet ux website window',
Expand: 'arrows compress enlarge grow move push together',
ExpandCircleDown: 'arrows chevron collapse direction expandable list more',
ExpandLess: 'arrows chevron collapse direction expandable list up',
ExpandMore: 'arrows chevron collapse direction down expandable list',
Explicit:
'adult alphabet character content font language letter media movies music parent rating supervision symbol text type',
Explore:
'compass destination direction east location maps needle north south travel west',
ExploreOff:
'compass destination direction disabled east enabled location maps needle north slash south travel west',
Exposure:
'add brightness contrast editing effect image minus photography picture plus settings subtract',
Extension: 'add-ons app extended game item jigsaw piece plugin puzzle shape',
ExtensionOff: 'disabled enabled extended jigsaw piece puzzle shape slash',
Face: 'account avatar emoji eyes human login logout people person profile recognition security social thumbnail unlock user',
Face2:
'account emoji eyes human login logout people person profile recognition security social thumbnail unlock user',
Face3:
'account emoji eyes human login logout people person profile recognition security social thumbnail unlock user',
Face4:
'account emoji eyes human login logout people person profile recognition security social thumbnail unlock user',
Face5:
'account emoji eyes human login logout people person profile recognition security social thumbnail unlock user',
Face6:
'account emoji eyes human login logout people person profile recognition security social thumbnail unlock user',
Facebook: 'brand logo social',
FaceRetouchingNatural:
'editing effect emoji emotion faces image photography settings star tag',
FaceRetouchingOff:
'disabled editing effect emoji emotion enabled faces image natural photography settings slash tag',
FactCheck: 'approve complete done list mark ok select tick validate verified yes',
Factory: 'industry manufacturing warehouse',
FamilyRestroom: 'bathroom children father kids mother parents wc',
Fastfood: 'drink hamburger maps meal places',
FastForward: 'control ff media music play speed time tv video',
FastRewind: 'back control media music play speed time tv video',
Favorite: 'appreciate health heart like love remember save shape success',
FavoriteBorder: 'health heart like love outline remember save shape success',
Fax: 'machine office phone send',
FeaturedPlayList: 'audio collection highlighted item music playlist recommended',
FeaturedVideo:
'advertisement advertisment highlighted item play recommended watch,advertised',
Feed: 'article headline information newspaper public social timeline',
Feedback:
'! alert announcement attention bubble caution chat comment communicate danger error exclamation important mark message notification speech symbol warning',
Female: 'gender girl lady social symbol woman women',
Fence: 'backyard barrier boundaries boundary home house protection',
Festival: 'circus event local maps places tent tour travel',
FiberDvr:
'alphabet character digital electronics font letter network recorder symbol text tv type video',
FiberManualRecord: 'circle dot play watch',
FiberNew: 'alphabet character font letter network symbol text type',
FiberPin: 'alphabet character font letter network symbol text type',
FiberSmartRecord: 'circle dot play watch',
FifteenMp:
'camera digits font image letters megapixels numbers quality resolution symbol text type',
FileCopy:
'bill clone content cut document duplicate invoice item multiple page past',
FileDownload: 'arrows downloads drive export install upload',
FileDownloadDone: 'arrows check downloads drive installed tick upload',
FileDownloadOff:
'arrow disabled drive enabled export install on save slash upload',
FileOpen: 'arrow document drive left page paper',
FilePresent:
'clip data document drive folders note paper reminder sheet slide storage writing',
FileUpload: 'arrows download drive export',
Filter: 'editing effect image landscape mountains photography picture settings',
Filter1:
'digit editing effect images multiple number photography pictures settings stack symbol',
Filter2:
'digit editing effect images multiple number photography pictures settings stack symbol',
Filter3:
'digit editing effect images multiple number photography pictures settings stack symbol',
Filter4:
'digit editing effect images multiple number photography pictures settings stack symbol',
Filter5:
'digit editing effect images multiple number photography pictures settings stack symbol',
Filter6:
'digit editing effect images multiple number photography pictures settings stack symbol',
Filter7:
'digit editing effect images multiple number photography pictures settings stack symbol',
Filter8:
'digit editing effect images multiple number photography pictures settings stack symbol',
Filter9:
'digit editing effect images multiple number photography pictures settings stack symbol',
Filter9Plus:
'+ digit editing effect images multiple number photography pictures settings stack symbol',
FilterAlt: 'edit funnel options refine sift',
FilterAltOff: '[offline] disabled edit funnel options refine sift slash',
FilterBAndW:
'black contrast editing effect grayscale images photography pictures settings white',
FilterCenterFocus: 'camera dot edit image photography picture',
FilterDrama: 'camera cloud editing effect image photography picture sky',
FilterFrames:
'boarders border camera center editing effect filters focus image options photography picture',
FilterHdr: 'camera editing effect image mountains photography picture',
FilterList: 'lines organize sort',
FilterListOff: '[offline] alt disabled edit options refine sift slash',
FilterNone: 'multiple stack',
FilterTiltShift: 'blur center editing effect focus images photography pictures',
FilterVintage: 'editing effect flower images photography pictures',
FindInPage:
'data document drive file folders glass look magnifying paper search see sheet slide writing',
FindReplace:
'around arrows glass inprogress loading look magnifying refresh renew rotate search see',
Fingerprint:
'biometrics identification identity reader thumbprint touchid verification',
FireExtinguisher: 'emergency water',
Fireplace: 'chimney flame home house living pit room warm winter',
FirstPage: 'arrow back chevron left rewind',
Fitbit: 'athlete athletic exercise fitness hobby logo',
FitnessCenter:
'athlete dumbbell exercise gym health hobby places sport weights workout',
FitScreen: 'enlarge format layout reduce scale size',
FiveG:
'5g alphabet cellular character data digit font letter mobile network number phone signal speed symbol text type wifi',
FiveK:
'5000 5K alphabet character digit display font letter number pixels resolution symbol text type video',
FiveKPlus:
'+ 5000 5K alphabet character digit display font letter number pixels resolution symbol text type video',
FiveMp:
'camera digit font image letters megapixels number quality resolution symbol text type',
FivteenMp:
'camera digits font image letters megapixels numbers quality resolution symbol text type',
Flag: 'country goal mark nation report start',
FlagCircle: 'country goal mark nation report round start',
Flaky:
'approve check close complete contrast done exit mark no ok options select stop tick verified yes',
Flare:
'bright editing effect images lensflare light photography pictures shine sparkle star sun',
FlashAuto: 'camera electric fast lightning thunderbolt',
FlashlightOff: 'disabled enabled on slash',
FlashlightOn: 'disabled enabled off slash',
FlashOff: 'camera disabled electric enabled fast lightning on slash thunderbolt',
FlashOn: 'camera disabled electric enabled fast lightning off slash thunderbolt',
Flatware: 'cafeteria cutlery diner dining eating fork room spoon',
Flight: 'airplane airport flying transportation travel trip',
FlightClass: 'airplane business first seat transportation travel trip window',
FlightLand:
'airplane airport arrival arriving flying landing transportation travel',
FlightTakeoff:
'airplane airport departed departing flying landing transportation travel',
Flip: 'editing image orientation scanning',
FlipCameraAndroid:
'center editing front image mobile orientation rear reverse rotate turn',
FlipCameraIos:
'DISABLE_IOS android disable_ios editing front image mobile orientation rear reverse rotate turn',
FlipToBack: 'arrangement format front layout move order sort',
FlipToFront: 'arrangement back format layout move order sort',
Flood: 'crisis disaster natural rain storm weather',
Fluorescent: 'bright lamp lightbulb',
FlutterDash: 'bird mascot',
FmdBad:
'! alert attention caution danger destination direction error exclamation important location maps mark notification pin place symbol warning',
FmdGood: 'destination direction location maps pin place stop',
Folder: 'data directory document drive file folders sheet slide storage',
FolderCopy:
'content cut data document drive duplicate file folders multiple paste sheet slide storage',
FolderDelete:
'bin can data document drive file folders garbage remove sheet slide storage trash',
FolderOff:
'[online] data disabled document drive enabled file folders sheet slash slide storage',
FolderOpen: 'data directory document drive file folders sheet slide storage',
FolderShared:
'account collaboration data directory document drive face human people person profile sheet slide storage team user',
FolderSpecial:
'bookmark data directory document drive favorite file highlight important marked saved shape sheet slide star storage',
FolderZip: 'compress data document drive file folders open sheet slide storage',
FollowTheSigns: 'arrow body directional human people person right social',
FontDownload: 'A alphabet character letter square symbol text type',
FontDownloadOff:
'alphabet character disabled enabled letter slash square symbol text type',
FoodBank:
'architecture building charity eat estate fork house knife meal place real residence residential shelter utensils',
Forest: 'jungle nature plantation plants trees woodland',
ForkLeft: 'arrows directions maps navigation path route sign traffic',
ForkRight: 'arrows directions maps navigation path route sign traffic',
FormatAlignCenter:
'alignment doc editing editor lines spreadsheet text type writing',
FormatAlignJustify:
'alignment density doc editing editor extra lines small spreadsheet text type writing',
FormatAlignLeft:
'alignment doc editing editor lines spreadsheet text type writing',
FormatAlignRight:
'alignment doc editing editor lines spreadsheet text type writing',
FormatBold:
'B alphabet character doc editing editor font letter spreadsheet styles symbol text type writing',
FormatClear:
'T alphabet character disabled doc editing editor enabled font letter off slash spreadsheet style symbol text type writing',
FormatColorFill:
'bucket doc editing editor paint spreadsheet style text type writing',
FormatColorReset:
'clear disabled doc droplet editing editor enabled fill liquid off on paint slash spreadsheet style text type water writing',
FormatColorText: 'doc editing editor fill paint spreadsheet style type writing',
FormatIndentDecrease:
'alignment doc editing editor indentation paragraph spreadsheet text type writing',
FormatIndentIncrease:
'alignment doc editing editor indentation paragraph spreadsheet text type writing',
FormatItalic:
'alphabet character doc editing editor font letter spreadsheet style symbol text type writing',
FormatLineSpacing: 'alignment doc editing editor spreadsheet text type writing',
FormatListBulleted:
'alignment doc editing editor notes spreadsheet task text todo type writing',
FormatListNumbered:
'alignment digit doc editing editor notes spreadsheet symbol task text todo type writing',
FormatListNumberedRtl:
'alignment digit doc editing editor notes spreadsheet symbol task text todo type writing',
FormatOverline:
'alphabet character doc editing editor font letter spreadsheet style symbol text type under writing',
FormatPaint:
'brush color doc editing editor fill paintroller spreadsheet style text type writing',
FormatQuote: 'doc editing editor quotation spreadsheet text type writing',
FormatShapes:
'alphabet character color doc editing editor fill font letter paint spreadsheet style symbol text type writing',
FormatSize:
'alphabet character color doc editing editor fill font letter paint spreadsheet style symbol text type writing',
FormatStrikethrough:
'alphabet character doc editing editor font letter spreadsheet style symbol text type writing',
FormatTextdirectionLToR:
'alignment doc editing editor ltr paragraph spreadsheet type writing',
FormatTextdirectionRToL:
'alignment doc editing editor paragraph rtl spreadsheet type writing',
FormatUnderlined:
'alphabet character doc editing editor font letter spreadsheet style symbol text type writing',
Fort: 'castle fortress mansion palace',
Forum:
'bubble chat comment communicate community conversation feedback hub messages speech talk',
Forward: 'arrow mail message playback right sent',
Forward10:
'arrow circle controls digit fast music number play rotate seconds speed symbol time video',
Forward30:
'arrow circle controls digit fast music number rotate seconds speed symbol time video',
Forward5:
'10 arrow circle controls digit fast music number rotate seconds speed symbol time video',
ForwardToInbox: 'arrow email envelop letter message send',
Foundation:
'architecture base basis building construction estate home house real residential',
FourGMobiledata:
'alphabet cellular character digit font letter network number phone signal speed symbol text type wifi',
FourGPlusMobiledata:
'alphabet cellular character digit font letter network number phone signal speed symbol text type wifi',
FourK:
'4000 4K alphabet character digit display font letter number pixels resolution symbol text type video',
FourKPlus:
'+ 4000 4K alphabet character digit display font letter number pixels resolution symbol text type video',
FourMp:
'camera digit font image letters megapixels number quality resolution symbol text type',
FourteenMp:
'camera digits font image letters megapixels numbers quality resolution symbol text type',
FreeBreakfast: 'beverage cafe coffee cup drink mug tea',
Fullscreen: 'adjust application components interface size ui ux view website',
FullscreenExit: 'adjust application components interface size ui ux view website',
Functions:
'average calculate count custom doc editing editor math sigma spreadsheet style sum text type writing',
Gamepad: 'buttons console controller device gaming playstation video',
Games:
'adjust arrows controller direction dpad gaming left move nintendo playstation right xbox',
Garage: 'automobile automotive cars direction maps transportation travel vehicle',
GasMeter: 'droplet energy measure nest usage water',
Gavel:
'agreement contract court document government hammer judge law mallet official police rules terms',
Gesture: 'drawing finger gestures hand line motion',
GetApp: 'arrows downloads export install play pointing retrieve upload',
Gif: 'alphabet animated animation bitmap character font format graphics interchange letter symbol text type',
GifBox:
'alphabet animated animation bitmap character font format graphics interchange letter symbol text type',
Girl: 'body female gender human lady people person social symbol woman women',
Gite: 'architecture estate home hostel house maps place real residence residential stay traveling',
GitHub: 'brand code',
GMobiledata: 'alphabet character font letter network service symbol text type',
GolfCourse:
'athlete athletic ball club entertainment flag golfer golfing hobby hole places putt sports',
Google: 'brand logo',
GppBad:
'cancel certified close error exit no privacy private protection remove security shield sim stop verified',
GppGood: 'certified check ok pass security shield sim tick',
GppMaybe:
'! alert attention caution certified danger error exclamation important mark notification privacy private protection security shield sim symbol verified warning',
GpsFixed: 'destination direction location maps pin place pointer stop tracking',
GpsNotFixed:
'destination direction disabled enabled fixed location maps not off online place pointer slash tracking',
GpsOff:
'destination direction disabled enabled fixed location maps not offline place pointer slash tracking',
Grade:
'. achievement favorite_news important likes marked rated rating reward saved shape special star_border_purple500 star_outline',
Gradient: 'color editing effect filter images photography pictures',
Grading:
'approve check complete document done feedback grade mark ok reviewed select star_boarder star_border_purple500 star_outline star_purple500 star_rate tick validate verified writing yes',
Grain: 'dots editing effect filter images photography pictures',
GraphicEq: 'audio equalizer music recording sound voice',
Grass: 'backyard fodder ground home lawn plant turf',
Grid3x3: 'layout line space',
Grid4x4: 'by layout lines space',
GridGoldenratio: 'layout lines space',
GridOff: 'collage disabled enabled image layout on slash view',
GridOn: 'collage disabled enabled image layout off sheet slash view',
GridView:
'application blocks components dashboard design interface layout screen square tiles ui ux website window',
Group:
'accounts committee face family friends humans network people persons profiles social team users',
GroupAdd:
'accounts committee face family friends humans increase more network people persons plus profiles social team users',
GroupRemove:
'accounts committee face family friends humans network people persons profiles social team users',
Groups:
'body club collaboration crowd gathering human meeting people person social teams',
Groups2:
'body club collaboration crowd gathering hair human meeting people person social teams',
Groups3:
'abstract body club collaboration crowd gathering human meeting people person social teams',
GroupWork: 'alliance circle collaboration film partnership reel teamwork together',
GTranslate: 'emblem google language logo mark speaking speech translator words',
Hail: 'body human people person pick public stop taxi transportation',
Handshake: 'agreement partnership',
Handyman: 'build construction fix hammer repair screwdriver tools',
Hardware: 'break construction hammer nail repair tool',
Hd: 'alphabet character definition display font high letter movies quality resolution screen symbol text tv type video',
HdrAuto:
'A alphabet camera character circle dynamic font high letter photo range symbol text type',
HdrAutoSelect:
'+ A alphabet camera character circle dynamic font high letter photo range symbol text type',
HdrEnhancedSelect:
'add alphabet character dynamic font high letter plus range symbol text type',
HdrOff:
'alphabet character disabled dynamic enabled enhance font high letter range select slash symbol text type',
HdrOffSelect:
'alphabet camera character circle disabled dynamic enabled font high letter photo range slash symbol text type',
HdrOn:
'add alphabet character dynamic enhance font high letter plus range select symbol text type',
HdrOnSelect:
'+ alphabet camera character circle dynamic font high letter photo range symbol text type',
HdrPlus:
'+ add alphabet character circle dynamic enhance font high letter range select symbol text type',
HdrStrong: 'circles dots dynamic enhance high range',
HdrWeak: 'circles dots dynamic enhance high range',
Headphones: 'accessory audio device earphone headset listen music sound',
HeadphonesBattery:
'accessory audio charging device earphone headset listen music sound',
Headset:
'accessory audio device earbuds earmuffs earphone headphones listen music sound',
HeadsetMic:
'accessory audio chat device earphone headphones listen music sound talk',
HeadsetOff:
'accessory audio chat device disabled earphone enabled headphones listen mic music slash sound talk',
Healing: 'bandage bandaid editing emergency fix health hospital image medicine',
HealthAndSafety:
'+ add certified cross home nest plus privacy private protection security shield symbol verified',
Hearing: 'accessibility accessible aid handicap help impaired listen sound volume',
HearingDisabled:
'accessibility accessible aid enabled handicap help impaired listen off on slash sound volume',
HeartBroken: 'break core crush health nucleus split',
HeatPump: 'air conditioner cool energy furnance nest usage',
Height:
'arrows color doc down editing editor fill format paint resize spreadsheet stretch style text type up writing',
Help: '? alert announcement assistance circle information mark punctuation question recent restore shape support symbol',
HelpCenter:
'? assistance information mark punctuation question recent restore support symbol',
HelpOutline:
'? alert announcement assistance circle information mark punctuation question recent restore shape support symbol',
Hevc: 'alphabet character coding efficiency font high letter symbol text type video',
Hexagon: 'shape sides six',
HideImage: 'disabled enabled landscape mountains off on photography picture slash',
HideSource: 'circle disabled enabled offline on shape slash',
Highlight:
'color doc editing editor emphasize fill flashlight format marker paint spreadsheet style text type writing',
HighlightAlt: 'arrow box click cursor draw focus pointer selection target',
HighlightOff:
'cancel circle clear click close delete disable exit focus no quit remove stop target times',
HighQuality:
'alphabet character definition display font hq letter movies resolution screen symbol text tv type',
Hiking:
'backpacking bag climbing duffle mountain social sports stick trail travel walking',
History:
'arrow backwards clock date refresh renew reverse revert rotate schedule time turn undo',
HistoryEdu:
'document education feather letter paper pen quill school tools write writing',
HistoryToggleOff: 'clock date schedule time',
Hive: 'bee honeycomb',
Hls: 'alphabet character developer engineering font letter platform symbol text type',
HlsOff:
'[offline] alphabet character developer disabled enabled engineering font letter platform slash symbol text type',
HMobiledata: 'alphabet character font letter network service symbol text type',
HolidayVillage:
'architecture beach camping cottage estate home house lake lodge maps place real residence residential stay traveling vacation',
Home: 'address application--house architecture building components design estate homepage interface layout place real residence residential screen shelter structure unit ux website window',
HomeMax: 'device gadget hardware internet iot nest smart things',
HomeMini: 'Internet device gadget hardware iot nest smart things',
HomeRepairService: 'equipment fix kit mechanic repairing toolbox tools workshop',
HomeWork:
'architecture building estate house office place real residence residential shelter',
HorizontalRule: 'gmail line novitas',
HorizontalSplit: 'bars format layout lines stacked',
Hotel: 'bed body human people person sleep stay travel trip',
HotTub:
'bathing bathroom bathtub hotel human jacuzzi person shower spa steam travel water',
HourglassBottom: 'countdown half loading minutes time waiting',
HourglassDisabled:
'clock countdown empty enabled loading minutes off on slash time waiting',
HourglassEmpty: 'countdown loading minutes start time waiting',
HourglassFull: 'countdown loading minutes time waiting',
HourglassTop: 'countdown half loading minutes time waiting',
House:
'architecture building estate family homepage places real residence residential shelter',
Houseboat:
'architecture beach estate floating home maps place real residence residential sea stay traveling vacation',
HouseSiding:
'architecture building construction estate exterior facade home real residential',
HowToReg:
'approve ballot check complete done election mark ok poll register registration select tick to validate verified vote yes',
HowToVote: 'ballot election poll',
HPlusMobiledata:
'+ alphabet character font letter network service symbol text type',
Html: 'alphabet brackets character code css developer engineering font letter platform symbol text type',
Http: 'alphabet character font internet letter network symbol text transfer type url website',
Https:
'connection encrypt internet key locked network password privacy private protection safety secure security ssl web',
Hub: 'center connection core focal network nucleus point topology',
Hvac: 'air conditioning heating ventilation',
Icecream: 'dessert food snack',
IceSkating:
'athlete athletic entertainment exercise hobby shoe skates social sports travel',
Image:
'disabled enabled frame hide landscape mountains off on photography picture slash',
ImageAspectRatio: 'photography picture rectangle square',
ImageNotSupported:
'disabled enabled landscape mountains off on photography picture slash',
ImageSearch:
'find glass landscape look magnifying mountains photography picture see',
ImagesearchRoller: 'art paint',
ImportantDevices:
'Android cell computer desktop hardware iOS mobile monitor phone star tablet web',
ImportContacts: 'address book friends information magazine open',
ImportExport: 'arrows direction down explort up',
Inbox: 'archive email incoming message',
IndeterminateCheckBox:
'application button components control design form interface minus screen selected selection square toggle ui undetermined ux website',
Info: 'about alert announcement announcment assistance bubble circle details help information service support',
Input: 'arrow box download login move right',
InsertChart:
'analytics barchart bars data diagram infographic measure metrics statistics tracking',
InsertChartOutlined:
'analytics bars data diagram infographic measure metrics statistics tracking',
InsertComment: 'add bubble chat feedback message',
InsertDriveFile: 'bill document format invoice item sheet slide',
InsertEmoticon:
'account emoji face happy human like people person profile sentiment smiley user',
InsertInvitation:
'agenda calendar date event mark month range remember reminder today week',
InsertLink: 'add anchor attach clip file mail media',
InsertPageBreak: 'document file paper',
InsertPhoto: 'image landscape mountains photography picture wallpaper',
Insights:
'analytics bars chart data diagram infographic measure metrics stars statistics tracking',
Instagram: 'brand logo social',
InstallDesktop:
'Android chrome device display fix hardware iOS mac monitor place pwa screen web window',
InstallMobile: 'Android cell device hardware iOS phone pwa tablet',
IntegrationInstructions:
'brackets clipboard code css developer document engineering html platform',
Interests: 'circle heart shapes social square triangle',
InterpreterMode: 'language microphone person speaking symbol',
Inventory:
'archive box buy check clipboard document e-commerce file list organize packages product purchase shop stock store supply',
Inventory2: 'archive box file organize packages product stock storage supply',
InvertColors: 'droplet editing hue inverted liquid palette tone water',
InvertColorsOff:
'disabled droplet enabled hue inverted liquid offline opacity palette slash tone water',
IosShare:
'arrows button direction export internet link send sharing social up website',
Iron: 'appliance clothes electric ironing machine object',
Iso: 'add editing effect image minus photography picture plus sensor shutter speed subtract',
Javascript:
'alphabet brackets character code css developer engineering font html letter platform symbol text type',
JoinFull: 'circle combine command left outer outter overlap right sql',
JoinInner: 'circle command matching overlap sql values',
JoinLeft: 'circle command matching overlap sql values',
JoinRight: 'circle command matching overlap sql values',
Kayaking:
'athlete athletic body canoe entertainment exercise hobby human lake paddle paddling people person rafting river row social sports summer travel water',
KebabDining: 'dinner food meal meat skewer',
Key: 'blackout password restricted secret unlock',
Keyboard: 'computer device hardware input keypad letter office text type',
KeyboardAlt: 'computer device hardware input keypad letter office text type',
KeyboardArrowDown: 'arrows chevron open',
KeyboardArrowLeft: 'arrows chevron',
KeyboardArrowRight: 'arrows chevron open start',
KeyboardArrowUp: 'arrows chevron submit',
KeyboardBackspace: 'arrow left',
KeyboardCapslock: 'arrow up',
KeyboardCommandKey: 'button command control key',
KeyboardControlKey: 'control key',
KeyboardDoubleArrowDown: 'arrows direction multiple navigation',
KeyboardDoubleArrowLeft: 'arrows direction multiple navigation',
KeyboardDoubleArrowRight: 'arrows direction multiple navigation',
KeyboardDoubleArrowUp: 'arrows direction multiple navigation',
KeyboardHide: 'arrow computer device down hardware input keypad text',
KeyboardOptionKey: 'alt key modifier',
KeyboardReturn: 'arrow back left',
KeyboardTab: 'arrow next right',
KeyboardVoice: 'microphone noise recorder speaker',
KeyOff: '[offline] disabled enabled on password slash unlock',
KingBed:
'bedroom double furniture home hotel house night pillows queen rest sleep',
Kitchen:
'appliance cabinet cold food freezer fridge home house ice places refrigerator storage',
Kitesurfing:
'athlete athletic beach body entertainment exercise hobby human people person social sports travel water',
Label: 'badge favorite indent item library mail remember save stamp sticker tag',
LabelImportant:
'badge favorite important. indent item library mail remember save stamp sticker tag wing',
LabelOff:
'disabled enabled favorite indent library mail on remember save slash stamp sticker tag wing',
Lan: 'computer connection data internet network service',
Landscape: 'image mountains nature photography picture',
Landslide: 'crisis disaster natural rain storm weather',
Language: 'country earth globe i18n internet l10n planet website world www',
Laptop:
'Android chrome computer connect desktop device display hardware iOS link mac monitor smart tv web windows',
LaptopChromebook:
'Android chromebook device display hardware iOS mac monitor screen web window',
LaptopMac:
'Android apple chrome device display hardware iOS monitor screen web window',
LaptopWindows: 'Android chrome device display hardware iOS mac monitor screen web',
LastPage:
'application arrow chevron components end forward interface right screen ui ux website',
Launch:
'application arrow box components core interface internal link new open screen ui ux website window',
Layers: 'arrange disabled enabled interaction maps off overlay pages slash stack',
LayersClear:
'arrange delete disabled enabled interaction maps off overlay pages slash',
Leaderboard:
'analytics bars chart data diagram infographic measure metrics statistics tracking',
LeakAdd: 'connection data link network service signals synce wireless',
LeakRemove:
'connection data disabled enabled link network offline service signals slash synce wireless',
LegendToggle:
'analytics chart data diagram infographic measure metrics monitoring stackdriver statistics tracking',
Lens: 'circle full geometry moon',
LensBlur: 'camera dim dot effect foggy fuzzy image photo soften',
LibraryAdd:
'+ collection layers multiple music new plus save stacked symbol video',
LibraryAddCheck:
'approve collection complete done layers mark multiple music ok select stacked tick validate verified video yes',
LibraryBooks: 'add album audio collection reading',
LibraryMusic: 'add album audio collection song sounds',
Light: 'bulb ceiling hanging inside interior lamp lighting pendent room',
Lightbulb: 'alert announcement idea information learning mode',
LightbulbCircle: 'alert announcement idea information',
LightMode: 'brightness day device lighting morning mornng sky sunny',
LinearScale:
'application components design interface layout measure menu screen slider ui ux website window',
LineAxis: 'dash horizontal stroke vertical',
LineStyle: 'dash dotted editor rule spacing',
LineWeight: 'editor height size spacing style thickness',
Link: 'anchor chain clip connection external hyperlink linked links multimedia unlisted url',
LinkedCamera: 'connection lens network photography picture signals sync wireless',
LinkedIn: 'brand logo social',
LinkOff:
'anchor attached chain clip connection disabled enabled linked links multimedia slash unlink url',
Liquor: 'alcohol bar bottle club cocktail drink food party store wine',
List: 'editor file format index menu options playlist task todo',
ListAlt: 'box contained editor format lines reorder sheet stacked task title todo',
LiveHelp:
'? alert announcement assistance bubble chat comment communicate faq information mark message punctuation question recent restore speech support symbol',
LiveTv:
'Android antennas chrome desktop device hardware iOS mac monitor movie play stream television web window',
Living:
'chair comfort couch decoration furniture home house lounging loveseat room seating sofa',
LocalActivity: 'event star things ticket',
LocalAirport: 'airplane flight flying transportation travel trip',
LocalAtm:
'bill card cart cash coin commerce credit currency dollars financial money online payment price profit shopping symbol',
LocalBar: 'alcohol bottle club cocktail drink food liquor martini wine',
LocalCafe: 'bottle coffee cup drink food mug restaurant tea',
LocalCarWash: 'automobile cars maps transportation travel vehicle',
LocalConvenienceStore:
'-- 24 bill building business card cash coin commerce company credit currency dollars maps market money new online payment plus shopping storefront symbol',
LocalDining: 'cutlery eat food fork knife meal restaurant spoon',
LocalDrink: 'cup droplet glass liquid park water',
LocalFireDepartment: '911 climate firefighter flame heat home hot nest thermostat',
LocalFlorist: 'flower shop',
LocalGasStation: 'auto car filling fuel gasoline oil station vehicle',
LocalGroceryStore: 'market shop',
LocalHospital: '911 aid cross doctor emergency first health medical medicine plus',
LocalHotel: 'bed body human people person sleep stay travel trip',
LocalLaundryService: 'cleaning clothing dryer hotel washer',
LocalLibrary: 'book community learning person read',
LocalMall:
'bill building business buy card cart cash coin commerce credit currency dollars handbag money online payment shopping storefront',
LocalOffer: 'deal discount price shopping store tag',
LocalParking:
'alphabet auto car character font garage letter symbol text type vehicle',
LocalPharmacy: '911 aid cross emergency first food hospital medicine places',
LocalPhone: 'booth call telecommunication',
LocalPizza: 'drink fastfood meal',
LocalPolice: '911 badge law officer protection security shield',
LocalPostOffice:
'delivery email envelop letter message package parcel postal send stamp',
LocalPrintshop: 'draft fax ink machine office paper printer send',
LocalSee: 'camera lens photography picture',
LocalShipping:
'automobile cars delivery letter mail maps office package parcel postal semi send shopping stamp transportation truck vehicle',
LocalTaxi:
'automobile cab call cars direction lyft maps public transportation uber vehicle yellow',
LocationCity:
'apartments architecture buildings business company estate home landscape place real residence residential shelter town urban',
LocationDisabled:
'destination direction enabled maps off pin place pointer slash stop tracking',
LocationOff:
'destination direction disabled enabled gps maps pin place room slash stop',
LocationOn:
'destination direction disabled enabled gps maps off pin place room slash stop',
LocationSearching: 'destination direction maps pin place pointer stop tracking',
Lock: 'connection key locked logout padlock password privacy private protection safety secure security signout',
LockClock:
'date locked password privacy private protection safety schedule secure security time',
LockOpen:
'connection key login padlock password privacy private protection register safety secure security signin signup unlocked',
LockReset:
'around inprogress loading locked password privacy private protection refresh renew rotate safety secure security turn',
Login:
'access application arrow components design enter interface left screen ui ux website',
LogoDev: 'dev.to',
Logout:
'application arrow components design exit interface leave login right screen ui ux website',
Looks: 'circle half rainbow',
Looks3: 'digit numbers square symbol',
Looks4: 'digit numbers square symbol',
Looks5: 'digit numbers square symbol',
Looks6: 'digit numbers square symbol',
LooksOne: '1 digit numbers square symbol',
LooksTwo: '2 digit numbers square symbol',
Loop: 'around arrows direction inprogress loader loading music navigation refresh renew repeat rotate turn',
Loupe: '+ add details focus glass magnifying new plus symbol',
LowPriority: 'arrange arrow backward bottom list move order task todo',
Loyalty:
'badge benefits card credit heart love membership miles points program sale subscription tag travel trip',
LteMobiledata:
'alphabet character font internet letter network speed symbol text type wifi wireless',
LtePlusMobiledata:
'+ alphabet character font internet letter network speed symbol text type wifi wireless',
Luggage: 'airport baggage carry flight hotel on suitcase travel trip',
LunchDining: 'breakfast dinner drink fastfood hamburger meal',
Lyrics:
'audio bubble chat comment communicate feedback key message music note song sound speech track',
MacroOff: '[offline] camera disabled enabled flower garden image on slash',
Mail: 'email envelope inbox letter message send',
MailLock:
'email envelop letter locked message password privacy private protection safety secure security send',
MailOutline: 'email envelope letter message note post receive send write',
Male: 'boy gender man social symbol',
Man: 'boy gender male social symbol',
Man2: 'boy gender male social symbol',
Man3: 'abstract boy gender male social symbol',
Man4: 'abstract boy gender male social symbol',
ManageAccounts:
'change details face gear options people person profile service-human settings user',
ManageHistory:
'application arrow backwards change clock date details gear options refresh renew reverse rotate schedule settings time turn',
ManageSearch: 'glass history magnifying text',
Map: 'destination direction location maps pin place route stop travel',
MapsHomeWork: 'building house office',
MapsUgc:
'+ add bubble comment communicate feedback message new plus speech symbol',
Margin: 'design layout padding size square',
MarkAsUnread: 'envelop letter mail postal receive send',
MarkChatRead:
'approve bubble check comment communicate complete done message ok select sent speech tick verified yes',
MarkChatUnread: 'bubble circle comment communicate message notification speech',
MarkEmailRead:
'approve check complete done envelop letter message note ok select send sent tick yes',
MarkEmailUnread: 'check circle envelop letter message note notification send',
Markunread: 'email envelope letter message send',
MarkUnreadChatAlt: 'bubble circle comment communicate message notification speech',
MarkunreadMailbox: 'deliver envelop letter postal postbox receive send',
Masks:
'air cover covid face hospital medical pollution protection respirator sick social',
Maximize:
'application components design interface line screen shape ui ux website',
MediaBluetoothOff:
'connection connectivity device disabled enabled music note offline paring signal slash symbol wireless',
MediaBluetoothOn:
'connection connectivity device disabled enabled music note off online paring signal slash symbol wireless',
Mediation:
'alternative arrows compromise direction dots negotiation party right structure',
MedicalInformation: 'badge card health id services',
MedicalServices: 'aid bag briefcase emergency first kit medicine',
Medication: 'doctor drug emergency hospital medicine pharmacy pills prescription',
MedicationLiquid:
'+ bottle doctor drug health hospital medications medicine pharmacy spoon vessel',
MeetingRoom:
'building doorway entrance home house interior logout office open places signout',
Memory: 'card chip digital micro processor sd storage',
Menu: 'application components hamburger interface lines playlist screen ui ux website',
MenuBook: 'dining food meal page restaurant',
MenuOpen:
'application arrow chevron components hamburger interface left lines screen ui ux website',
Merge: 'arrows directions maps navigation path route sign traffic',
MergeType: 'arrow combine direction format text',
Message: 'bubble chat comment communicate feedback speech talk text',
Mic: 'hearing microphone noise record search sound speech voice',
MicExternalOff: 'audio disabled enabled microphone slash sound voice',
MicExternalOn: 'audio disabled enabled microphone off slash sound voice',
MicNone: 'hearing microphone noise record sound voice',
MicOff:
'audio disabled enabled hearing microphone noise recording slash sound voice',
Microwave: 'appliance cooking electric heat home house kitchen machine',
MilitaryTech:
'army award badge honor medal merit order privilege prize rank reward ribbon soldier star status trophy winner',
Minimize:
'application components design interface line screen shape ui ux website',
MinorCrash:
'accident automobile cars collision directions maps public transportation vehicle',
MissedVideoCall:
'arrow camera filming hardware image motion picture record videography',
Mms: 'bubble chat comment communicate feedback image landscape message mountains multimedia photography picture speech',
MobiledataOff:
'arrow disabled down enabled internet network on slash speed up wifi wireless',
MobileFriendly:
'Android approve cell check complete device done hardware iOS mark ok phone select tablet tick validate verified yes',
MobileOff:
'Android cell device disabled enabled hardware iOS phone silence slash tablet',
MobileScreenShare:
'Android arrow cell device hardware iOS mirror monitor phone screencast streaming tablet tv wireless',
Mode: 'compose create draft draw edit pencil write',
ModeComment: 'bubble chat comment communicate feedback message mode speech',
ModeEdit: 'compose create draft draw pencil write',
ModeEditOutline: 'compose create draft draw pencil write',
ModeFanOff: 'air conditioner cool disabled enabled nest slash',
ModelTraining:
'arrow bulb idea inprogress light loading refresh renew restore reverse rotate',
ModeNight: 'dark disturb moon sleep weather',
ModeOfTravel:
'arrow destination direction location maps pin place stop transportation trip',
ModeStandby: 'disturb power sleep target',
MonetizationOn:
'bill card cash circle coin commerce cost credit currency dollars finance money online payment price profit sale shopping symbol',
Money:
'100 bill card cash coin commerce cost credit currency digit dollars finance number online payment price profit shopping symbol',
MoneyOff:
'bill card cart cash coin commerce credit currency disabled dollars enabled finance money online payment price profit shopping slash symbol',
MoneyOffCsred:
'bill card cart cash coin commerce credit currency disabled dollars enabled online payment shopping slash symbol',
Monitor: 'Android chrome device display hardware iOS mac screen web window',
MonitorHeart: 'baseline device ecc ecg fitness health medical track',
MonitorWeight: 'body device diet health scale smart',
MonochromePhotos: 'black camera image photography picture white',
Mood: 'emoji emoticon emotions expressions face feelings glad happiness happy like person pleased smiley smiling social survey',
MoodBad:
'disappointment dislike emoji emoticon emotions expressions face feelings person rating smiley social survey unhappiness unhappy unpleased unsmile unsmiling',
Moped:
'automobile bike cars direction maps motorized public scooter transportation vehicle vespa',
More: '3 archive badge bookmark dots etc favorite indent label remember save stamp sticker tab tag three',
MoreHoriz:
'3 DISABLE_IOS application components disable_ios dots etc horizontal interface pending screen status three ui ux website',
MoreTime: '+ add clock date new plus schedule symbol',
MoreVert:
'3 DISABLE_IOS android application components disable_ios dots etc interface screen three ui ux vertical website',
Mosque: 'islamic masjid muslim religion spiritual worship',
MotionPhotosAuto:
'A alphabet animation automatic character circle font gif letter live symbol text type video',
MotionPhotosOff: 'animation circle disabled enabled slash video',
Mouse: 'click computer cursor device hardware wireless',
MoveDown: 'arrow direction jump navigation transfer',
MoveToInbox:
'archive arrow down email envelop incoming letter message move send to',
MoveUp: 'arrow direction jump navigation transfer',
Movie: 'cinema film media screen show slate tv video watch',
MovieCreation: 'cinema clapperboard film movies slate video',
MovieFilter: 'clapperboard creation film movies slate stars video',
Moving: 'arrow direction navigation travel up',
Mp: 'alphabet character font image letter megapixel photography pixels quality resolution symbol text type',
MultilineChart:
'analytics bars data diagram infographic line measure metrics multiple statistics tracking',
MultipleStop: 'arrows directions dots left maps navigation right',
Museum:
'architecture attraction building estate event exhibition explore local palces places real see shop store tour',
MusicNote: 'audiotrack key sound',
MusicOff: 'audiotrack disabled enabled key note on slash sound',
MusicVideo: 'band mv recording screen tv watch',
MyLocation: 'destination direction maps navigation pin place point stop',
Nat: 'communication',
Nature: 'forest outdoor outside park tree wilderness',
NaturePeople:
'activity body forest human outdoor outside park person tree wilderness',
NavigateBefore: 'arrows direction left',
NavigateNext: 'arrows direction right',
Navigation: 'arrow destination direction location maps pin place point stop',
NearbyError:
'! alert attention caution danger exclamation important mark notification symbol warning',
NearbyOff: 'disabled enabled on slash',
NearMe:
'arrow destination direction location maps navigation pin place point stop',
NearMeDisabled:
'destination direction enabled location maps navigation off pin place point slash',
NestCamWiredStand: 'camera filming hardware image motion picture videography',
NetworkCell: 'cellular data internet mobile phone speed wifi wireless',
NetworkCheck: 'connection internet meter signal speed tick wifi wireless',
NetworkLocked:
'alert available cellular connection data error internet mobile not privacy private protection restricted safety secure security service signal warning wifi wireless',
NetworkPing:
'alert available cellular connection data internet ip mobile service signal wifi wireless',
NetworkWifi: 'cellular data internet mobile phone speed wireless',
NewReleases:
'! alert announcement attention burst caution danger error exclamation important mark notification star symbol warning',
Newspaper:
'article data document drive file folders magazine media notes page sheet slide text writing',
NextPlan: 'arrow circle right',
NextWeek: 'arrow baggage briefcase business suitcase',
Nfc: 'communication data field mobile near wireless',
Nightlife:
'alcohol bar bottle club cocktail dance drink food glass liquor music note wine',
Nightlight: 'dark disturb mode moon sleep weather',
NightlightRound: 'dark half mode moon',
NightShelter: 'architecture bed building estate homeless house place real sleep',
NightsStay: 'cloud crescent dark mode moon phases silence silent sky time weather',
NineK:
'9000 9K alphabet character digit display font letter number pixels resolution symbol text type video',
NineKPlus:
'+ 9000 9K alphabet character digit display font letter number pixels resolution symbol text type video',
NineMp:
'camera digit font image letters megapixels number quality resolution symbol text type',
NineteenMp:
'camera digits font image letters megapixels numbers quality resolution symbol text type',
NoAccounts:
'avatar disabled enabled face human offline people person profile slash thumbnail unavailable unidentifiable unknown user',
NoBackpack: 'accessory bookbag knapsack travel',
NoCell:
'Android device disabled enabled hardware iOS mobile off phone slash tablet',
NoCrash:
'accident automobile cars check collision confirm correct direction done enter maps mark okay select tick transportation vehicle yes',
NoDrinks: 'alcohol beverage bottle cocktail food liquor wine',
NoEncryption: 'disabled enabled lock off password safety security slash',
NoEncryptionGmailerrorred: 'disabled enabled locked off slash',
NoFlash:
'camera disabled enabled image lightning off on photography picture slash thunderbolt',
NoFood: 'disabled drink enabled fastfood hamburger meal off on slash',
NoiseAware: 'audio cancellation music note sound',
NoiseControlOff:
'[offline] audio aware cancellation disabled enabled music note slash sound',
NoLuggage: 'baggage carry disabled enabled off on slash suitcase travel',
NoMeals:
'dining disabled eat enabled food fork knife off restaurant slash spoon utensils',
NoMeetingRoom:
'building disabled doorway enabled entrance home house interior office on open places slash',
NoPhotography: 'camera disabled enabled image off on picture slash',
NordicWalking:
'athlete athletic body entertainment exercise hiking hobby human people person social sports travel walker',
North: 'arrow directional maps navigation up',
NorthEast: 'arrow maps navigation noth right up',
NorthWest: 'arrow directional left maps navigation up',
NoSim: 'camera card device eject insert memory phone storage',
NoStroller:
'baby care carriage children disabled enabled infant kid newborn off on parents slash toddler young',
NotAccessible: 'accessibility body handicap help human person wheelchair',
Note: 'bookmark message paper',
NoteAdd:
'+ -doc create data document drive file folders new page paper plus sheet slide symbol writing',
NoteAlt: 'clipboard document file memo page paper writing',
Notes: 'comment document text write writing',
NotificationAdd:
'+ active alarm alert bell chime notifications notify plus reminder ring sound symbol',
NotificationImportant:
'! active alarm alert announcement attention bell caution chime danger error exclamation feedback mark notifications notify problem reminder ring sound symbol warning',
Notifications: 'active alarm alert bell chime notify reminder ring sound',
NotificationsActive: 'alarm alert bell chime notify reminder ringing sound',
NotificationsNone: 'alarm alert bell notify reminder ring sound',
NotificationsOff:
'active alarm alert bell chime disabled enabled notify offline reminder ring slash sound',
NotificationsPaused:
'--- active alarm aleet alert bell chime ignore notify pause quiet reminder ring sleep snooze sound zzz',
NotInterested:
'allowed banned cancel circle close disabled dislike exit interested not off prohibited quit remove stop',
NotListedLocation:
'? assistance destination direction help information maps pin place punctuation questionmark stop support symbol',
NoTransfer:
'automobile bus cars direction disabled enabled maps off public slash transportation vehicle',
NotStarted: 'circle media pause play video',
Numbers: 'digit symbol',
OfflineBolt: 'circle electric fast flash lightning spark thunderbolt',
OfflinePin:
'approve checkmark circle complete done ok select tick validate verified yes',
OfflineShare:
'Android arrow cell connect device direction hardware iOS link mobile multiple phone right tablet',
OilBarrel: 'droplet gasoline nest water',
OndemandVideo:
'Android chrome desktop device hardware iOS mac monitor play television tv web window',
OnDeviceTraining:
'arrow bulb call cell contact hardware idea inprogress light loading mobile model refresh renew restore reverse rotate telephone',
OneK: '1000 1K alphabet character digit display font letter number pixels resolution symbol text type video',
OneKk:
'10000 10K alphabet character digit display font letter number pixels resolution symbol text type video',
OneKPlus:
'+ 1000 1K alphabet character digit display font letter number pixels resolution symbol text type video',
OnlinePrediction: 'bulb connection idea light network signal wireless',
Opacity: 'color droplet hue inverted liquid palette tone water',
OpenInBrowser: 'arrow box new up website window',
OpenInFull: 'action arrows expand grow move',
OpenInNew:
'application arrow box components interface link right screen ui up ux website window',
OpenInNewOff: 'arrow box disabled enabled export on slash window',
OpenWith: 'arrows directional expand move',
OtherHouses:
'architecture cottage estate home maps place real residence residential stay traveling',
Outbound: 'arrow circle directional right up',
Outbox: 'mail send sent',
OutdoorGrill: 'barbecue barbeque bbq charcoal cooking home house outside',
Outlet: 'connecter electricity plug power',
OutlinedFlag: 'country goal mark nation report start',
Padding: 'design layout margin size square',
Pages: 'article gplus paper post star',
Pageview: 'document find glass magnifying paper search',
Paid: 'circle currency money payment transaction',
Palette: 'art colors filters paint',
Panorama: 'angle image mountains photography picture view wide',
PanoramaFishEye: 'angle circle image photography picture wide',
PanoramaHorizontal: 'angle image photography picture wide',
PanoramaHorizontalSelect: 'angle image photography picture wide',
PanoramaPhotosphere: 'angle horizontal image photography picture wide',
PanoramaPhotosphereSelect: 'angle horizontal image photography picture wide',
PanoramaVertical: 'angle image photography picture wide',
PanoramaVerticalSelect: 'angle image photography picture wide',
PanoramaWideAngle: 'image photography picture',
PanoramaWideAngleSelect: 'image photography picture',
PanTool: 'drag fingers gesture hands human move scan stop touch wait',
PanToolAlt: 'fingers gesture hands human move scan stop',
Paragliding:
'athlete athletic body entertainment exercise fly hobby human parachute people person skydiving social sports travel',
Park: 'attraction fresh local nature outside plant tree',
PartyMode: 'camera lens photography picture',
Password: 'key login pin security star unlock',
Pattern: 'key login password pin security star unlock',
Pause: 'controls media music pending player status video wait',
PauseCircle: 'controls media music video',
PauseCircleFilled: 'controls media music pending status video wait',
PauseCircleOutline: 'controls media music pending status video wait',
PausePresentation:
'application desktop device pending screen share slides status wait website window www',
Payment:
'bill cash charge coin commerce cost creditcard currency dollars finance financial information money online price shopping symbol',
Payments:
'bill card cash coin commerce cost credit currency dollars finance layer money multiple online price shopping symbol',
PedalBike:
'automobile bicycle cars direction human maps public route scooter transportation vehicle vespa',
Pending: 'circle dots loading progress waiting',
PendingActions: 'clipboard clock date document remember schedule time',
Pentagon: 'five shape sides',
People:
'accounts committee community face family friends group humans network persons profiles social team users',
PeopleAlt:
'accounts committee face family friends group humans network persons profiles social team users',
PeopleOutline:
'accounts committee face family friends group humans network persons profiles social team users',
Percent: 'math number symbol',
PermCameraMic: 'image microphone min photography picture speaker',
PermContactCalendar:
'account agenda date face human information people person profile schedule time user',
PermDataSetting:
'cellular configure gear information network settings wifi wireless',
PermDeviceInformation:
'Android alert announcement cell hardware iOS important mobile phone tablet',
PermIdentity:
'account avatar face human information people person profile save, thumbnail user',
PermMedia:
'collection data directories document file folders images landscape mountains photography picture save storage',
PermPhoneMsg:
'bubble call cell chat comment communicate contact device message mobile recording save speech telephone voice',
PermScanWifi:
'alert announcement connection information internet network service signal wireless',
Person: 'account avatar face human people profile user',
Person2: 'account face human people profile user',
Person3: 'account face human people profile user',
Person4: 'account face human people profile user',
PersonAdd:
'+ account avatar face friend human new people plus profile symbol user',
PersonAddAlt: '+ account face human people plus profile user',
PersonAddDisabled:
'+ account enabled face human new offline people plus profile slash symbol user',
PersonalVideo:
'Android cam chrome desktop device hardware iOS mac monitor television tv web window',
PersonOff: 'account avatar disabled enabled face human people profile slash user',
PersonOutline: 'account avatar face human people profile user',
PersonPin:
'account avatar destination direction face gps human location maps people place profile stop user',
PersonPinCircle:
'account destination direction face gps human location maps people place profile stop user',
PersonRemove:
'account avatar delete face human minus people profile unfriend user',
PersonSearch:
'account avatar face find glass human look magnifying people profile user',
PestControl: 'bug exterminator insects',
PestControlRodent: 'exterminator mice',
Pets: 'animal cat claw dog hand paw',
Phishing: 'fishing fraud hook scam',
Phone: 'call cell chat contact device hardware mobile telephone text',
PhoneAndroid: 'cell device hardware iOS mobile tablet',
PhoneBluetoothSpeaker:
'call cell connection connectivity contact device hardware mobile signal symbol telephone wireless',
PhoneCallback: 'arrow cell contact device down hardware mobile telephone',
PhoneDisabled:
'call cell contact device enabled hardware mobile offline slash telephone',
PhoneEnabled: 'call cell contact device hardware mobile telephone',
PhoneForwarded:
'arrow call cell contact device direction hardware mobile right telephone',
PhoneIphone: 'Android apple cell device hardware iOS mobile tablet',
Phonelink:
'Android chrome computer connect desktop device hardware iOS mac mobile sync tablet web windows',
PhonelinkErase:
'Android cancel cell close connection device exit hardware iOS mobile no remove stop tablet',
PhonelinkLock:
'Android cell connection device erase hardware iOS locked mobile password privacy private protection safety secure security tablet',
PhonelinkOff:
'Android chrome computer connect desktop device disabled enabled hardware iOS mac mobile slash sync tablet web windows',
PhonelinkRing:
'Android cell connection data device hardware iOS mobile network service signal tablet wireless',
PhonelinkSetup:
'Android call chat device hardware iOS information mobile settings tablet text',
PhoneLocked:
'call cell contact device hardware mobile password privacy private protection safety secure security telephone',
PhoneMissed: 'arrow call cell contact device hardware mobile telephone',
PhonePaused: 'call cell contact device hardware mobile telephone wait',
Photo: 'image mountains photography picture',
PhotoAlbum:
'archive bookmark image label library mountains photography picture ribbon save tag',
PhotoCamera: 'image photography picture',
PhotoCameraBack: 'image landscape mountains photography picture rear',
PhotoCameraFront:
'account face human image people person photography picture portrait profile user',
PhotoFilter: 'filters image photography picture stars',
PhotoLibrary: 'album image mountains photography picture',
PhotoSizeSelectActual: 'image mountains photography picture',
PhotoSizeSelectLarge:
'adjust album editing image library mountains photography picture',
PhotoSizeSelectSmall:
'adjust album editing image large library mountains photography picture',
Php: 'alphabet brackets character code css developer engineering font html letter platform symbol text type',
Piano: 'instrument keyboard keys musical social',
PianoOff: 'disabled enabled instrument keyboard keys musical on slash social',
PictureAsPdf:
'alphabet character document file font image letter multiple photography symbol text type',
PictureInPicture: 'cropped overlap photo position shape',
PictureInPictureAlt: 'cropped overlap photo position shape',
PieChart:
'analytics bars data diagram infographic measure metrics statistics tracking',
PieChartOutline:
'analytics bars data diagram infographic measure metrics statistics tracking',
Pin: '1 2 3 digit key login logout number password pattern security star symbol unlock',
Pinch: 'arrows compress direction finger grasp hand navigation nip squeeze tweak',
PinDrop: 'destination direction gps location maps navigation place stop',
Pinterest: 'brand logo social',
PivotTableChart:
'analytics arrows bars data diagram direction drive editing grid infographic measure metrics rotate sheet statistics tracking',
Pix: 'bill brazil card cash commerce credit currency finance money payment',
Place: 'destination direction location maps navigation pin point stop',
Plagiarism: 'document find glass look magnifying page paper search see',
PlayArrow: 'controls media music player start video',
PlayCircle: 'arrow controls media music video',
PlayCircleFilled: 'arrow controls media music start video',
PlayCircleFilledWhite: 'start',
PlayCircleOutline: 'arrow controls media music start video',
PlayDisabled: 'controls enabled media music off slash video',
PlayForWork: 'arrow circle down google half',
PlayLesson: 'audio bookmark digital ebook lesson multimedia play reading ribbon',
PlaylistAdd: '+ collection music new plus symbol task todo',
PlaylistAddCheck:
'approve checkmark collection complete done music ok select task tick todo validate verified yes',
PlaylistAddCheckCircle:
'album artist audio cd collection mark music record sound track',
PlaylistAddCircle:
'album artist audio cd check collection mark music record sound track',
PlaylistPlay: 'arow arrow collection music',
PlaylistRemove: '- collection minus music',
Plumbing: 'build construction fix handyman repair tools wrench',
PlusOne: '1 add digit increase number symbol',
Podcasts: 'broadcast casting network signal transmitting wireless',
PointOfSale:
'checkout cost machine merchant money payment pos retail system transaction',
Policy:
'certified find glass legal look magnifying privacy private protection search security see shield verified',
Poll: 'analytics barchart bars data diagram infographic measure metrics statistics survey tracking vote',
Polyline: 'compose create design draw vector',
Pool: 'athlete athletic beach body entertainment exercise hobby human ocean people person places sea sports swimming water',
PortableWifiOff:
'connected connection data device disabled enabled internet network offline service signal slash usage wireless',
Portrait: 'account face human people person photo picture profile user',
PostAdd:
'+ data document drive file folders item page paper plus sheet slide text writing',
Power: 'charge cord electrical online outlet plug socket',
PowerInput: 'dc lines supply',
PowerOff: 'charge cord disabled electrical enabled on outlet plug slash',
PowerSettingsNew: 'information off save shutdown',
PrecisionManufacturing:
'arm automatic chain conveyor crane factory industry machinery mechanical production repairing robot supply warehouse',
PregnantWoman:
'baby birth body female human lady maternity mom mother people person user women',
PresentToAll: 'arrow presentation screen share slides website',
Preview: 'design eye layout reveal screen see show website window www',
PriceChange:
'arrows bill card cash coin commerce cost credit currency dollars down finance money online payment shopping symbol up',
PriceCheck:
'approve bill card cash coin commerce complete cost credit currency dollars done finance mark money ok online payment select shopping symbol tick validate verified yes',
Print: 'draft fax ink machine office paper printer send',
PrintDisabled: 'enabled off on paper printer slash',
PriorityHigh:
'! alert attention caution danger error exclamation important mark notification symbol warning',
PrivacyTip:
'alert announcement announcment assistance certified details help information private protection security service shield support verified',
ProductionQuantityLimits:
'! alert attention bill card cart cash caution coin commerce credit currency danger dollars error exclamation important mark money notification online payment shopping symbol warning',
Propane: 'gas nest',
PropaneTank: 'bbq gas grill nest',
Psychology:
'behavior body brain cognitive function gear head human intellectual mental mind people person preferences psychiatric science settings social therapy thinking thoughts',
PsychologyAlt:
'? assistance behavior body brain cognitive function gear head help human information intellectual mark mental mind people person preferences psychiatric punctuation question science settings social support symbol therapy thinking thoughts',
Public:
'country earth global globe language map network planet social space web world',
PublicOff:
'disabled earth enabled global globe map network on planet slash social space web world',
Publish: 'arrow cloud file import submit upload',
PublishedWithChanges:
'approve arrows check complete done inprogress loading mark ok refresh renew replace rotate select tick validate verified yes',
PunchClock: 'date schedule timer timesheet',
PushPin: 'location marker place remember save',
QrCode: 'barcode camera media product quick response smartphone urls',
QrCode2: 'barcode camera media product quick response smartphone urls',
QrCodeScanner: 'barcode camera media product quick response smartphone urls',
QueryBuilder: 'clock date hour minute save schedule time',
QueryStats:
'analytics chart data diagram find glass infographic line look magnifying measure metrics search see statistics tracking',
QuestionAnswer:
'bubble chat comment communicate conversation converse feedback message speech talk',
QuestionMark:
'? assistance help information mark punctuation question support symbol',
Queue: 'add collection layers multiple music playlist stack stream video',
QueueMusic: 'add collection playlist stream',
QueuePlayNext:
'+ add arrow collection desktop device display hardware monitor music new playlist plus screen steam symbol tv video',
Quickreply:
'bubble chat comment communicate fast lightning message speech thunderbolt',
Quiz: '? assistance faq help information mark punctuation question support symbol test',
Radar: 'detect military near network position scan',
Radio:
'antenna audio device frequency hardware listen media music player signal tune',
RadioButtonChecked:
'application bullet circle components design form interface off point record screen selected toggle ui ux website',
RadioButtonUnchecked: 'bullet circle deselected form off point record toggle',
RailwayAlert:
'! attention automobile bike cars caution danger direction error exclamation important maps mark notification public scooter subway symbol train transportation vehicle vespa warning',
RamenDining: 'breakfast dinner drink fastfood lunch meal noodles restaurant',
RampLeft: 'arrows directions maps navigation path route sign traffic',
RampRight: 'arrows directions maps navigation path route sign traffic',
RateReview: 'chat comment feedback message pencil stars write',
RawOff:
'alphabet character disabled enabled font image letter original photography slash symbol text type',
RawOn:
'alphabet character disabled enabled font image letter off original photography slash symbol text type',
ReadMore: 'arrow text',
Receipt: 'bill credit invoice paper payment sale transaction',
ReceiptLong: 'bill check document list paperwork record store transaction',
RecentActors:
'account avatar cards carousel contacts face human layers list people person profile thumbnail user',
Recommend:
'approved circle confirm favorite gesture hand like reaction social support thumbs well',
RecordVoiceOver:
'account face human people person profile recording sound speaking speech transcript user',
Rectangle: 'four parallelograms polygons quadrilaterals recangle shape sides',
Recycling:
'bio eco green loop recyclable recycle rotate sustainability sustainable trash',
Reddit: 'brand logo social',
Redeem:
'bill cart cash certificate coin commerce credit currency dollars giftcard money online payment present shopping',
Redo: 'arrow backward forward next repeat rotate undo',
ReduceCapacity: 'arrow body covid decrease down human people person social',
Refresh:
'around arrows direction inprogress loading navigation refresh renew right rotate turn',
RememberMe:
'Android avatar device hardware human iOS identity mobile people person phone profile tablet user',
Remove: 'can delete line minus negative substract subtract trash',
RemoveCircle:
'allowed banned block can delete disable minus negative not substract trash',
RemoveCircleOutline:
'allowed banned block can delete disable minus negative not substract trash',
RemoveDone:
'approve check complete disabled enabled finished mark multiple off ok select slash tick yes',
RemoveFromQueue:
'collection desktop device display hardware list monitor screen steam television',
RemoveModerator:
'certified disabled enabled off privacy private protection security shield slash verified',
RemoveRedEye: 'iris looking preview see sight vision',
RemoveRoad:
'- cancel close destination direction exit highway maps minus new no stop street symbol traffic',
RemoveShoppingCart:
'card cash checkout coin commerce credit currency disabled dollars enabled off online payment slash tick',
Reorder: 'format lines list stacked',
Repartition: 'arrows data refresh renew restore table',
Repeat: 'arrows controls media music video',
RepeatOn: 'arrows controls media music video',
RepeatOne: '1 arrows controls digit media music number symbol video',
RepeatOneOn: 'arrows controls digit media music number symbol video',
Replay:
'arrows controls music refresh reload renew repeat retry rewind undo video',
Replay10:
'arrows controls digit music number refresh renew repeat rewind symbol ten video',
Replay30:
'arrows controls digit music number refresh renew repeat rewind symbol thirty video',
Replay5:
'arrows controls digit five music number refresh renew repeat rewind symbol video',
ReplayCircleFilled: 'arrows controls music refresh renew repeat video',
Reply: 'arrow backward left mail message send share',
ReplyAll: 'arrows backward group left mail message multiple send share',
Report:
'! alert attention caution danger error exclamation important mark notification octagon symbol warning',
ReportGmailerrorred:
'! alert attention caution danger exclamation important mark notification octagon symbol warning',
ReportOff:
'! alert attention caution danger disabled enabled error exclamation important mark notification octagon offline slash symbol warning',
ReportProblem:
'! alert announcement attention caution danger error exclamation feedback important mark notification symbol triangle warning',
RequestPage: 'data document drive file folders paper sheet slide writing',
RequestQuote:
'bill card cash coin commerce cost credit currency dollars finance money online payment price shopping symbol',
ResetTv: 'arrow device hardware monitor television',
RestartAlt: 'around arrow inprogress loading reboot refresh renew repeat reset',
Restaurant:
'breakfast cutlery dining dinner eat food fork knife local lunch meal places spoon utensils',
RestaurantMenu: 'book dining eat food fork knife local meal spoon',
Restore:
'arrow backwards clock date history refresh renew reverse rotate schedule time turn undo',
RestoreFromTrash:
'arrow backwards can clock date delete garbage history refresh remove renew reverse rotate schedule time turn up',
RestorePage:
'arrow data doc file history paper refresh rotate sheet storage undo web',
Reviews:
'bubble chat comment communicate feedback message rate rating recommendation speech',
RiceBowl: 'dinner food lunch meal restaurant',
RingVolume:
'calling cell contact device hardware incoming mobile ringer sound telephone',
RMobiledata: 'alphabet character font letter symbol text type',
Rocket: 'spaceship',
RocketLaunch: 'spaceship takeoff',
RollerShades: 'blinds cover curtains nest open shutter sunshade',
RollerShadesClosed: 'blinds cover curtains nest shutter sunshade',
RollerSkating:
'athlete athletic entertainment exercise hobby shoe skates social sports travel',
Roofing:
'architecture building chimney construction estate home house real residence residential service shelter',
Room: 'destination direction gps location maps marker pin place spot stop',
RoomPreferences:
'building doorway entrance gear home house interior office open settings',
RoomService: 'alert bell concierge delivery hotel notify',
Rotate90DegreesCcw: 'arrows direction editing image photo turn',
Rotate90DegreesCw: 'arrows ccw direction editing image photo turn',
RotateLeft:
'around arrow circle direction inprogress loading refresh reload renew reset turn',
RotateRight: 'around arrow circle direction inprogress loading refresh renew turn',
RoundaboutLeft: 'arrows directions maps navigation path route sign traffic',
RoundaboutRight: 'arrows directions maps navigation path route sign traffic',
RoundedCorner: 'adjust edit shape square transform',
Route: 'directions maps path sign traffic',
Router: 'box cable connection device hardware internet network signal wifi',
Rowing: 'activity boat body canoe human people person sports water',
RssFeed:
'application blog connection data internet network service signal website wifi wireless',
Rsvp: 'alphabet character font invitation invite letter plaît respond répondez sil symbol text type vous',
Rtt: 'call real rrt text time',
Rule: 'approve check done incomplete line mark missing no ok select tick validate verified wrong x yes',
RuleFolder:
'approve cancel check close complete data document done drive exit file mark no ok remove select sheet slide storage tick validate verified yes',
RunCircle: 'body exercise human people person running',
RunningWithErrors:
'! alert attention caution danger duration exclamation important mark notification processing symbol time warning',
RvHookup:
'arrow attach automobile automotive back cars connect direction left maps public right trailer transportation travel truck van vehicle',
SafetyCheck:
'certified clock privacy private protection schedule security shield time verified',
SafetyDivider: 'apart distance separate social space',
Sailing:
'entertainment fishing hobby ocean sailboat sea social sports travel water',
Sanitizer: 'bacteria bottle clean covid disinfect germs pump',
Satellite:
'bluetooth connection connectivity data device image internet landscape location maps mountains network photography picture scan service signal symbol wifi wireless--',
SatelliteAlt: 'alternative artificial communication space station television',
Save: 'data diskette document drive file floppy multimedia storage write',
SaveAlt: 'arrow diskette document down file floppy multimedia write',
SaveAs:
'compose create data disk document draft drive editing file floppy input multimedia pencil storage write writing',
SavedSearch: 'find glass important look magnifying marked see star',
Savings:
'bank bill card cash coin commerce cost credit currency dollars finance money online payment piggy symbol',
Scale: 'measure monitor weight',
Scanner: 'copy device hardware machine',
ScatterPlot:
'analytics bars chart circles data diagram dot infographic measure metrics statistics tracking',
Schedule: 'calendar clock date mark save time',
ScheduleSend: 'calendar clock date email letter remember share time',
Schema:
'analytics chart data diagram flow infographic measure metrics statistics tracking',
School:
'academy achievement cap class college education graduation hat knowledge learning university',
Science:
'beaker chemical chemistry experiment flask glass laboratory research tube',
Score:
'2k alphabet analytics bars character chart data diagram digit font infographic letter measure metrics number statistics symbol text tracking type',
Scoreboard: 'points sports',
ScreenLockLandscape:
'Android device hardware iOS mobile phone rotate security tablet',
ScreenLockPortrait:
'Android device hardware iOS mobile phone rotate security tablet',
ScreenLockRotation:
'Android arrow device hardware iOS mobile phone rotate tablet turn',
ScreenRotation:
'Android arrow device hardware iOS mobile phone rotate tablet turn',
ScreenRotationAlt:
'Android arrow device hardware iOS mobile phone rotate tablet turn',
ScreenSearchDesktop: 'Android arrow device hardware iOS lock monitor rotate web',
ScreenShare:
'Android arrow cast chrome device display hardware iOS laptop mac mirror monitor steam streaming web window',
Screenshot: 'Android cell crop device hardware iOS mobile phone tablet',
ScreenshotMonitor:
'Android chrome desktop device display hardware iOS mac screengrab web window',
ScubaDiving: 'entertainment exercise hobby social swimming',
Sd: 'alphabet camera card character data device digital drive flash font image letter memory photo secure symbol text type',
SdCard: 'camera digital memory photos secure storage',
SdCardAlert:
'! attention camera caution danger digital error exclamation important mark memory notification photos secure storage symbol warning',
SdStorage: 'camera card data digital memory microsd secure',
Search: 'filter find glass look magnifying see up',
SearchOff:
'cancel close disabled enabled find glass look magnifying on see slash stop x',
Security: 'certified privacy private protection shield verified',
SecurityUpdate: 'Android arrow device download hardware iOS mobile phone tablet',
SecurityUpdateGood:
'Android checkmark device hardware iOS mobile ok phone tablet tick',
SecurityUpdateWarning:
'! Android alert attention caution danger device download error exclamation hardware iOS important mark mobile notification phone symbol tablet',
Segment: 'alignment fonts format lines list paragraph part piece rules style text',
SelectAll: 'selection square tool',
SelfImprovement:
'body calm care chi human meditate meditation people person relax sitting wellbeing yoga zen',
Sell: 'bill card cart cash coin commerce credit currency dollars money online payment price shopping tag',
Send: 'chat email message paper plane reply right share telegram',
SendAndArchive: 'arrow download email letter save share',
SendTimeExtension: 'deliver dispatch envelop mail message schedule',
SendToMobile:
'Android arrow device export forward hardware iOS phone right share tablet',
SensorOccupied:
'body connection human network people person scan sensors signal wireless',
Sensors: 'connection network scan signal wireless',
SensorsOff: 'connection disabled enabled network scan signal slash wireless',
SentimentDissatisfied:
'angry disappointed dislike emoji emoticon emotions expressions face feelings frown mood person sad smiley survey unhappy unsatisfied upset',
SentimentNeutral:
'emotionless emotions expressions face feelings indifference mood okay person survey',
SentimentSatisfied:
'emoji emoticon emotions expressions face feelings glad happiness happy like mood person pleased smiley smiling survey',
SentimentSatisfiedAlt:
'account emoji face happy human people person profile smile user',
SentimentVeryDissatisfied:
'angry disappointed dislike emoji emoticon emotions expressions face feelings mood person sad smiley sorrow survey unhappy unsatisfied upset',
SentimentVerySatisfied:
'emoji emoticon emotions expressions face feelings glad happiness happy like mood person pleased smiley smiling survey',
SetMeal: 'chopsticks dinner fish food lunch restaurant teishoku',
Settings: 'application change details gear information options personal service',
SettingsAccessibility:
'body details human information people personal preferences profile user',
SettingsApplications:
'change details gear information options personal save service',
SettingsBackupRestore: 'arrow backwards history refresh reverse rotate time undo',
SettingsBluetooth: 'connection connectivity device network signal symbol wifi',
SettingsBrightness: 'dark filter light mode sun',
SettingsCell: 'Android cellphone device hardware iOS mobile tablet',
SettingsEthernet:
'arrows brackets computer connection connectivity dots internet network parenthesis wifi',
SettingsInputAntenna:
'airplay arrows computer connection connectivity dots internet network screencast stream wifi wireless',
SettingsInputComponent:
'audio av cables connection connectivity internet plugs points video wifi',
SettingsInputComposite: 'cable component connection connectivity plugs points',
SettingsInputHdmi:
'cable connection connectivity definition high plugin points video wire',
SettingsInputSvideo:
'cable connection connectivity definition plugin plugs points standard svideo,',
SettingsOverscan: 'arrows expand image photo picture',
SettingsPhone: 'call cell contact device hardware mobile telephone',
SettingsPower: 'information off save shutdown',
SettingsRemote:
'bluetooth connection connectivity control device signal wifi wireless',
SettingsSuggest:
'change details gear options recommendation service suggestion system',
SettingsSystemDaydream: 'backup cloud drive storage',
SettingsVoice: 'microphone recorder speaker',
SevenK:
'7000 7K alphabet character digit display font letter number pixels resolution symbol text type video',
SevenKPlus:
'+ 7000 7K alphabet character digit display font letter number pixels resolution symbol text type video',
SevenMp:
'camera digit font image letters megapixels number quality resolution symbol text type',
SeventeenMp:
'camera digits font image letters megapixels numbers quality resolution symbol text type',
SevereCold: 'crisis diaster snowflake weather',
ShapeLine: 'circle draw editing square',
Share:
'DISABLE_IOS android connect contect disable_ios link multimedia multiple network options send shared sharing social',
ShareLocation: 'destination direction gps maps pin place stop tracking',
Shield: 'certified privacy private protection secure security verified',
ShieldMoon:
'certified disturb do night not privacy private protection security verified',
Shop: 'arrow bag bill briefcase buy card cart cash coin commerce credit currency dollars google money online payment play purchase shopping store',
Shop2: 'add arrow buy cart google play purchase shopping',
ShoppingBag:
'bill business buy card cart cash coin commerce credit currency dollars money online payment storefront',
ShoppingBasket:
'add bill buy card cart cash checkout coin commerce credit currency dollars money online payment purchase',
ShoppingCart:
'add bill buy card cash checkout coin commerce credit currency dollars money online payment purchase',
ShoppingCartCheckout:
'arrow cash coin commerce currency dollars money online payment right',
ShopTwo: 'add arrow briefcase buy cart google play purchase shopping',
Shortcut: 'arrow direction forward right',
ShortText: 'brief comment document lines note write writing',
ShowChart:
'analytics bars chart data diagram infographic line measure metrics presentation show statistics stock tracking',
Shower: 'bathroom closet home house place plumbing sprinkler wash water wc',
Shuffle: 'arrows controls music random video',
ShuffleOn: 'arrows controls music random video',
ShutterSpeed:
'aperture camera duration image lens photography photos picture setting stop timer watch',
Sick: 'covid discomfort emotions expressions face feelings fever flu ill mood pain person survey upset',
SignalCellular0Bar: 'data internet mobile network phone speed wifi wireless',
SignalCellular4Bar: 'data internet mobile network phone speed wifi wireless',
SignalCellularAlt:
'analytics bar chart data diagram infographic internet measure metrics mobile network phone statistics tracking wifi wireless',
SignalCellularAlt1Bar: 'data internet mobile network phone speed wifi wireless',
SignalCellularAlt2Bar: 'data internet mobile network phone speed wifi wireless',
SignalCellularConnectedNoInternet0Bar:
'! alert attention caution danger data error exclamation important mark mobile network notification phone symbol warning wifi wireless',
SignalCellularConnectedNoInternet1Bar: 'network',
SignalCellularConnectedNoInternet2Bar: 'network',
SignalCellularConnectedNoInternet3Bar: 'network',
SignalCellularConnectedNoInternet4Bar:
'! alert attention caution danger data error exclamation important mark mobile network notification phone symbol warning wifi wireless',
SignalCellularNodata: 'internet mobile network offline phone quit wifi wireless x',
SignalCellularNoSim:
'camera card chip device disabled enabled memory network offline phone slash storage',
SignalCellularNull: 'data internet mobile network phone wifi wireless',
SignalCellularOff:
'data disabled enabled internet mobile network offline phone slash wifi wireless',
SignalWifi0Bar: 'cellular data internet mobile network phone wireless',
SignalWifi1Bar: 'network',
SignalWifi1BarLock: 'network',
SignalWifi2Bar: 'network',
SignalWifi2BarLock: 'network',
SignalWifi3Bar: 'network',
SignalWifi3BarLock: 'network',
SignalWifi4Bar: 'cellular data internet mobile network phone wireless',
SignalWifi4BarLock:
'cellular data internet locked mobile network password phone privacy private protection safety secure security wireless',
SignalWifiBad:
'bar cancel cellular close data exit internet mobile network no phone quit remove stop wireless',
SignalWifiConnectedNoInternet4:
'cellular data mobile network offline phone wireless x',
SignalWifiOff:
'cellular data disabled enabled internet mobile network phone slash speed wireless',
SignalWifiStatusbar4Bar:
'cellular data internet mobile network phone speed wireless',
SignalWifiStatusbarConnectedNoInternet4:
'! alert attention caution cellular danger data error exclamation important mark mobile network notification phone speed symbol warning wireless',
SignalWifiStatusbarNull:
'cellular data internet mobile network phone speed wireless',
SignLanguage: 'communication deaf fingers gesture hand',
Signpost: 'arrow direction left maps right signal signs street traffic',
SimCard: 'camera chip device memory network phone storage',
SimCardAlert:
'! attention camera caution danger digital error exclamation important mark memory notification photos sd secure storage symbol warning',
SimCardDownload: 'arrow camera chip device memory phone storage',
SingleBed:
'bedroom double furniture home hotel house king night pillows queen rest sleep twin',
Sip: 'alphabet call character dialer font initiation internet letter over phone protocol routing session symbol text type voice',
SixK: '6000 6K alphabet character digit display font letter number pixels resolution symbol text type video',
SixKPlus:
'+ 6000 6K alphabet character digit display font letter number pixels resolution symbol text type video',
SixMp:
'camera digit font image letters megapixels number quality resolution symbol text type',
SixteenMp:
'camera digits font image letters megapixels numbers quality resolution symbol text type',
SixtyFps: 'camera digit frames number symbol video',
SixtyFpsSelect: 'camera digits frame frequency numbers per rate seconds video',
Skateboarding:
'athlete athletic body entertainment exercise hobby human people person skateboarder social sports',
SkipNext: 'arrow back controls forward music play previous transport video',
SkipPrevious: 'arrow backward controls forward music next play transport video',
Sledding:
'athlete athletic body entertainment exercise hobby human people person sledge snow social sports travel winter',
Slideshow: 'movie photos play presentation square video view',
SlowMotionVideo: 'arrow circle controls music play speed time',
SmartButton:
'action auto components composer function interface special stars ui ux website',
SmartDisplay:
'airplay chrome connect device screencast stream television tv video wireless',
Smartphone: 'Android call cell chat device hardware iOS mobile tablet text',
SmartScreen:
'Android airplay cell connect device hardware iOS mobile phone screencast stream tablet video',
SmartToy: 'games robot',
SmokeFree:
'cigarette disabled enabled never no off places prohibited slash smoking tobacco warning zone',
SmokingRooms: 'allowed cigarette places smoke tobacco zone',
Sms: '3 bubble chat comment communication conversation dots message more service speech three',
SmsFailed:
'! alert attention bubbles caution chat comment communication conversation danger error exclamation feedback important mark message notification service speech symbol warning',
SnippetFolder: 'data document drive file sheet slide storage',
Snooze: 'alarm bell clock duration notification set timer watch',
Snowboarding:
'athlete athletic body entertainment exercise hobby human people person social sports travel winter',
Snowmobile:
'automobile car direction skimobile social sports transportation travel vehicle winter',
Snowshoeing: 'body human people person sports travel walking winter',
Soap: 'bathroom clean fingers gesture hand wash wc',
SocialDistance: '6 apart body ft human people person space',
SolarPower: 'eco energy heat nest sunny',
Sort: 'filter find lines list organize',
SortByAlpha:
'alphabetize az by character font letters list order organize symbol text type',
Sos: 'font help letters save text type',
SoupKitchen: 'breakfast brunch dining food lunch meal',
Source:
'code composer content creation data document file folder mode storage view',
South: 'arrow directional down maps navigation',
SouthAmerica: 'america continent landscape place region south',
SouthEast: 'arrow directional down maps navigation right',
SouthWest: 'arrow directional down left maps navigation',
Spa: 'aromatherapy flower healthcare leaf massage meditation nature petals places relax wellbeing wellness',
SpaceBar: 'keyboard line',
SpaceDashboard: 'cards format grid layout rectangle shapes squares website',
SpatialAudio: 'music note sound',
SpatialAudioOff: '[offline] disabled enabled music note on slash sound',
SpatialTracking: '[offline] audio disabled enabled music note on slash sound',
Speaker: 'audio box electronic loud music sound stereo system video',
SpeakerGroup: 'audio box electronic loud multiple music sound stereo system video',
SpeakerNotes:
'bubble cards chat comment communicate format list message speech text',
SpeakerNotesOff:
'bubble cards chat comment communicate disabled enabled format list message on slash speech text',
SpeakerPhone: 'Android cell device hardware iOS mobile sound tablet volume',
Speed:
'arrow clock controls dial fast gauge measure motion music slow speedometer test velocity video',
Spellcheck:
'alphabet approve character checkmark edit font letter ok processor select symbol text tick type word write yes',
Splitscreen: 'grid layout multitasking two',
Spoke: 'connection network radius',
Sports:
'athlete athletic basketball blowing coach entertainment exercise game hobby instrument live referee soccer social sound trophy warning whistle',
SportsBar: 'alcohol beer drink liquor pint places pub',
SportsBaseball: 'athlete athletic entertainment exercise game hobby social',
SportsBasketball: 'athlete athletic entertainment exercise game hobby social',
SportsCricket:
'athlete athletic ball bat entertainment exercise game hobby social',
SportsEsports:
'controller entertainment gamepad gaming hobby online playstation social video xbox',
SportsFootball:
'american athlete athletic entertainment exercise game hobby social',
SportsGolf:
'athlete athletic ball club entertainment exercise game golfer golfing hobby social',
SportsGymnastics: 'athlete athletic entertainment exercise hobby social',
SportsHandball:
'athlete athletic body entertainment exercise game hobby human people person social',
SportsHockey:
'athlete athletic entertainment exercise game hobby ice social sticks',
SportsKabaddi:
'athlete athletic body combat entertainment exercise fighting game hobby human judo martial people person social wrestle wrestling',
SportsMartialArts:
'athlete athletic entertainment exercise hobby human karate people person social',
SportsMma:
'arts athlete athletic boxing combat entertainment exercise fighting game glove hobby martial mixed social',
SportsMotorsports:
'athlete athletic automobile bike drive driving entertainment helmet hobby motorcycle protect social vehicle',
SportsRugby: 'athlete athletic ball entertainment exercise game hobby social',
SportsScore: 'destination flag goal',
SportsSoccer: 'athlete athletic entertainment exercise football game hobby social',
SportsTennis:
'athlete athletic ball bat entertainment exercise game hobby racket social',
SportsVolleyball: 'athlete athletic entertainment exercise game hobby social',
Square: 'draw four quadrangle shape sides',
SquareFoot: 'construction feet inches length measurement ruler school set tools',
SsidChart: 'graph lines network wifi',
StackedBarChart:
'analytics chart-chart data diagram infographic measure metrics statistics tracking',
StackedLineChart:
'analytics data diagram infographic measure metrics statistics tracking',
Stadium: 'activity amphitheater arena coliseum event local star things ticket',
Stairs: 'down staircase up',
Star: 'best bookmark favorite highlight ranking rate rating save toggle',
StarBorder:
'best bookmark favorite highlight outline ranking rate rating save toggle',
StarBorderPurple500:
'best bookmark favorite highlight outline ranking rate rating save toggle',
StarHalf:
'0.5 1/2 achievement bookmark favorite highlight important marked ranking rate rating reward saved shape special toggle',
StarOutline: 'bookmark favorite half highlight ranking rate rating save toggle',
StarPurple500: 'best bookmark favorite highlight ranking rate rating save toggle',
StarRate:
'achievement bookmark favorite highlight important marked ranking rating reward saved shape special',
Stars:
'achievement bookmark circle favorite highlight important like love marked ranking rate rating reward saved shape special',
Start: 'arrow keyboard next right',
StayCurrentLandscape: 'Android device hardware iOS mobile phone tablet',
StayCurrentPortrait: 'Android device hardware iOS mobile phone tablet',
StayPrimaryLandscape: 'Android current device hardware iOS mobile phone tablet',
StayPrimaryPortrait: 'Android current device hardware iOS mobile phone tablet',
StickyNote2: 'bookmark message paper text writing',
Stop: 'arrow controls music pause player square video',
StopCircle: 'controls music pause play square video',
StopScreenShare:
'Android arrow cast chrome device disabled display enabled hardware iOS laptop mac mirror monitor offline slash steam streaming web window',
Storage: 'computer database drive memory network server',
Store:
'bill building business buy card cash coin company credit currency dollars e-commerce market money online payment purchase shopping storefront',
Storefront:
'business buy cafe commerce market merchant places restaurant retail sell shopping stall',
StoreMallDirectory: 'building',
Storm: 'forecast hurricane temperature twister weather wind',
Straight: 'arrows directions maps navigation path route sign traffic up',
Straighten: 'length measurement piano ruler size',
Stream: 'cast connected feed live network signal wireless',
Streetview: 'gps location maps',
StrikethroughS:
'alphabet character cross doc editing editor font letter out spreadsheet styles symbol text type writing',
Stroller: 'baby care carriage children infant kid newborn toddler young',
Style: 'booklet cards filters options tags',
SubdirectoryArrowLeft: 'arrow down navigation',
SubdirectoryArrowRight: 'arrow down navigation',
Subject: 'alignment document email full justify lines list note text writing',
Subscript:
'2 doc editing editor gmail novitas spreadsheet style symbol text writing',
Subscriptions: 'enroll media order playlist queue signup subscribe youtube',
Subtitles:
'accessibility accessible captions character closed decoder language media movies translate tv',
SubtitlesOff:
'accessibility accessible caption closed disabled enabled language slash translate video',
Subway:
'automobile bike cars maps metro rail scooter train transportation travel tunnel underground vehicle vespa',
Summarize: 'document list menu note report summary',
Superscript:
'2 doc editing editor gmail novitas spreadsheet style symbol text writing',
SupervisedUserCircle:
'account avatar control face human parental parents people person profile supervisor',
SupervisorAccount:
'administrator avatar control face human parental parents people person profile supervised user',
Support: 'assist help lifebuoy rescue safety',
SupportAgent: 'care customer face headphone person representative service',
Surfing:
'athlete athletic beach body entertainment exercise hobby human people person sea social sports summer water',
SurroundSound: 'audio circle signal speaker system volume volumn wireless',
SwapCalls: 'arrows device direction mobile share',
SwapHoriz: 'arrows back direction forward horizontal',
SwapHorizontalCircle: 'arrows back direction forward',
SwapVert: 'arrows back direction down navigation up vertical',
SwapVerticalCircle: 'arrows back direction down horizontal up',
Swipe: 'arrows fingers gesture hands touch',
SwipeDown:
'arrows direction disable enable finger hands hit navigation strike swing swpie take',
SwipeDownAlt:
'arrows direction disable enable finger hands hit navigation strike swing swpie take',
SwipeLeft: 'arrows finger hand hit navigation reject strike swing take',
SwipeLeftAlt: 'arrows finger hand hit navigation reject strike swing take',
SwipeRight:
'accept arrows direction finger hands hit navigation strike swing swpie take',
SwipeRightAlt:
'accept arrows direction finger hands hit navigation strike swing swpie take',
SwipeUp:
'arrows direction disable enable finger hands hit navigation strike swing swpie take',
SwipeUpAlt:
'arrows direction disable enable finger hands hit navigation strike swing swpie take',
SwipeVertical:
'arrows direction finger hands hit navigation strike swing swpie take verticle',
SwitchAccessShortcut: 'arrows direction navigation new north star symbol up',
SwitchAccessShortcutAdd:
'+ arrows direction navigation new north plus star symbol up',
SwitchAccount:
'choices face human multiple options people person profile social user',
SwitchCamera: 'arrows photography picture',
SwitchLeft: 'arrows directional navigation toggle',
SwitchRight: 'arrows directional navigation toggle',
SwitchVideo: 'arrows camera photography videos',
Synagogue: 'jewish religion shul spiritual temple worship',
Sync: '360 around arrows direction inprogress loading refresh renew rotate turn',
SyncAlt: 'arrows horizontal internet technology update wifi',
SyncDisabled:
'360 around arrows direction enabled inprogress loading off refresh renew rotate slash turn',
SyncLock:
'around arrows locked password privacy private protection renew rotate safety secure security turn',
SyncProblem:
'! 360 alert around arrows attention caution danger direction error exclamation important inprogress loading mark notification refresh renew rotate symbol turn warning',
SystemSecurityUpdate:
'Android arrow cell device down hardware iOS mobile phone tablet',
SystemSecurityUpdateGood:
'Android approve cell check complete device done hardware iOS mark mobile ok phone select tablet tick validate verified yes',
SystemSecurityUpdateWarning:
'! Android alert attention caution cell danger device error exclamation hardware iOS important mark mobile notification phone symbol tablet',
SystemUpdate:
'Android arrows cell device direction download hardware iOS install mobile phone tablet',
SystemUpdateAlt: 'arrow download export',
Tab: 'browser computer documents folder internet tabs website windows',
TableBar: 'cafe round',
TableChart:
'analytics bars data diagram grid infographic measure metrics statistics tracking',
TableRestaurant: 'bar dining',
TableRows: 'grid layout lines stacked',
Tablet: 'Android device hardware iOS ipad mobile web',
TabletAndroid: 'device hardware iOS ipad mobile web',
TabletMac: 'Android apple device hardware iOS ipad mac mobile tablet web',
TableView: 'format grid group layout multiple',
TabUnselected: 'browser computer documents folder internet tabs website windows',
Tag: 'hashtag key media number pound social trend',
TagFaces: 'emoji emotion happy satisfied smile',
TakeoutDining: 'box container delivery food meal restaurant',
TapAndPlay:
'Android cell connection device hardware iOS internet mobile network nfc phone signal tablet to wifi wireless',
Tapas: 'appetizer brunch dinner food lunch restaurant snack',
Task: 'approve check complete data document done drive file folders mark ok page paper select sheet slide tick validate verified writing yes',
TaskAlt:
'approve check circle complete done mark ok select tick validate verified yes',
TaxiAlert:
'! attention automobile cab cars caution danger direction error exclamation important lyft maps mark notification public symbol transportation uber vehicle warning yellow',
Telegram: 'brand call chat logo messaging voice',
TempleBuddhist: 'buddha buddhism monastery religion spiritual worship',
TempleHindu: 'hinduism hindus mandir religion spiritual worship',
TenMp:
'camera digits font image letters megapixels numbers quality resolution symbol text type',
Terminal: 'application code emulator program software',
Terrain: 'geography landscape mountain',
TextDecrease:
'- alphabet character font letter minus remove resize subtract symbol type',
TextFields: 'T add alphabet character font input letter symbol type',
TextFormat: 'A alphabet character font letter square style symbol type',
TextIncrease: '+ add alphabet character font letter new plus resize symbol type',
TextRotateUp: 'A alphabet arrow character field font letter move symbol type',
TextRotateVertical:
'A alphabet arrow character down field font letter move symbol type verticle',
TextRotationAngledown:
'A alphabet arrow character field font letter move rotate symbol type',
TextRotationAngleup:
'A alphabet arrow character field font letter move rotate symbol type',
TextRotationDown:
'A alphabet arrow character field font letter move rotate symbol type',
TextRotationNone:
'A alphabet arrow character field font letter move rotate symbol type',
Textsms: 'bubble chat comment communicate dots feedback message speech',
TextSnippet: 'data document file notes storage writing',
Texture: 'diagonal lines pattern stripes',
TheaterComedy: 'broadway event movie musical places show standup tour watch',
Theaters: 'film media movies photography showtimes video watch',
Thermostat: 'forecast temperature weather',
ThermostatAuto: 'A celsius fahrenheit temperature thermometer',
ThirteenMp:
'camera digits font image letters megapixels numbers quality resolution symbol text type',
ThirtyFps:
'alphabet camera character digit font frames letter number symbol text type video',
ThirtyFpsSelect:
'camera digits frame frequency image numbers per rate seconds video',
ThreeDRotation:
'3d D alphabet arrows av camera character digit font letter number symbol text type vr',
ThreeGMobiledata:
'alphabet cellular character digit font letter network number phone signal speed symbol text type wifi',
ThreeK:
'3000 3K alphabet character digit display font letter number pixels resolution symbol text type video',
ThreeKPlus:
'+ 3000 3K alphabet character digit display font letter number pixels resolution symbol text type video',
ThreeMp:
'camera digit font image letters megapixels number quality resolution symbol text type',
ThreeP:
'account avatar bubble chat comment communicate face human message party people person profile speech user',
ThreeSixty: 'arrow av camera direction rotate rotation vr',
ThumbDown:
'dislike downvote favorite fingers gesture hands ranking rate rating reject up',
ThumbDownAlt:
'bad decline disapprove dislike feedback hand hate negative no reject social veto vote',
ThumbDownOffAlt:
'[offline] bad decline disabled disapprove dislike enabled favorite feedback filled fingers gesture hands hate negative no on ranking rate rating reject sad slash social veto vote',
ThumbsUpDown: 'dislike favorite fingers gesture hands rate rating vote',
ThumbUp:
'approve dislike down favorite fingers gesture hands ranking rate rating success upvote',
ThumbUpAlt:
'agreed approved confirm correct favorite feedback good hand happy like okay positive satisfaction social success vote yes',
ThumbUpOffAlt:
'[offline] agreed approved confirm correct disabled enabled favorite feedback fingers gesture good hands happy like okay positive ranking rate rating satisfaction slash social vote yes',
Thunderstorm: 'cloud lightning rainfall rainstorm weather',
Timelapse: 'duration motion photo timer video',
Timeline:
'analytics chart data graph history line movement points tracking trending zigzag zigzap',
Timer:
'alarm alart alert bell clock disabled duration enabled notification off slash stopwatch wait',
Timer10: 'digits duration numbers seconds',
Timer10Select:
'alphabet camera character digit font letter number seconds symbol text type',
Timer3: 'digits duration numbers seconds',
Timer3Select:
'alphabet camera character digit font letter number seconds symbol text type',
TimerOff:
'alarm alart alert bell clock disabled duration enabled notification slash stopwatch',
TimesOneMobiledata:
'alphabet cellular character digit font letter network number phone signal speed symbol text type wifi',
TimeToLeave:
'automobile cars destination direction drive estimate eta maps public transportation travel trip vehicle',
TipsAndUpdates:
'alert announcement electricity idea information lamp lightbulb stars',
TireRepair: 'automobile cars gauge mechanic pressure vehicle',
Title: 'T alphabet character font header letter subject symbol text type',
Toc: 'content format lines list reorder stacked table text titles',
Today:
'agenda calendar date event mark month range remember reminder schedule time week',
ToggleOff:
'application components configuration control design disable inable inactive interface selection settings slider switch ui ux website',
ToggleOn:
'application components configuration control design disable inable inactive interface off selection settings slider switch ui ux website',
Token: 'badge hexagon mark shield sign symbol',
Toll: 'bill booth card cash circles coin commerce credit currency dollars highway money online payment ticket',
Tonality: 'circle editing filter image photography picture',
Topic: 'data document drive file folder sheet slide storage',
Tornado: 'crisis disaster natural rain storm weather wind',
TouchApp: 'arrow command fingers gesture hand press swipe tap',
Tour: 'destination flag places travel visit',
Toys: 'car fan games kids windmill',
TrackChanges: 'bullseye circle evolve lines movement radar rotate shift target',
Traffic: 'direction light maps signal street',
Train: 'automobile cars direction maps public rail subway transportation vehicle',
Tram: 'automobile cars direction maps public rail subway train transportation vehicle',
TransferWithinAStation:
'arrows body direction human left maps people person public right route stop transit transportation vehicle walk',
Transform: 'adjust crop editing image photo picture',
Transgender: 'female lgbt neutral neutrual social symbol',
TransitEnterexit: 'arrow direction maps navigation route transportation',
Translate: 'alphabet language letter speaking speech text translator words',
TravelExplore:
'earth find glass global globe look magnifying map network planet search see social space web world',
TrendingDown:
'analytics arrow change chart data diagram infographic measure metrics movement rate rating sale statistics tracking',
TrendingFlat: 'arrow change chart data graph metric movement rate right tracking',
TrendingUp:
'analytics arrow change chart data diagram infographic measure metrics movement rate rating statistics tracking',
TripOrigin: 'circle departure',
Troubleshoot:
'analytics chart data diagram find glass infographic line look magnifying measure metrics search see statistics tracking',
Try: 'bookmark bubble chat comment communicate favorite feedback highlight important marked message saved shape special speech star',
Tsunami: 'crisis disaster flood rain storm weather',
Tty: 'call cell contact deaf device hardware impaired mobile speech talk telephone text',
Tune: 'adjust audio controls customize editing filters instant mix music options settings sliders switches',
Tungsten: 'electricity indoor lamp lightbulb setting',
TurnedIn:
'archive bookmark favorite item label library reading remember ribbon save submit tag',
TurnedInNot:
'archive bookmark favorite item label library outline reading remember ribbon save submit tag',
TurnLeft: 'arrows directions maps navigation path route sign traffic',
TurnRight: 'arrows directions maps navigation path route sign traffic',
TurnSharpLeft: 'arrows directions maps navigation path route sign traffic',
TurnSharpRight: 'arrows directions maps navigation path route sign traffic',
TurnSlightLeft: 'arrows directions maps navigation path right route sign traffic',
TurnSlightRight: 'arrows directions maps navigation path route sharp sign traffic',
Tv: 'device display linear living monitor room screencast stream television video wireless',
TvOff:
'Android chrome desktop device disabled enabled hardware iOS mac monitor slash television web window',
TwelveMp:
'camera digits font image letters megapixels numbers quality resolution symbol text type',
TwentyFourMp:
'camera digits font image letters megapixels numbers quality resolution symbol text type',
TwentyOneMp:
'camera digits font image letters megapixels numbers quality resolution symbol text type',
TwentyThreeMp:
'camera digits font image letters megapixels numbers quality resolution symbol text type',
TwentyTwoMp:
'camera digits font image letters megapixels numbers quality resolution symbol text type',
TwentyZeroMp:
'camera digits font image letters megapixels numbers quality resolution symbol text type',
Twitter: 'brand logo social',
TwoK: '2000 2K alphabet character digit display font letter number pixels resolution symbol text type video',
TwoKPlus: '+ alphabet character digit font letter number symbol text type',
TwoMp:
'camera digit font image letters megapixels number quality resolution symbol text type',
TwoWheeler:
'automobile bicycle cars direction maps moped motorbike motorcycle public ride riding scooter transportation travel twom vehicle wheeler wheels',
Umbrella: 'beach protection rain sunny',
Unarchive: 'arrow inbox mail store undo up',
Undo: 'arrow backward mail previous redo repeat rotate',
UnfoldLess:
'arrows chevron collapse direction expandable inward list navigation up',
UnfoldLessDouble:
'arrows chevron collapse direction expandable inward list navigation up',
UnfoldMore: 'arrows chevron collapse direction down expandable list navigation',
UnfoldMoreDouble:
'arrows chevron collapse direction down expandable list navigation',
Unpublished:
'approve check circle complete disabled done enabled mark off ok select slash tick validate verified yes',
Unsubscribe:
'cancel close email envelop esubscribe message newsletter off remove send',
Upcoming: 'alarm calendar mail message notification',
Update:
'arrow backwards clock forward future history load refresh reverse rotate schedule time',
UpdateDisabled:
'arrow backwards clock enabled forward history load off on refresh reverse rotate schedule slash time',
Upgrade: 'arrow export instal line replace update',
Upload: 'arrows download drive',
UploadFile:
'arrow data document download drive folders page paper sheet slide writing',
Usb: 'cable connection device wire',
UsbOff: 'cable connection device wire',
UTurnLeft: 'arrows directions maps navigation path route sign traffic u-turn',
UTurnRight: 'arrows directions maps navigation path route sign traffic u-turn',
Vaccines:
'aid covid doctor drug emergency hospital immunity injection medical medication medicine needle pharmacy sick syringe vaccination vial',
VapeFree:
'disabled e-cigarette enabled never no off places prohibited slash smoke smoking tobacco vaping vapor warning zone',
VapingRooms:
'allowed e-cigarette never no places prohibited smoke smoking tobacco vape vapor warning zone',
Verified:
'approve badge burst check complete done mark ok select star tick validate yes',
VerifiedUser:
'approve audit certified checkmark complete done ok privacy private protection security select shield tick validate yes',
VerticalAlignBottom:
'alignment arrow doc down editing editor spreadsheet text type writing',
VerticalAlignCenter:
'alignment arrow doc down editing editor spreadsheet text type up writing',
VerticalAlignTop:
'alignment arrow doc editing editor spreadsheet text type up writing',
VerticalShades: 'blinds cover curtains nest open shutter sunshade',
VerticalShadesClosed: 'blinds cover curtains nest roller shutter sunshade',
VerticalSplit: 'design format grid layout paragraph text website writing',
Vibration:
'Android alert cell device hardware iOS mobile mode motion notification phone silence silent tablet vibrate',
VideoCall:
'+ add camera chat conference filming hardware image motion new picture plus screen symbol videography',
Videocam:
'camera chat conference filming hardware image motion picture screen videography',
VideoCameraBack: 'image landscape mountains photography picture rear',
VideoCameraFront:
'account face human image people person photography picture profile user',
VideocamOff:
'camera chat conference disabled enabled filming hardware image motion offline picture screen slash videography',
VideoChat:
'bubble camera comment communicate facetime feedback message speech voice',
VideoFile: 'camera document filming hardware image motion picture videography',
VideogameAsset:
'console controller device gamepad gaming nintendo playstation xbox',
VideogameAssetOff:
'console controller device disabled enabled gamepad gaming playstation slash',
VideoLabel: 'device item screen window',
VideoLibrary: 'arrow collection play',
VideoSettings:
'change details gear information options play screen service window',
VideoStable: 'filming recording setting stability taping',
ViewAgenda: 'blocks cards design format grid layout website,stacked',
ViewArray: 'blocks design format grid layout website',
ViewCarousel: 'banner blocks cards design format grid images layout website',
ViewColumn: 'blocks design format grid layout vertical website',
ViewComfy: 'grid layout pattern squares',
ViewComfyAlt: 'cozy design format layout web',
ViewCompact: 'grid layout pattern squares',
ViewCompactAlt: 'dense design format layout web',
ViewCozy: 'comfy design format layout web',
ViewDay: 'blocks calendar cards carousel design format grid layout website week',
ViewHeadline: 'blocks design format grid layout paragraph text website',
ViewInAr: '3d augmented cube daydream headset reality square vr',
ViewKanban: 'grid layout pattern squares',
ViewList: 'blocks design format grid layout lines reorder stacked title website',
ViewModule:
'blocks design format grid layout reorder squares stacked title website',
ViewQuilt:
'blocks design format grid layout reorder squares stacked title website',
ViewSidebar: 'design format grid layout web',
ViewStream:
'blocks design format grid layout lines list reorder stacked title website',
ViewTimeline: 'grid layout pattern squares',
ViewWeek: 'bars blocks columns day design format grid layout website',
Vignette: 'border editing effect filter gradient image photography setting',
Villa:
'architecture beach estate home house maps place real residence residential stay traveling vacation',
Visibility: 'eye on password preview reveal see shown visability',
VisibilityOff:
'disabled enabled eye hidden invisible on password reveal see show slash view visability',
VoiceChat:
'bubble camera comment communicate facetime feedback message speech video',
Voicemail: 'call device message missed mobile phone recording',
VoiceOverOff:
'account disabled enabled face human people person profile recording slash speaking speech transcript user',
Volcano: 'crisis disaster eruption lava magma natural',
VolumeDown: 'audio av control music quieter shh soft sound speaker tv',
VolumeMute: 'audio control music sound speaker tv',
VolumeOff:
'audio av control disabled enabled low music mute slash sound speaker tv',
VolumeUp: 'audio control music sound speaker tv',
VolunteerActivism: 'donation fingers gesture giving hands heart love sharing',
VpnKey: 'login network passcode password register security signin signup unlock',
VpnKeyOff: '[offline] disabled enabled network on passcode password slash unlock',
VpnLock:
'earth globe locked network password privacy private protection safety secure security virtual world',
Vrpano: 'angle image landscape mountains panorama photography picture view wide',
Wallpaper: 'background image landscape photography picture',
Warehouse: 'garage industry manufacturing storage',
Warning:
'! alert announcement attention caution danger error exclamation feedback important mark notification problem symbol triangle',
WarningAmber:
'! alert attention caution danger error exclamation important mark notification symbol triangle',
Wash: 'bathroom clean fingers gesture hand wc',
Watch: 'Android clock gadget iOS smartwatch time vr wearables web wristwatch',
WatchLater: 'clock date hour minute schedule time',
WatchOff: 'Android clock close gadget iOS shut time vr wearables web wristwatch',
Water: 'aqua beach lake ocean river waves weather',
WaterDamage:
'architecture building droplet estate house leak plumbing real residence residential shelter',
WaterDrop: 'drink droplet eco liquid nature ocean rain social',
WaterfallChart:
'analytics bar data diagram infographic measure metrics statistics tracking',
Waves: 'beach lake ocean pool river sea swim water',
WavingHand: 'fingers gesture goodbye greetings hello palm wave',
WbAuto:
'A W alphabet automatic balance character editing font image letter photography symbol text type white wp',
WbCloudy: 'balance editing white wp',
WbIncandescent: 'balance bright editing lamp lightbulb lighting settings white wp',
WbIridescent: 'balance bright editing lighting settings white wp',
WbShade: 'balance house lighting white',
WbSunny: 'balance bright lighting weather white',
WbTwilight: 'balance lighting noon sunset white',
Wc: 'bathroom closet female gender man person restroom toilet unisex wash water women',
Web: 'blocks browser internet page screen website www',
WebAsset:
'-website application browser design desktop download image interface internet layout screen ui ux video window www',
WebAssetOff:
'browser disabled enabled internet on screen slash webpage website windows www',
Webhook: 'api developer development enterprise software',
WebStories: 'google images logo',
Weekend: 'chair couch furniture home living lounge relax room seat',
West: 'arrow directional left maps navigation',
WhatsApp: 'brand call chat logo messaging voice',
Whatshot: 'arrow circle direction fire frames round trending',
WheelchairPickup: 'accessibility accessible body handicap help human person',
WhereToVote:
'approve ballot check complete destination direction done election location maps mark ok pin place poll select stop tick validate verified yes',
Widgets: 'app blocks box menu setting squares ui',
Wifi: 'connection data internet network scan service signal wireless',
Wifi1Bar:
'cellular connection data internet mobile network phone scan service signal wireless',
Wifi2Bar:
'cellular connection data internet mobile network phone scan service signal wireless',
WifiCalling:
'cell connection connectivity contact device hardware mobile signal telephone wireless',
WifiCalling3: 'cellular data internet mobile network phone speed wireless',
WifiChannel:
'(scan) [cellular connection data internet mobile] network service signal wireless',
WifiFind:
'(scan) [cellular connection data detect discover glass internet look magnifying mobile] network notice search service signal wireless',
WifiLock:
'cellular connection data internet locked mobile network password privacy private protection safety secure security service signal wireless',
WifiOff:
'connection data disabled enabled internet network offline scan service signal slash wireless',
WifiPassword:
'(scan) [cellular connection data internet lock mobile] network secure service signal wireless',
WifiProtectedSetup: 'around arrows rotate',
WifiTethering:
'cellular connection data internet mobile network phone scan service signal speed wireless',
WifiTetheringError:
'! alert attention caution cellular connection danger data exclamation important internet mark mobile network notification phone rounded scan service signal speed symbol warning wireless',
WifiTetheringOff:
'cellular connection data disabled enabled internet mobile network offline phone scan service signal slash speed wireless',
Window: 'close glass grid home house interior layout outside',
WindPower: 'eco energy nest windy',
WineBar: 'alcohol cocktail cup drink glass liquor',
Woman: 'female gender girl lady social symbol women',
Woman2: 'female gender girl lady social symbol women',
Work: '-briefcase baggage business job suitcase',
WorkHistory:
'arrow backwards baggage briefcase business clock date job refresh renew reverse rotate schedule suitcase time turn',
WorkOff: 'baggage briefcase business disabled enabled job on slash suitcase',
WorkOutline: 'baggage briefcase business job suitcase',
WorkspacePremium:
'certification degree ecommerce guarantee medal permit ribbon verification',
Workspaces: 'circles collaboration dot filled group outline team',
WrapText: 'arrow doc editing editor spreadsheet type write writing',
WrongLocation:
'cancel close destination direction exit maps no pin place quit remove stop',
Wysiwyg:
'composer mode screen software system text view visibility website window',
Yard: 'backyard flower garden home house nature pettle plants',
YouTube: 'brand logo social video',
YoutubeSearchedFor:
'arrow backwards find glass history inprogress loading look magnifying refresh renew restore reverse rotate see yt',
ZoomIn:
'bigger find glass grow look magnifier magnifying plus scale search see size',
ZoomInMap: 'arrows destination location maps move place stop',
ZoomOut:
'find glass look magnifier magnifying minus negative scale search see size smaller',
ZoomOutMap: 'arrows destination location maps move place stop',
};
export default synonyms;
| 2,660 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/menus/AccountMenu.js | import * as React from 'react';
import Box from '@mui/material/Box';
import Avatar from '@mui/material/Avatar';
import Menu from '@mui/material/Menu';
import MenuItem from '@mui/material/MenuItem';
import ListItemIcon from '@mui/material/ListItemIcon';
import Divider from '@mui/material/Divider';
import IconButton from '@mui/material/IconButton';
import Typography from '@mui/material/Typography';
import Tooltip from '@mui/material/Tooltip';
import PersonAdd from '@mui/icons-material/PersonAdd';
import Settings from '@mui/icons-material/Settings';
import Logout from '@mui/icons-material/Logout';
export default function AccountMenu() {
const [anchorEl, setAnchorEl] = React.useState(null);
const open = Boolean(anchorEl);
const handleClick = (event) => {
setAnchorEl(event.currentTarget);
};
const handleClose = () => {
setAnchorEl(null);
};
return (
<React.Fragment>
<Box sx={{ display: 'flex', alignItems: 'center', textAlign: 'center' }}>
<Typography sx={{ minWidth: 100 }}>Contact</Typography>
<Typography sx={{ minWidth: 100 }}>Profile</Typography>
<Tooltip title="Account settings">
<IconButton
onClick={handleClick}
size="small"
sx={{ ml: 2 }}
aria-controls={open ? 'account-menu' : undefined}
aria-haspopup="true"
aria-expanded={open ? 'true' : undefined}
>
<Avatar sx={{ width: 32, height: 32 }}>M</Avatar>
</IconButton>
</Tooltip>
</Box>
<Menu
anchorEl={anchorEl}
id="account-menu"
open={open}
onClose={handleClose}
onClick={handleClose}
PaperProps={{
elevation: 0,
sx: {
overflow: 'visible',
filter: 'drop-shadow(0px 2px 8px rgba(0,0,0,0.32))',
mt: 1.5,
'& .MuiAvatar-root': {
width: 32,
height: 32,
ml: -0.5,
mr: 1,
},
'&:before': {
content: '""',
display: 'block',
position: 'absolute',
top: 0,
right: 14,
width: 10,
height: 10,
bgcolor: 'background.paper',
transform: 'translateY(-50%) rotate(45deg)',
zIndex: 0,
},
},
}}
transformOrigin={{ horizontal: 'right', vertical: 'top' }}
anchorOrigin={{ horizontal: 'right', vertical: 'bottom' }}
>
<MenuItem onClick={handleClose}>
<Avatar /> Profile
</MenuItem>
<MenuItem onClick={handleClose}>
<Avatar /> My account
</MenuItem>
<Divider />
<MenuItem onClick={handleClose}>
<ListItemIcon>
<PersonAdd fontSize="small" />
</ListItemIcon>
Add another account
</MenuItem>
<MenuItem onClick={handleClose}>
<ListItemIcon>
<Settings fontSize="small" />
</ListItemIcon>
Settings
</MenuItem>
<MenuItem onClick={handleClose}>
<ListItemIcon>
<Logout fontSize="small" />
</ListItemIcon>
Logout
</MenuItem>
</Menu>
</React.Fragment>
);
}
| 2,661 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/menus/AccountMenu.tsx | import * as React from 'react';
import Box from '@mui/material/Box';
import Avatar from '@mui/material/Avatar';
import Menu from '@mui/material/Menu';
import MenuItem from '@mui/material/MenuItem';
import ListItemIcon from '@mui/material/ListItemIcon';
import Divider from '@mui/material/Divider';
import IconButton from '@mui/material/IconButton';
import Typography from '@mui/material/Typography';
import Tooltip from '@mui/material/Tooltip';
import PersonAdd from '@mui/icons-material/PersonAdd';
import Settings from '@mui/icons-material/Settings';
import Logout from '@mui/icons-material/Logout';
export default function AccountMenu() {
const [anchorEl, setAnchorEl] = React.useState<null | HTMLElement>(null);
const open = Boolean(anchorEl);
const handleClick = (event: React.MouseEvent<HTMLElement>) => {
setAnchorEl(event.currentTarget);
};
const handleClose = () => {
setAnchorEl(null);
};
return (
<React.Fragment>
<Box sx={{ display: 'flex', alignItems: 'center', textAlign: 'center' }}>
<Typography sx={{ minWidth: 100 }}>Contact</Typography>
<Typography sx={{ minWidth: 100 }}>Profile</Typography>
<Tooltip title="Account settings">
<IconButton
onClick={handleClick}
size="small"
sx={{ ml: 2 }}
aria-controls={open ? 'account-menu' : undefined}
aria-haspopup="true"
aria-expanded={open ? 'true' : undefined}
>
<Avatar sx={{ width: 32, height: 32 }}>M</Avatar>
</IconButton>
</Tooltip>
</Box>
<Menu
anchorEl={anchorEl}
id="account-menu"
open={open}
onClose={handleClose}
onClick={handleClose}
PaperProps={{
elevation: 0,
sx: {
overflow: 'visible',
filter: 'drop-shadow(0px 2px 8px rgba(0,0,0,0.32))',
mt: 1.5,
'& .MuiAvatar-root': {
width: 32,
height: 32,
ml: -0.5,
mr: 1,
},
'&:before': {
content: '""',
display: 'block',
position: 'absolute',
top: 0,
right: 14,
width: 10,
height: 10,
bgcolor: 'background.paper',
transform: 'translateY(-50%) rotate(45deg)',
zIndex: 0,
},
},
}}
transformOrigin={{ horizontal: 'right', vertical: 'top' }}
anchorOrigin={{ horizontal: 'right', vertical: 'bottom' }}
>
<MenuItem onClick={handleClose}>
<Avatar /> Profile
</MenuItem>
<MenuItem onClick={handleClose}>
<Avatar /> My account
</MenuItem>
<Divider />
<MenuItem onClick={handleClose}>
<ListItemIcon>
<PersonAdd fontSize="small" />
</ListItemIcon>
Add another account
</MenuItem>
<MenuItem onClick={handleClose}>
<ListItemIcon>
<Settings fontSize="small" />
</ListItemIcon>
Settings
</MenuItem>
<MenuItem onClick={handleClose}>
<ListItemIcon>
<Logout fontSize="small" />
</ListItemIcon>
Logout
</MenuItem>
</Menu>
</React.Fragment>
);
}
| 2,662 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/menus/BasicMenu.js | import * as React from 'react';
import Button from '@mui/material/Button';
import Menu from '@mui/material/Menu';
import MenuItem from '@mui/material/MenuItem';
export default function BasicMenu() {
const [anchorEl, setAnchorEl] = React.useState(null);
const open = Boolean(anchorEl);
const handleClick = (event) => {
setAnchorEl(event.currentTarget);
};
const handleClose = () => {
setAnchorEl(null);
};
return (
<div>
<Button
id="basic-button"
aria-controls={open ? 'basic-menu' : undefined}
aria-haspopup="true"
aria-expanded={open ? 'true' : undefined}
onClick={handleClick}
>
Dashboard
</Button>
<Menu
id="basic-menu"
anchorEl={anchorEl}
open={open}
onClose={handleClose}
MenuListProps={{
'aria-labelledby': 'basic-button',
}}
>
<MenuItem onClick={handleClose}>Profile</MenuItem>
<MenuItem onClick={handleClose}>My account</MenuItem>
<MenuItem onClick={handleClose}>Logout</MenuItem>
</Menu>
</div>
);
}
| 2,663 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/menus/BasicMenu.tsx | import * as React from 'react';
import Button from '@mui/material/Button';
import Menu from '@mui/material/Menu';
import MenuItem from '@mui/material/MenuItem';
export default function BasicMenu() {
const [anchorEl, setAnchorEl] = React.useState<null | HTMLElement>(null);
const open = Boolean(anchorEl);
const handleClick = (event: React.MouseEvent<HTMLButtonElement>) => {
setAnchorEl(event.currentTarget);
};
const handleClose = () => {
setAnchorEl(null);
};
return (
<div>
<Button
id="basic-button"
aria-controls={open ? 'basic-menu' : undefined}
aria-haspopup="true"
aria-expanded={open ? 'true' : undefined}
onClick={handleClick}
>
Dashboard
</Button>
<Menu
id="basic-menu"
anchorEl={anchorEl}
open={open}
onClose={handleClose}
MenuListProps={{
'aria-labelledby': 'basic-button',
}}
>
<MenuItem onClick={handleClose}>Profile</MenuItem>
<MenuItem onClick={handleClose}>My account</MenuItem>
<MenuItem onClick={handleClose}>Logout</MenuItem>
</Menu>
</div>
);
}
| 2,664 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/menus/ContextMenu.js | import * as React from 'react';
import Menu from '@mui/material/Menu';
import MenuItem from '@mui/material/MenuItem';
import Typography from '@mui/material/Typography';
export default function ContextMenu() {
const [contextMenu, setContextMenu] = React.useState(null);
const handleContextMenu = (event) => {
event.preventDefault();
setContextMenu(
contextMenu === null
? {
mouseX: event.clientX + 2,
mouseY: event.clientY - 6,
}
: // repeated contextmenu when it is already open closes it with Chrome 84 on Ubuntu
// Other native context menus might behave different.
// With this behavior we prevent contextmenu from the backdrop to re-locale existing context menus.
null,
);
};
const handleClose = () => {
setContextMenu(null);
};
return (
<div onContextMenu={handleContextMenu} style={{ cursor: 'context-menu' }}>
<Typography>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam ipsum purus,
bibendum sit amet vulputate eget, porta semper ligula. Donec bibendum
vulputate erat, ac fringilla mi finibus nec. Donec ac dolor sed dolor
porttitor blandit vel vel purus. Fusce vel malesuada ligula. Nam quis
vehicula ante, eu finibus est. Proin ullamcorper fermentum orci, quis finibus
massa. Nunc lobortis, massa ut rutrum ultrices, metus metus finibus ex, sit
amet facilisis neque enim sed neque. Quisque accumsan metus vel maximus
consequat. Suspendisse lacinia tellus a libero volutpat maximus.
</Typography>
<Menu
open={contextMenu !== null}
onClose={handleClose}
anchorReference="anchorPosition"
anchorPosition={
contextMenu !== null
? { top: contextMenu.mouseY, left: contextMenu.mouseX }
: undefined
}
>
<MenuItem onClick={handleClose}>Copy</MenuItem>
<MenuItem onClick={handleClose}>Print</MenuItem>
<MenuItem onClick={handleClose}>Highlight</MenuItem>
<MenuItem onClick={handleClose}>Email</MenuItem>
</Menu>
</div>
);
}
| 2,665 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/menus/ContextMenu.tsx | import * as React from 'react';
import Menu from '@mui/material/Menu';
import MenuItem from '@mui/material/MenuItem';
import Typography from '@mui/material/Typography';
export default function ContextMenu() {
const [contextMenu, setContextMenu] = React.useState<{
mouseX: number;
mouseY: number;
} | null>(null);
const handleContextMenu = (event: React.MouseEvent) => {
event.preventDefault();
setContextMenu(
contextMenu === null
? {
mouseX: event.clientX + 2,
mouseY: event.clientY - 6,
}
: // repeated contextmenu when it is already open closes it with Chrome 84 on Ubuntu
// Other native context menus might behave different.
// With this behavior we prevent contextmenu from the backdrop to re-locale existing context menus.
null,
);
};
const handleClose = () => {
setContextMenu(null);
};
return (
<div onContextMenu={handleContextMenu} style={{ cursor: 'context-menu' }}>
<Typography>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam ipsum purus,
bibendum sit amet vulputate eget, porta semper ligula. Donec bibendum
vulputate erat, ac fringilla mi finibus nec. Donec ac dolor sed dolor
porttitor blandit vel vel purus. Fusce vel malesuada ligula. Nam quis
vehicula ante, eu finibus est. Proin ullamcorper fermentum orci, quis finibus
massa. Nunc lobortis, massa ut rutrum ultrices, metus metus finibus ex, sit
amet facilisis neque enim sed neque. Quisque accumsan metus vel maximus
consequat. Suspendisse lacinia tellus a libero volutpat maximus.
</Typography>
<Menu
open={contextMenu !== null}
onClose={handleClose}
anchorReference="anchorPosition"
anchorPosition={
contextMenu !== null
? { top: contextMenu.mouseY, left: contextMenu.mouseX }
: undefined
}
>
<MenuItem onClick={handleClose}>Copy</MenuItem>
<MenuItem onClick={handleClose}>Print</MenuItem>
<MenuItem onClick={handleClose}>Highlight</MenuItem>
<MenuItem onClick={handleClose}>Email</MenuItem>
</Menu>
</div>
);
}
| 2,666 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/menus/CustomizedMenus.js | import * as React from 'react';
import { styled, alpha } from '@mui/material/styles';
import Button from '@mui/material/Button';
import Menu from '@mui/material/Menu';
import MenuItem from '@mui/material/MenuItem';
import EditIcon from '@mui/icons-material/Edit';
import Divider from '@mui/material/Divider';
import ArchiveIcon from '@mui/icons-material/Archive';
import FileCopyIcon from '@mui/icons-material/FileCopy';
import MoreHorizIcon from '@mui/icons-material/MoreHoriz';
import KeyboardArrowDownIcon from '@mui/icons-material/KeyboardArrowDown';
const StyledMenu = styled((props) => (
<Menu
elevation={0}
anchorOrigin={{
vertical: 'bottom',
horizontal: 'right',
}}
transformOrigin={{
vertical: 'top',
horizontal: 'right',
}}
{...props}
/>
))(({ theme }) => ({
'& .MuiPaper-root': {
borderRadius: 6,
marginTop: theme.spacing(1),
minWidth: 180,
color:
theme.palette.mode === 'light' ? 'rgb(55, 65, 81)' : theme.palette.grey[300],
boxShadow:
'rgb(255, 255, 255) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 0px 0px 1px, rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px',
'& .MuiMenu-list': {
padding: '4px 0',
},
'& .MuiMenuItem-root': {
'& .MuiSvgIcon-root': {
fontSize: 18,
color: theme.palette.text.secondary,
marginRight: theme.spacing(1.5),
},
'&:active': {
backgroundColor: alpha(
theme.palette.primary.main,
theme.palette.action.selectedOpacity,
),
},
},
},
}));
export default function CustomizedMenus() {
const [anchorEl, setAnchorEl] = React.useState(null);
const open = Boolean(anchorEl);
const handleClick = (event) => {
setAnchorEl(event.currentTarget);
};
const handleClose = () => {
setAnchorEl(null);
};
return (
<div>
<Button
id="demo-customized-button"
aria-controls={open ? 'demo-customized-menu' : undefined}
aria-haspopup="true"
aria-expanded={open ? 'true' : undefined}
variant="contained"
disableElevation
onClick={handleClick}
endIcon={<KeyboardArrowDownIcon />}
>
Options
</Button>
<StyledMenu
id="demo-customized-menu"
MenuListProps={{
'aria-labelledby': 'demo-customized-button',
}}
anchorEl={anchorEl}
open={open}
onClose={handleClose}
>
<MenuItem onClick={handleClose} disableRipple>
<EditIcon />
Edit
</MenuItem>
<MenuItem onClick={handleClose} disableRipple>
<FileCopyIcon />
Duplicate
</MenuItem>
<Divider sx={{ my: 0.5 }} />
<MenuItem onClick={handleClose} disableRipple>
<ArchiveIcon />
Archive
</MenuItem>
<MenuItem onClick={handleClose} disableRipple>
<MoreHorizIcon />
More
</MenuItem>
</StyledMenu>
</div>
);
}
| 2,667 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/menus/CustomizedMenus.tsx | import * as React from 'react';
import { styled, alpha } from '@mui/material/styles';
import Button from '@mui/material/Button';
import Menu, { MenuProps } from '@mui/material/Menu';
import MenuItem from '@mui/material/MenuItem';
import EditIcon from '@mui/icons-material/Edit';
import Divider from '@mui/material/Divider';
import ArchiveIcon from '@mui/icons-material/Archive';
import FileCopyIcon from '@mui/icons-material/FileCopy';
import MoreHorizIcon from '@mui/icons-material/MoreHoriz';
import KeyboardArrowDownIcon from '@mui/icons-material/KeyboardArrowDown';
const StyledMenu = styled((props: MenuProps) => (
<Menu
elevation={0}
anchorOrigin={{
vertical: 'bottom',
horizontal: 'right',
}}
transformOrigin={{
vertical: 'top',
horizontal: 'right',
}}
{...props}
/>
))(({ theme }) => ({
'& .MuiPaper-root': {
borderRadius: 6,
marginTop: theme.spacing(1),
minWidth: 180,
color:
theme.palette.mode === 'light' ? 'rgb(55, 65, 81)' : theme.palette.grey[300],
boxShadow:
'rgb(255, 255, 255) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 0px 0px 1px, rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px',
'& .MuiMenu-list': {
padding: '4px 0',
},
'& .MuiMenuItem-root': {
'& .MuiSvgIcon-root': {
fontSize: 18,
color: theme.palette.text.secondary,
marginRight: theme.spacing(1.5),
},
'&:active': {
backgroundColor: alpha(
theme.palette.primary.main,
theme.palette.action.selectedOpacity,
),
},
},
},
}));
export default function CustomizedMenus() {
const [anchorEl, setAnchorEl] = React.useState<null | HTMLElement>(null);
const open = Boolean(anchorEl);
const handleClick = (event: React.MouseEvent<HTMLElement>) => {
setAnchorEl(event.currentTarget);
};
const handleClose = () => {
setAnchorEl(null);
};
return (
<div>
<Button
id="demo-customized-button"
aria-controls={open ? 'demo-customized-menu' : undefined}
aria-haspopup="true"
aria-expanded={open ? 'true' : undefined}
variant="contained"
disableElevation
onClick={handleClick}
endIcon={<KeyboardArrowDownIcon />}
>
Options
</Button>
<StyledMenu
id="demo-customized-menu"
MenuListProps={{
'aria-labelledby': 'demo-customized-button',
}}
anchorEl={anchorEl}
open={open}
onClose={handleClose}
>
<MenuItem onClick={handleClose} disableRipple>
<EditIcon />
Edit
</MenuItem>
<MenuItem onClick={handleClose} disableRipple>
<FileCopyIcon />
Duplicate
</MenuItem>
<Divider sx={{ my: 0.5 }} />
<MenuItem onClick={handleClose} disableRipple>
<ArchiveIcon />
Archive
</MenuItem>
<MenuItem onClick={handleClose} disableRipple>
<MoreHorizIcon />
More
</MenuItem>
</StyledMenu>
</div>
);
}
| 2,668 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/menus/DenseMenu.js | import * as React from 'react';
import Paper from '@mui/material/Paper';
import Divider from '@mui/material/Divider';
import MenuList from '@mui/material/MenuList';
import MenuItem from '@mui/material/MenuItem';
import ListItemIcon from '@mui/material/ListItemIcon';
import ListItemText from '@mui/material/ListItemText';
import Check from '@mui/icons-material/Check';
export default function DenseMenu() {
return (
<Paper sx={{ width: 320 }}>
<MenuList dense>
<MenuItem>
<ListItemText inset>Single</ListItemText>
</MenuItem>
<MenuItem>
<ListItemText inset>1.15</ListItemText>
</MenuItem>
<MenuItem>
<ListItemText inset>Double</ListItemText>
</MenuItem>
<MenuItem>
<ListItemIcon>
<Check />
</ListItemIcon>
Custom: 1.2
</MenuItem>
<Divider />
<MenuItem>
<ListItemText>Add space before paragraph</ListItemText>
</MenuItem>
<MenuItem>
<ListItemText>Add space after paragraph</ListItemText>
</MenuItem>
<Divider />
<MenuItem>
<ListItemText>Custom spacing...</ListItemText>
</MenuItem>
</MenuList>
</Paper>
);
}
| 2,669 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/menus/DenseMenu.tsx | import * as React from 'react';
import Paper from '@mui/material/Paper';
import Divider from '@mui/material/Divider';
import MenuList from '@mui/material/MenuList';
import MenuItem from '@mui/material/MenuItem';
import ListItemIcon from '@mui/material/ListItemIcon';
import ListItemText from '@mui/material/ListItemText';
import Check from '@mui/icons-material/Check';
export default function DenseMenu() {
return (
<Paper sx={{ width: 320 }}>
<MenuList dense>
<MenuItem>
<ListItemText inset>Single</ListItemText>
</MenuItem>
<MenuItem>
<ListItemText inset>1.15</ListItemText>
</MenuItem>
<MenuItem>
<ListItemText inset>Double</ListItemText>
</MenuItem>
<MenuItem>
<ListItemIcon>
<Check />
</ListItemIcon>
Custom: 1.2
</MenuItem>
<Divider />
<MenuItem>
<ListItemText>Add space before paragraph</ListItemText>
</MenuItem>
<MenuItem>
<ListItemText>Add space after paragraph</ListItemText>
</MenuItem>
<Divider />
<MenuItem>
<ListItemText>Custom spacing...</ListItemText>
</MenuItem>
</MenuList>
</Paper>
);
}
| 2,670 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/menus/FadeMenu.js | import * as React from 'react';
import Button from '@mui/material/Button';
import Menu from '@mui/material/Menu';
import MenuItem from '@mui/material/MenuItem';
import Fade from '@mui/material/Fade';
export default function FadeMenu() {
const [anchorEl, setAnchorEl] = React.useState(null);
const open = Boolean(anchorEl);
const handleClick = (event) => {
setAnchorEl(event.currentTarget);
};
const handleClose = () => {
setAnchorEl(null);
};
return (
<div>
<Button
id="fade-button"
aria-controls={open ? 'fade-menu' : undefined}
aria-haspopup="true"
aria-expanded={open ? 'true' : undefined}
onClick={handleClick}
>
Dashboard
</Button>
<Menu
id="fade-menu"
MenuListProps={{
'aria-labelledby': 'fade-button',
}}
anchorEl={anchorEl}
open={open}
onClose={handleClose}
TransitionComponent={Fade}
>
<MenuItem onClick={handleClose}>Profile</MenuItem>
<MenuItem onClick={handleClose}>My account</MenuItem>
<MenuItem onClick={handleClose}>Logout</MenuItem>
</Menu>
</div>
);
}
| 2,671 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/menus/FadeMenu.tsx | import * as React from 'react';
import Button from '@mui/material/Button';
import Menu from '@mui/material/Menu';
import MenuItem from '@mui/material/MenuItem';
import Fade from '@mui/material/Fade';
export default function FadeMenu() {
const [anchorEl, setAnchorEl] = React.useState<null | HTMLElement>(null);
const open = Boolean(anchorEl);
const handleClick = (event: React.MouseEvent<HTMLElement>) => {
setAnchorEl(event.currentTarget);
};
const handleClose = () => {
setAnchorEl(null);
};
return (
<div>
<Button
id="fade-button"
aria-controls={open ? 'fade-menu' : undefined}
aria-haspopup="true"
aria-expanded={open ? 'true' : undefined}
onClick={handleClick}
>
Dashboard
</Button>
<Menu
id="fade-menu"
MenuListProps={{
'aria-labelledby': 'fade-button',
}}
anchorEl={anchorEl}
open={open}
onClose={handleClose}
TransitionComponent={Fade}
>
<MenuItem onClick={handleClose}>Profile</MenuItem>
<MenuItem onClick={handleClose}>My account</MenuItem>
<MenuItem onClick={handleClose}>Logout</MenuItem>
</Menu>
</div>
);
}
| 2,672 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/menus/IconMenu.js | import * as React from 'react';
import Divider from '@mui/material/Divider';
import Paper from '@mui/material/Paper';
import MenuList from '@mui/material/MenuList';
import MenuItem from '@mui/material/MenuItem';
import ListItemText from '@mui/material/ListItemText';
import ListItemIcon from '@mui/material/ListItemIcon';
import Typography from '@mui/material/Typography';
import ContentCut from '@mui/icons-material/ContentCut';
import ContentCopy from '@mui/icons-material/ContentCopy';
import ContentPaste from '@mui/icons-material/ContentPaste';
import Cloud from '@mui/icons-material/Cloud';
export default function IconMenu() {
return (
<Paper sx={{ width: 320, maxWidth: '100%' }}>
<MenuList>
<MenuItem>
<ListItemIcon>
<ContentCut fontSize="small" />
</ListItemIcon>
<ListItemText>Cut</ListItemText>
<Typography variant="body2" color="text.secondary">
⌘X
</Typography>
</MenuItem>
<MenuItem>
<ListItemIcon>
<ContentCopy fontSize="small" />
</ListItemIcon>
<ListItemText>Copy</ListItemText>
<Typography variant="body2" color="text.secondary">
⌘C
</Typography>
</MenuItem>
<MenuItem>
<ListItemIcon>
<ContentPaste fontSize="small" />
</ListItemIcon>
<ListItemText>Paste</ListItemText>
<Typography variant="body2" color="text.secondary">
⌘V
</Typography>
</MenuItem>
<Divider />
<MenuItem>
<ListItemIcon>
<Cloud fontSize="small" />
</ListItemIcon>
<ListItemText>Web Clipboard</ListItemText>
</MenuItem>
</MenuList>
</Paper>
);
}
| 2,673 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/menus/IconMenu.tsx | import * as React from 'react';
import Divider from '@mui/material/Divider';
import Paper from '@mui/material/Paper';
import MenuList from '@mui/material/MenuList';
import MenuItem from '@mui/material/MenuItem';
import ListItemText from '@mui/material/ListItemText';
import ListItemIcon from '@mui/material/ListItemIcon';
import Typography from '@mui/material/Typography';
import ContentCut from '@mui/icons-material/ContentCut';
import ContentCopy from '@mui/icons-material/ContentCopy';
import ContentPaste from '@mui/icons-material/ContentPaste';
import Cloud from '@mui/icons-material/Cloud';
export default function IconMenu() {
return (
<Paper sx={{ width: 320, maxWidth: '100%' }}>
<MenuList>
<MenuItem>
<ListItemIcon>
<ContentCut fontSize="small" />
</ListItemIcon>
<ListItemText>Cut</ListItemText>
<Typography variant="body2" color="text.secondary">
⌘X
</Typography>
</MenuItem>
<MenuItem>
<ListItemIcon>
<ContentCopy fontSize="small" />
</ListItemIcon>
<ListItemText>Copy</ListItemText>
<Typography variant="body2" color="text.secondary">
⌘C
</Typography>
</MenuItem>
<MenuItem>
<ListItemIcon>
<ContentPaste fontSize="small" />
</ListItemIcon>
<ListItemText>Paste</ListItemText>
<Typography variant="body2" color="text.secondary">
⌘V
</Typography>
</MenuItem>
<Divider />
<MenuItem>
<ListItemIcon>
<Cloud fontSize="small" />
</ListItemIcon>
<ListItemText>Web Clipboard</ListItemText>
</MenuItem>
</MenuList>
</Paper>
);
}
| 2,674 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/menus/LongMenu.js | import * as React from 'react';
import IconButton from '@mui/material/IconButton';
import Menu from '@mui/material/Menu';
import MenuItem from '@mui/material/MenuItem';
import MoreVertIcon from '@mui/icons-material/MoreVert';
const options = [
'None',
'Atria',
'Callisto',
'Dione',
'Ganymede',
'Hangouts Call',
'Luna',
'Oberon',
'Phobos',
'Pyxis',
'Sedna',
'Titania',
'Triton',
'Umbriel',
];
const ITEM_HEIGHT = 48;
export default function LongMenu() {
const [anchorEl, setAnchorEl] = React.useState(null);
const open = Boolean(anchorEl);
const handleClick = (event) => {
setAnchorEl(event.currentTarget);
};
const handleClose = () => {
setAnchorEl(null);
};
return (
<div>
<IconButton
aria-label="more"
id="long-button"
aria-controls={open ? 'long-menu' : undefined}
aria-expanded={open ? 'true' : undefined}
aria-haspopup="true"
onClick={handleClick}
>
<MoreVertIcon />
</IconButton>
<Menu
id="long-menu"
MenuListProps={{
'aria-labelledby': 'long-button',
}}
anchorEl={anchorEl}
open={open}
onClose={handleClose}
PaperProps={{
style: {
maxHeight: ITEM_HEIGHT * 4.5,
width: '20ch',
},
}}
>
{options.map((option) => (
<MenuItem key={option} selected={option === 'Pyxis'} onClick={handleClose}>
{option}
</MenuItem>
))}
</Menu>
</div>
);
}
| 2,675 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/menus/LongMenu.tsx | import * as React from 'react';
import IconButton from '@mui/material/IconButton';
import Menu from '@mui/material/Menu';
import MenuItem from '@mui/material/MenuItem';
import MoreVertIcon from '@mui/icons-material/MoreVert';
const options = [
'None',
'Atria',
'Callisto',
'Dione',
'Ganymede',
'Hangouts Call',
'Luna',
'Oberon',
'Phobos',
'Pyxis',
'Sedna',
'Titania',
'Triton',
'Umbriel',
];
const ITEM_HEIGHT = 48;
export default function LongMenu() {
const [anchorEl, setAnchorEl] = React.useState<null | HTMLElement>(null);
const open = Boolean(anchorEl);
const handleClick = (event: React.MouseEvent<HTMLElement>) => {
setAnchorEl(event.currentTarget);
};
const handleClose = () => {
setAnchorEl(null);
};
return (
<div>
<IconButton
aria-label="more"
id="long-button"
aria-controls={open ? 'long-menu' : undefined}
aria-expanded={open ? 'true' : undefined}
aria-haspopup="true"
onClick={handleClick}
>
<MoreVertIcon />
</IconButton>
<Menu
id="long-menu"
MenuListProps={{
'aria-labelledby': 'long-button',
}}
anchorEl={anchorEl}
open={open}
onClose={handleClose}
PaperProps={{
style: {
maxHeight: ITEM_HEIGHT * 4.5,
width: '20ch',
},
}}
>
{options.map((option) => (
<MenuItem key={option} selected={option === 'Pyxis'} onClick={handleClose}>
{option}
</MenuItem>
))}
</Menu>
</div>
);
}
| 2,676 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/menus/MenuListComposition.js | import * as React from 'react';
import Button from '@mui/material/Button';
import ClickAwayListener from '@mui/material/ClickAwayListener';
import Grow from '@mui/material/Grow';
import Paper from '@mui/material/Paper';
import Popper from '@mui/material/Popper';
import MenuItem from '@mui/material/MenuItem';
import MenuList from '@mui/material/MenuList';
import Stack from '@mui/material/Stack';
export default function MenuListComposition() {
const [open, setOpen] = React.useState(false);
const anchorRef = React.useRef(null);
const handleToggle = () => {
setOpen((prevOpen) => !prevOpen);
};
const handleClose = (event) => {
if (anchorRef.current && anchorRef.current.contains(event.target)) {
return;
}
setOpen(false);
};
function handleListKeyDown(event) {
if (event.key === 'Tab') {
event.preventDefault();
setOpen(false);
} else if (event.key === 'Escape') {
setOpen(false);
}
}
// return focus to the button when we transitioned from !open -> open
const prevOpen = React.useRef(open);
React.useEffect(() => {
if (prevOpen.current === true && open === false) {
anchorRef.current.focus();
}
prevOpen.current = open;
}, [open]);
return (
<Stack direction="row" spacing={2}>
<Paper>
<MenuList>
<MenuItem>Profile</MenuItem>
<MenuItem>My account</MenuItem>
<MenuItem>Logout</MenuItem>
</MenuList>
</Paper>
<div>
<Button
ref={anchorRef}
id="composition-button"
aria-controls={open ? 'composition-menu' : undefined}
aria-expanded={open ? 'true' : undefined}
aria-haspopup="true"
onClick={handleToggle}
>
Dashboard
</Button>
<Popper
open={open}
anchorEl={anchorRef.current}
role={undefined}
placement="bottom-start"
transition
disablePortal
>
{({ TransitionProps, placement }) => (
<Grow
{...TransitionProps}
style={{
transformOrigin:
placement === 'bottom-start' ? 'left top' : 'left bottom',
}}
>
<Paper>
<ClickAwayListener onClickAway={handleClose}>
<MenuList
autoFocusItem={open}
id="composition-menu"
aria-labelledby="composition-button"
onKeyDown={handleListKeyDown}
>
<MenuItem onClick={handleClose}>Profile</MenuItem>
<MenuItem onClick={handleClose}>My account</MenuItem>
<MenuItem onClick={handleClose}>Logout</MenuItem>
</MenuList>
</ClickAwayListener>
</Paper>
</Grow>
)}
</Popper>
</div>
</Stack>
);
}
| 2,677 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/menus/MenuListComposition.tsx | import * as React from 'react';
import Button from '@mui/material/Button';
import ClickAwayListener from '@mui/material/ClickAwayListener';
import Grow from '@mui/material/Grow';
import Paper from '@mui/material/Paper';
import Popper from '@mui/material/Popper';
import MenuItem from '@mui/material/MenuItem';
import MenuList from '@mui/material/MenuList';
import Stack from '@mui/material/Stack';
export default function MenuListComposition() {
const [open, setOpen] = React.useState(false);
const anchorRef = React.useRef<HTMLButtonElement>(null);
const handleToggle = () => {
setOpen((prevOpen) => !prevOpen);
};
const handleClose = (event: Event | React.SyntheticEvent) => {
if (
anchorRef.current &&
anchorRef.current.contains(event.target as HTMLElement)
) {
return;
}
setOpen(false);
};
function handleListKeyDown(event: React.KeyboardEvent) {
if (event.key === 'Tab') {
event.preventDefault();
setOpen(false);
} else if (event.key === 'Escape') {
setOpen(false);
}
}
// return focus to the button when we transitioned from !open -> open
const prevOpen = React.useRef(open);
React.useEffect(() => {
if (prevOpen.current === true && open === false) {
anchorRef.current!.focus();
}
prevOpen.current = open;
}, [open]);
return (
<Stack direction="row" spacing={2}>
<Paper>
<MenuList>
<MenuItem>Profile</MenuItem>
<MenuItem>My account</MenuItem>
<MenuItem>Logout</MenuItem>
</MenuList>
</Paper>
<div>
<Button
ref={anchorRef}
id="composition-button"
aria-controls={open ? 'composition-menu' : undefined}
aria-expanded={open ? 'true' : undefined}
aria-haspopup="true"
onClick={handleToggle}
>
Dashboard
</Button>
<Popper
open={open}
anchorEl={anchorRef.current}
role={undefined}
placement="bottom-start"
transition
disablePortal
>
{({ TransitionProps, placement }) => (
<Grow
{...TransitionProps}
style={{
transformOrigin:
placement === 'bottom-start' ? 'left top' : 'left bottom',
}}
>
<Paper>
<ClickAwayListener onClickAway={handleClose}>
<MenuList
autoFocusItem={open}
id="composition-menu"
aria-labelledby="composition-button"
onKeyDown={handleListKeyDown}
>
<MenuItem onClick={handleClose}>Profile</MenuItem>
<MenuItem onClick={handleClose}>My account</MenuItem>
<MenuItem onClick={handleClose}>Logout</MenuItem>
</MenuList>
</ClickAwayListener>
</Paper>
</Grow>
)}
</Popper>
</div>
</Stack>
);
}
| 2,678 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/menus/MenuPopupState.js | import * as React from 'react';
import Button from '@mui/material/Button';
import Menu from '@mui/material/Menu';
import MenuItem from '@mui/material/MenuItem';
import PopupState, { bindTrigger, bindMenu } from 'material-ui-popup-state';
export default function MenuPopupState() {
return (
<PopupState variant="popover" popupId="demo-popup-menu">
{(popupState) => (
<React.Fragment>
<Button variant="contained" {...bindTrigger(popupState)}>
Dashboard
</Button>
<Menu {...bindMenu(popupState)}>
<MenuItem onClick={popupState.close}>Profile</MenuItem>
<MenuItem onClick={popupState.close}>My account</MenuItem>
<MenuItem onClick={popupState.close}>Logout</MenuItem>
</Menu>
</React.Fragment>
)}
</PopupState>
);
}
| 2,679 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/menus/MenuPopupState.tsx | import * as React from 'react';
import Button from '@mui/material/Button';
import Menu from '@mui/material/Menu';
import MenuItem from '@mui/material/MenuItem';
import PopupState, { bindTrigger, bindMenu } from 'material-ui-popup-state';
export default function MenuPopupState() {
return (
<PopupState variant="popover" popupId="demo-popup-menu">
{(popupState) => (
<React.Fragment>
<Button variant="contained" {...bindTrigger(popupState)}>
Dashboard
</Button>
<Menu {...bindMenu(popupState)}>
<MenuItem onClick={popupState.close}>Profile</MenuItem>
<MenuItem onClick={popupState.close}>My account</MenuItem>
<MenuItem onClick={popupState.close}>Logout</MenuItem>
</Menu>
</React.Fragment>
)}
</PopupState>
);
}
| 2,680 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/menus/MenuPopupState.tsx.preview | <PopupState variant="popover" popupId="demo-popup-menu">
{(popupState) => (
<React.Fragment>
<Button variant="contained" {...bindTrigger(popupState)}>
Dashboard
</Button>
<Menu {...bindMenu(popupState)}>
<MenuItem onClick={popupState.close}>Profile</MenuItem>
<MenuItem onClick={popupState.close}>My account</MenuItem>
<MenuItem onClick={popupState.close}>Logout</MenuItem>
</Menu>
</React.Fragment>
)}
</PopupState> | 2,681 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/menus/PositionedMenu.js | import * as React from 'react';
import Button from '@mui/material/Button';
import Menu from '@mui/material/Menu';
import MenuItem from '@mui/material/MenuItem';
export default function PositionedMenu() {
const [anchorEl, setAnchorEl] = React.useState(null);
const open = Boolean(anchorEl);
const handleClick = (event) => {
setAnchorEl(event.currentTarget);
};
const handleClose = () => {
setAnchorEl(null);
};
return (
<div>
<Button
id="demo-positioned-button"
aria-controls={open ? 'demo-positioned-menu' : undefined}
aria-haspopup="true"
aria-expanded={open ? 'true' : undefined}
onClick={handleClick}
>
Dashboard
</Button>
<Menu
id="demo-positioned-menu"
aria-labelledby="demo-positioned-button"
anchorEl={anchorEl}
open={open}
onClose={handleClose}
anchorOrigin={{
vertical: 'top',
horizontal: 'left',
}}
transformOrigin={{
vertical: 'top',
horizontal: 'left',
}}
>
<MenuItem onClick={handleClose}>Profile</MenuItem>
<MenuItem onClick={handleClose}>My account</MenuItem>
<MenuItem onClick={handleClose}>Logout</MenuItem>
</Menu>
</div>
);
}
| 2,682 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/menus/PositionedMenu.tsx | import * as React from 'react';
import Button from '@mui/material/Button';
import Menu from '@mui/material/Menu';
import MenuItem from '@mui/material/MenuItem';
export default function PositionedMenu() {
const [anchorEl, setAnchorEl] = React.useState<null | HTMLElement>(null);
const open = Boolean(anchorEl);
const handleClick = (event: React.MouseEvent<HTMLElement>) => {
setAnchorEl(event.currentTarget);
};
const handleClose = () => {
setAnchorEl(null);
};
return (
<div>
<Button
id="demo-positioned-button"
aria-controls={open ? 'demo-positioned-menu' : undefined}
aria-haspopup="true"
aria-expanded={open ? 'true' : undefined}
onClick={handleClick}
>
Dashboard
</Button>
<Menu
id="demo-positioned-menu"
aria-labelledby="demo-positioned-button"
anchorEl={anchorEl}
open={open}
onClose={handleClose}
anchorOrigin={{
vertical: 'top',
horizontal: 'left',
}}
transformOrigin={{
vertical: 'top',
horizontal: 'left',
}}
>
<MenuItem onClick={handleClose}>Profile</MenuItem>
<MenuItem onClick={handleClose}>My account</MenuItem>
<MenuItem onClick={handleClose}>Logout</MenuItem>
</Menu>
</div>
);
}
| 2,683 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/menus/SimpleListMenu.js | import * as React from 'react';
import List from '@mui/material/List';
import ListItem from '@mui/material/ListItem';
import ListItemText from '@mui/material/ListItemText';
import MenuItem from '@mui/material/MenuItem';
import Menu from '@mui/material/Menu';
const options = [
'Show some love to MUI',
'Show all notification content',
'Hide sensitive notification content',
'Hide all notification content',
];
export default function SimpleListMenu() {
const [anchorEl, setAnchorEl] = React.useState(null);
const [selectedIndex, setSelectedIndex] = React.useState(1);
const open = Boolean(anchorEl);
const handleClickListItem = (event) => {
setAnchorEl(event.currentTarget);
};
const handleMenuItemClick = (event, index) => {
setSelectedIndex(index);
setAnchorEl(null);
};
const handleClose = () => {
setAnchorEl(null);
};
return (
<div>
<List
component="nav"
aria-label="Device settings"
sx={{ bgcolor: 'background.paper' }}
>
<ListItem
button
id="lock-button"
aria-haspopup="listbox"
aria-controls="lock-menu"
aria-label="when device is locked"
aria-expanded={open ? 'true' : undefined}
onClick={handleClickListItem}
>
<ListItemText
primary="When device is locked"
secondary={options[selectedIndex]}
/>
</ListItem>
</List>
<Menu
id="lock-menu"
anchorEl={anchorEl}
open={open}
onClose={handleClose}
MenuListProps={{
'aria-labelledby': 'lock-button',
role: 'listbox',
}}
>
{options.map((option, index) => (
<MenuItem
key={option}
disabled={index === 0}
selected={index === selectedIndex}
onClick={(event) => handleMenuItemClick(event, index)}
>
{option}
</MenuItem>
))}
</Menu>
</div>
);
}
| 2,684 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/menus/SimpleListMenu.tsx | import * as React from 'react';
import List from '@mui/material/List';
import ListItem from '@mui/material/ListItem';
import ListItemText from '@mui/material/ListItemText';
import MenuItem from '@mui/material/MenuItem';
import Menu from '@mui/material/Menu';
const options = [
'Show some love to MUI',
'Show all notification content',
'Hide sensitive notification content',
'Hide all notification content',
];
export default function SimpleListMenu() {
const [anchorEl, setAnchorEl] = React.useState<null | HTMLElement>(null);
const [selectedIndex, setSelectedIndex] = React.useState(1);
const open = Boolean(anchorEl);
const handleClickListItem = (event: React.MouseEvent<HTMLElement>) => {
setAnchorEl(event.currentTarget);
};
const handleMenuItemClick = (
event: React.MouseEvent<HTMLElement>,
index: number,
) => {
setSelectedIndex(index);
setAnchorEl(null);
};
const handleClose = () => {
setAnchorEl(null);
};
return (
<div>
<List
component="nav"
aria-label="Device settings"
sx={{ bgcolor: 'background.paper' }}
>
<ListItem
button
id="lock-button"
aria-haspopup="listbox"
aria-controls="lock-menu"
aria-label="when device is locked"
aria-expanded={open ? 'true' : undefined}
onClick={handleClickListItem}
>
<ListItemText
primary="When device is locked"
secondary={options[selectedIndex]}
/>
</ListItem>
</List>
<Menu
id="lock-menu"
anchorEl={anchorEl}
open={open}
onClose={handleClose}
MenuListProps={{
'aria-labelledby': 'lock-button',
role: 'listbox',
}}
>
{options.map((option, index) => (
<MenuItem
key={option}
disabled={index === 0}
selected={index === selectedIndex}
onClick={(event) => handleMenuItemClick(event, index)}
>
{option}
</MenuItem>
))}
</Menu>
</div>
);
}
| 2,685 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/menus/TypographyMenu.js | import * as React from 'react';
import MenuList from '@mui/material/MenuList';
import MenuItem from '@mui/material/MenuItem';
import Paper from '@mui/material/Paper';
import ListItemIcon from '@mui/material/ListItemIcon';
import Typography from '@mui/material/Typography';
import DraftsIcon from '@mui/icons-material/Drafts';
import SendIcon from '@mui/icons-material/Send';
import PriorityHighIcon from '@mui/icons-material/PriorityHigh';
export default function TypographyMenu() {
return (
<Paper sx={{ width: 230 }}>
<MenuList>
<MenuItem>
<ListItemIcon>
<SendIcon fontSize="small" />
</ListItemIcon>
<Typography variant="inherit">A short message</Typography>
</MenuItem>
<MenuItem>
<ListItemIcon>
<PriorityHighIcon fontSize="small" />
</ListItemIcon>
<Typography variant="inherit">A very long text that overflows</Typography>
</MenuItem>
<MenuItem>
<ListItemIcon>
<DraftsIcon fontSize="small" />
</ListItemIcon>
<Typography variant="inherit" noWrap>
A very long text that overflows
</Typography>
</MenuItem>
</MenuList>
</Paper>
);
}
| 2,686 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/menus/TypographyMenu.tsx | import * as React from 'react';
import MenuList from '@mui/material/MenuList';
import MenuItem from '@mui/material/MenuItem';
import Paper from '@mui/material/Paper';
import ListItemIcon from '@mui/material/ListItemIcon';
import Typography from '@mui/material/Typography';
import DraftsIcon from '@mui/icons-material/Drafts';
import SendIcon from '@mui/icons-material/Send';
import PriorityHighIcon from '@mui/icons-material/PriorityHigh';
export default function TypographyMenu() {
return (
<Paper sx={{ width: 230 }}>
<MenuList>
<MenuItem>
<ListItemIcon>
<SendIcon fontSize="small" />
</ListItemIcon>
<Typography variant="inherit">A short message</Typography>
</MenuItem>
<MenuItem>
<ListItemIcon>
<PriorityHighIcon fontSize="small" />
</ListItemIcon>
<Typography variant="inherit">A very long text that overflows</Typography>
</MenuItem>
<MenuItem>
<ListItemIcon>
<DraftsIcon fontSize="small" />
</ListItemIcon>
<Typography variant="inherit" noWrap>
A very long text that overflows
</Typography>
</MenuItem>
</MenuList>
</Paper>
);
}
| 2,687 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/menus/menus.md | ---
productId: material-ui
title: React Menu component
components: Menu, MenuItem, MenuList, ClickAwayListener, Popover, Popper
githubLabel: 'component: menu'
materialDesign: https://m2.material.io/components/menus
waiAria: https://www.w3.org/WAI/ARIA/apg/patterns/menu-button/
unstyled: /base-ui/react-menu/
---
# Menu
<p class="description">Menus display a list of choices on temporary surfaces.</p>
A menu displays a list of choices on a temporary surface. It appears when the user interacts with a button, or other control.
{{"component": "modules/components/ComponentLinkHeader.js"}}
## Basic menu
A basic menu opens over the anchor element by default (this option can be [changed](#menu-positioning) via props). When close to a screen edge, a basic menu vertically realigns to make sure that all menu items are completely visible.
Choosing an option should immediately ideally commit the option and close the menu.
**Disambiguation**: In contrast to simple menus, simple dialogs can present additional detail related to the options available for a list item or provide navigational or orthogonal actions related to the primary task. Although they can display the same content, simple menus are preferred over simple dialogs because simple menus are less disruptive to the user's current context.
{{"demo": "BasicMenu.js"}}
## Icon menu
In desktop viewport, padding is increased to give more space to the menu.
{{"demo": "IconMenu.js", "bg": true}}
## Dense menu
For the menu that has long list and long text, you can use the `dense` prop to reduce the padding and text size.
{{"demo": "DenseMenu.js", "bg": true}}
## Selected menu
If used for item selection, when opened, simple menus places the initial focus on the selected menu item.
The currently selected menu item is set using the `selected` prop (from [ListItem](/material-ui/api/list-item/)).
To use a selected menu item without impacting the initial focus, set the `variant` prop to "menu".
{{"demo": "SimpleListMenu.js"}}
## Positioned menu
Because the `Menu` component uses the `Popover` component to position itself, you can use the same [positioning props](/material-ui/react-popover/#anchor-playground) to position it.
For instance, you can display the menu on top of the anchor:
{{"demo": "PositionedMenu.js"}}
## MenuList composition
The `Menu` component uses the `Popover` component internally.
However, you might want to use a different positioning strategy, or not blocking the scroll.
For answering those needs, we expose a `MenuList` component that you can compose, with `Popper` in this example.
The primary responsibility of the `MenuList` component is to handle the focus.
{{"demo": "MenuListComposition.js", "bg": true}}
## Account menu
`Menu` content can be mixed with other components like `Avatar`.
{{"demo": "AccountMenu.js"}}
## Customization
Here is an example of customizing the component.
You can learn more about this in the [overrides documentation page](/material-ui/customization/how-to-customize/).
{{"demo": "CustomizedMenus.js"}}
The `MenuItem` is a wrapper around `ListItem` with some additional styles.
You can use the same list composition features with the `MenuItem` component:
🎨 If you are looking for inspiration, you can check [MUI Treasury's customization examples](https://mui-treasury.com/styles/menu/).
## Max height menu
If the height of a menu prevents all menu items from being displayed, the menu can scroll internally.
{{"demo": "LongMenu.js"}}
## Limitations
There is [a flexbox bug](https://bugs.chromium.org/p/chromium/issues/detail?id=327437) that prevents `text-overflow: ellipsis` from working in a flexbox layout.
You can use the `Typography` component with `noWrap` to workaround this issue:
{{"demo": "TypographyMenu.js", "bg": true}}
## Change transition
Use a different transition.
{{"demo": "FadeMenu.js"}}
## Context menu
Here is an example of a context menu. (Right click to open.)
{{"demo": "ContextMenu.js"}}
## Complementary projects
For more advanced use cases you might be able to take advantage of:
### material-ui-popup-state


The package [`material-ui-popup-state`](https://github.com/jcoreio/material-ui-popup-state) that takes care of menu state for you in most cases.
{{"demo": "MenuPopupState.js"}}
| 2,688 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/modal/BasicModal.js | import * as React from 'react';
import Box from '@mui/material/Box';
import Button from '@mui/material/Button';
import Typography from '@mui/material/Typography';
import Modal from '@mui/material/Modal';
const style = {
position: 'absolute',
top: '50%',
left: '50%',
transform: 'translate(-50%, -50%)',
width: 400,
bgcolor: 'background.paper',
border: '2px solid #000',
boxShadow: 24,
p: 4,
};
export default function BasicModal() {
const [open, setOpen] = React.useState(false);
const handleOpen = () => setOpen(true);
const handleClose = () => setOpen(false);
return (
<div>
<Button onClick={handleOpen}>Open modal</Button>
<Modal
open={open}
onClose={handleClose}
aria-labelledby="modal-modal-title"
aria-describedby="modal-modal-description"
>
<Box sx={style}>
<Typography id="modal-modal-title" variant="h6" component="h2">
Text in a modal
</Typography>
<Typography id="modal-modal-description" sx={{ mt: 2 }}>
Duis mollis, est non commodo luctus, nisi erat porttitor ligula.
</Typography>
</Box>
</Modal>
</div>
);
}
| 2,689 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/modal/BasicModal.tsx | import * as React from 'react';
import Box from '@mui/material/Box';
import Button from '@mui/material/Button';
import Typography from '@mui/material/Typography';
import Modal from '@mui/material/Modal';
const style = {
position: 'absolute' as 'absolute',
top: '50%',
left: '50%',
transform: 'translate(-50%, -50%)',
width: 400,
bgcolor: 'background.paper',
border: '2px solid #000',
boxShadow: 24,
p: 4,
};
export default function BasicModal() {
const [open, setOpen] = React.useState(false);
const handleOpen = () => setOpen(true);
const handleClose = () => setOpen(false);
return (
<div>
<Button onClick={handleOpen}>Open modal</Button>
<Modal
open={open}
onClose={handleClose}
aria-labelledby="modal-modal-title"
aria-describedby="modal-modal-description"
>
<Box sx={style}>
<Typography id="modal-modal-title" variant="h6" component="h2">
Text in a modal
</Typography>
<Typography id="modal-modal-description" sx={{ mt: 2 }}>
Duis mollis, est non commodo luctus, nisi erat porttitor ligula.
</Typography>
</Box>
</Modal>
</div>
);
}
| 2,690 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/modal/BasicModal.tsx.preview | <Button onClick={handleOpen}>Open modal</Button>
<Modal
open={open}
onClose={handleClose}
aria-labelledby="modal-modal-title"
aria-describedby="modal-modal-description"
>
<Box sx={style}>
<Typography id="modal-modal-title" variant="h6" component="h2">
Text in a modal
</Typography>
<Typography id="modal-modal-description" sx={{ mt: 2 }}>
Duis mollis, est non commodo luctus, nisi erat porttitor ligula.
</Typography>
</Box>
</Modal> | 2,691 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/modal/KeepMountedModal.js | import * as React from 'react';
import Box from '@mui/material/Box';
import Modal from '@mui/material/Modal';
import Button from '@mui/material/Button';
import Typography from '@mui/material/Typography';
const style = {
position: 'absolute',
top: '50%',
left: '50%',
transform: 'translate(-50%, -50%)',
width: 400,
bgcolor: 'background.paper',
border: '2px solid #000',
boxShadow: 24,
p: 4,
};
export default function KeepMountedModal() {
const [open, setOpen] = React.useState(false);
const handleOpen = () => setOpen(true);
const handleClose = () => setOpen(false);
return (
<div>
<Button onClick={handleOpen}>Open modal</Button>
<Modal
keepMounted
open={open}
onClose={handleClose}
aria-labelledby="keep-mounted-modal-title"
aria-describedby="keep-mounted-modal-description"
>
<Box sx={style}>
<Typography id="keep-mounted-modal-title" variant="h6" component="h2">
Text in a modal
</Typography>
<Typography id="keep-mounted-modal-description" sx={{ mt: 2 }}>
Duis mollis, est non commodo luctus, nisi erat porttitor ligula.
</Typography>
</Box>
</Modal>
</div>
);
}
| 2,692 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/modal/KeepMountedModal.tsx | import * as React from 'react';
import Box from '@mui/material/Box';
import Modal from '@mui/material/Modal';
import Button from '@mui/material/Button';
import Typography from '@mui/material/Typography';
const style = {
position: 'absolute' as 'absolute',
top: '50%',
left: '50%',
transform: 'translate(-50%, -50%)',
width: 400,
bgcolor: 'background.paper',
border: '2px solid #000',
boxShadow: 24,
p: 4,
};
export default function KeepMountedModal() {
const [open, setOpen] = React.useState(false);
const handleOpen = () => setOpen(true);
const handleClose = () => setOpen(false);
return (
<div>
<Button onClick={handleOpen}>Open modal</Button>
<Modal
keepMounted
open={open}
onClose={handleClose}
aria-labelledby="keep-mounted-modal-title"
aria-describedby="keep-mounted-modal-description"
>
<Box sx={style}>
<Typography id="keep-mounted-modal-title" variant="h6" component="h2">
Text in a modal
</Typography>
<Typography id="keep-mounted-modal-description" sx={{ mt: 2 }}>
Duis mollis, est non commodo luctus, nisi erat porttitor ligula.
</Typography>
</Box>
</Modal>
</div>
);
}
| 2,693 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/modal/NestedModal.js | import * as React from 'react';
import Box from '@mui/material/Box';
import Modal from '@mui/material/Modal';
import Button from '@mui/material/Button';
const style = {
position: 'absolute',
top: '50%',
left: '50%',
transform: 'translate(-50%, -50%)',
width: 400,
bgcolor: 'background.paper',
border: '2px solid #000',
boxShadow: 24,
pt: 2,
px: 4,
pb: 3,
};
function ChildModal() {
const [open, setOpen] = React.useState(false);
const handleOpen = () => {
setOpen(true);
};
const handleClose = () => {
setOpen(false);
};
return (
<React.Fragment>
<Button onClick={handleOpen}>Open Child Modal</Button>
<Modal
open={open}
onClose={handleClose}
aria-labelledby="child-modal-title"
aria-describedby="child-modal-description"
>
<Box sx={{ ...style, width: 200 }}>
<h2 id="child-modal-title">Text in a child modal</h2>
<p id="child-modal-description">
Lorem ipsum, dolor sit amet consectetur adipisicing elit.
</p>
<Button onClick={handleClose}>Close Child Modal</Button>
</Box>
</Modal>
</React.Fragment>
);
}
export default function NestedModal() {
const [open, setOpen] = React.useState(false);
const handleOpen = () => {
setOpen(true);
};
const handleClose = () => {
setOpen(false);
};
return (
<div>
<Button onClick={handleOpen}>Open modal</Button>
<Modal
open={open}
onClose={handleClose}
aria-labelledby="parent-modal-title"
aria-describedby="parent-modal-description"
>
<Box sx={{ ...style, width: 400 }}>
<h2 id="parent-modal-title">Text in a modal</h2>
<p id="parent-modal-description">
Duis mollis, est non commodo luctus, nisi erat porttitor ligula.
</p>
<ChildModal />
</Box>
</Modal>
</div>
);
}
| 2,694 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/modal/NestedModal.tsx | import * as React from 'react';
import Box from '@mui/material/Box';
import Modal from '@mui/material/Modal';
import Button from '@mui/material/Button';
const style = {
position: 'absolute' as 'absolute',
top: '50%',
left: '50%',
transform: 'translate(-50%, -50%)',
width: 400,
bgcolor: 'background.paper',
border: '2px solid #000',
boxShadow: 24,
pt: 2,
px: 4,
pb: 3,
};
function ChildModal() {
const [open, setOpen] = React.useState(false);
const handleOpen = () => {
setOpen(true);
};
const handleClose = () => {
setOpen(false);
};
return (
<React.Fragment>
<Button onClick={handleOpen}>Open Child Modal</Button>
<Modal
open={open}
onClose={handleClose}
aria-labelledby="child-modal-title"
aria-describedby="child-modal-description"
>
<Box sx={{ ...style, width: 200 }}>
<h2 id="child-modal-title">Text in a child modal</h2>
<p id="child-modal-description">
Lorem ipsum, dolor sit amet consectetur adipisicing elit.
</p>
<Button onClick={handleClose}>Close Child Modal</Button>
</Box>
</Modal>
</React.Fragment>
);
}
export default function NestedModal() {
const [open, setOpen] = React.useState(false);
const handleOpen = () => {
setOpen(true);
};
const handleClose = () => {
setOpen(false);
};
return (
<div>
<Button onClick={handleOpen}>Open modal</Button>
<Modal
open={open}
onClose={handleClose}
aria-labelledby="parent-modal-title"
aria-describedby="parent-modal-description"
>
<Box sx={{ ...style, width: 400 }}>
<h2 id="parent-modal-title">Text in a modal</h2>
<p id="parent-modal-description">
Duis mollis, est non commodo luctus, nisi erat porttitor ligula.
</p>
<ChildModal />
</Box>
</Modal>
</div>
);
}
| 2,695 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/modal/NestedModal.tsx.preview | <Button onClick={handleOpen}>Open modal</Button>
<Modal
open={open}
onClose={handleClose}
aria-labelledby="parent-modal-title"
aria-describedby="parent-modal-description"
>
<Box sx={{ ...style, width: 400 }}>
<h2 id="parent-modal-title">Text in a modal</h2>
<p id="parent-modal-description">
Duis mollis, est non commodo luctus, nisi erat porttitor ligula.
</p>
<ChildModal />
</Box>
</Modal> | 2,696 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/modal/ServerModal.js | import * as React from 'react';
import Modal from '@mui/material/Modal';
import Typography from '@mui/material/Typography';
import Box from '@mui/material/Box';
export default function ServerModal() {
const rootRef = React.useRef(null);
return (
<Box
sx={{
height: 300,
flexGrow: 1,
minWidth: 300,
transform: 'translateZ(0)',
// The position fixed scoping doesn't work in IE11.
// Disable this demo to preserve the others.
'@media all and (-ms-high-contrast: none)': {
display: 'none',
},
}}
ref={rootRef}
>
<Modal
disablePortal
disableEnforceFocus
disableAutoFocus
open
aria-labelledby="server-modal-title"
aria-describedby="server-modal-description"
sx={{
display: 'flex',
p: 1,
alignItems: 'center',
justifyContent: 'center',
}}
container={() => rootRef.current}
>
<Box
sx={{
position: 'relative',
width: 400,
bgcolor: 'background.paper',
border: '2px solid #000',
boxShadow: (theme) => theme.shadows[5],
p: 4,
}}
>
<Typography id="server-modal-title" variant="h6" component="h2">
Server-side modal
</Typography>
<Typography id="server-modal-description" sx={{ pt: 2 }}>
If you disable JavaScript, you will still see me.
</Typography>
</Box>
</Modal>
</Box>
);
}
| 2,697 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/modal/ServerModal.tsx | import * as React from 'react';
import Modal from '@mui/material/Modal';
import Typography from '@mui/material/Typography';
import Box from '@mui/material/Box';
export default function ServerModal() {
const rootRef = React.useRef<HTMLDivElement>(null);
return (
<Box
sx={{
height: 300,
flexGrow: 1,
minWidth: 300,
transform: 'translateZ(0)',
// The position fixed scoping doesn't work in IE11.
// Disable this demo to preserve the others.
'@media all and (-ms-high-contrast: none)': {
display: 'none',
},
}}
ref={rootRef}
>
<Modal
disablePortal
disableEnforceFocus
disableAutoFocus
open
aria-labelledby="server-modal-title"
aria-describedby="server-modal-description"
sx={{
display: 'flex',
p: 1,
alignItems: 'center',
justifyContent: 'center',
}}
container={() => rootRef.current}
>
<Box
sx={{
position: 'relative',
width: 400,
bgcolor: 'background.paper',
border: '2px solid #000',
boxShadow: (theme) => theme.shadows[5],
p: 4,
}}
>
<Typography id="server-modal-title" variant="h6" component="h2">
Server-side modal
</Typography>
<Typography id="server-modal-description" sx={{ pt: 2 }}>
If you disable JavaScript, you will still see me.
</Typography>
</Box>
</Modal>
</Box>
);
}
| 2,698 |
0 | petrpan-code/mui/material-ui/docs/data/material/components | petrpan-code/mui/material-ui/docs/data/material/components/modal/SpringModal.js | import * as React from 'react';
import PropTypes from 'prop-types';
import Backdrop from '@mui/material/Backdrop';
import Box from '@mui/material/Box';
import Modal from '@mui/material/Modal';
import Button from '@mui/material/Button';
import Typography from '@mui/material/Typography';
import { useSpring, animated } from '@react-spring/web';
const Fade = React.forwardRef(function Fade(props, ref) {
const {
children,
in: open,
onClick,
onEnter,
onExited,
ownerState,
...other
} = props;
const style = useSpring({
from: { opacity: 0 },
to: { opacity: open ? 1 : 0 },
onStart: () => {
if (open && onEnter) {
onEnter(null, true);
}
},
onRest: () => {
if (!open && onExited) {
onExited(null, true);
}
},
});
return (
<animated.div ref={ref} style={style} {...other}>
{React.cloneElement(children, { onClick })}
</animated.div>
);
});
Fade.propTypes = {
children: PropTypes.element.isRequired,
in: PropTypes.bool,
onClick: PropTypes.any,
onEnter: PropTypes.func,
onExited: PropTypes.func,
ownerState: PropTypes.any,
};
const style = {
position: 'absolute',
top: '50%',
left: '50%',
transform: 'translate(-50%, -50%)',
width: 400,
bgcolor: 'background.paper',
border: '2px solid #000',
boxShadow: 24,
p: 4,
};
export default function SpringModal() {
const [open, setOpen] = React.useState(false);
const handleOpen = () => setOpen(true);
const handleClose = () => setOpen(false);
return (
<div>
<Button onClick={handleOpen}>Open modal</Button>
<Modal
aria-labelledby="spring-modal-title"
aria-describedby="spring-modal-description"
open={open}
onClose={handleClose}
closeAfterTransition
slots={{ backdrop: Backdrop }}
slotProps={{
backdrop: {
TransitionComponent: Fade,
},
}}
>
<Fade in={open}>
<Box sx={style}>
<Typography id="spring-modal-title" variant="h6" component="h2">
Text in a modal
</Typography>
<Typography id="spring-modal-description" sx={{ mt: 2 }}>
Duis mollis, est non commodo luctus, nisi erat porttitor ligula.
</Typography>
</Box>
</Fade>
</Modal>
</div>
);
}
| 2,699 |
Subsets and Splits