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/system
petrpan-code/mui/material-ui/docs/data/system/grid/GridTemplateRows.tsx.preview
<Box sx={{ display: 'grid', gridTemplateRows: 'repeat(3, 1fr)' }}> <Item>1</Item> <Item>2</Item> <Item>3</Item> </Box>
3,900
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/grid/RowAndColumnGap.js
import * as React from 'react'; import PropTypes from 'prop-types'; import Box from '@mui/material/Box'; function Item(props) { const { sx, ...other } = props; return ( <Box sx={{ bgcolor: (theme) => (theme.palette.mode === 'dark' ? '#101010' : '#fff'), color: (theme) => (theme.palette.mo...
3,901
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/grid/RowAndColumnGap.tsx
import * as React from 'react'; import Box, { BoxProps } from '@mui/material/Box'; function Item(props: BoxProps) { const { sx, ...other } = props; return ( <Box sx={{ bgcolor: (theme) => (theme.palette.mode === 'dark' ? '#101010' : '#fff'), color: (theme) => (theme.palette.mode === 'dark...
3,902
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/grid/RowAndColumnGap.tsx.preview
<Box sx={{ display: 'grid', columnGap: 3, rowGap: 1, gridTemplateColumns: 'repeat(2, 1fr)', }} > <Item>1</Item> <Item>2</Item> <Item>3</Item> <Item>4</Item> </Box>
3,903
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/grid/grid.md
# CSS Grid <p class="description">Quickly manage the layout, alignment, and sizing of grid columns, navigation, components, and more with a full suite of responsive grid utilities.</p> If you are **new to or unfamiliar with grid**, you're encouraged to read this [CSS-Tricks grid](https://css-tricks.com/snippets/css/c...
3,904
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/palette/BackgroundColor.js
import * as React from 'react'; import Box from '@mui/material/Box'; import Grid from '@mui/material/Grid'; export default function BackgroundColor() { return ( <Grid container spacing={1}> <Grid item xs={12} sm={4}> <Box sx={{ bgcolor: 'primary.main', color: 'primary.contrastText', p: 2 }}> ...
3,905
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/palette/BackgroundColor.tsx
import * as React from 'react'; import Box from '@mui/material/Box'; import Grid from '@mui/material/Grid'; export default function BackgroundColor() { return ( <Grid container spacing={1}> <Grid item xs={12} sm={4}> <Box sx={{ bgcolor: 'primary.main', color: 'primary.contrastText', p: 2 }}> ...
3,906
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/palette/Color.js
import * as React from 'react'; import Typography from '@mui/material/Typography'; import Box from '@mui/material/Box'; export default function Color() { return ( <Typography component="div" variant="body1"> <Box sx={{ color: 'primary.main' }}>primary.main</Box> <Box sx={{ color: 'secondary.main' }}>...
3,907
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/palette/Color.tsx
import * as React from 'react'; import Typography from '@mui/material/Typography'; import Box from '@mui/material/Box'; export default function Color() { return ( <Typography component="div" variant="body1"> <Box sx={{ color: 'primary.main' }}>primary.main</Box> <Box sx={{ color: 'secondary.main' }}>...
3,908
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/palette/Color.tsx.preview
<Typography component="div" variant="body1"> <Box sx={{ color: 'primary.main' }}>primary.main</Box> <Box sx={{ color: 'secondary.main' }}>secondary.main</Box> <Box sx={{ color: 'error.main' }}>error.main</Box> <Box sx={{ color: 'warning.main' }}>warning.main</Box> <Box sx={{ color: 'info.main' }}>info.main</B...
3,909
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/palette/palette.md
# Palette <p class="description">Convey meaning through color with a handful of color utility classes. Includes support for styling links with hover states, too.</p> ## Color {{"demo": "Color.js", "defaultCodeOpen": false}} ```jsx <Box sx={{ color: 'primary.main' }}>… <Box sx={{ color: 'secondary.main' }}>… <Box sx...
3,910
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/positions/ZIndex.js
import * as React from 'react'; import Typography from '@mui/material/Typography'; import Box from '@mui/material/Box'; export default function ZIndex() { return ( <Typography component="div" variant="body1" style={{ height: 100, width: '100%', position: 'relative', ...
3,911
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/positions/ZIndex.tsx
import * as React from 'react'; import Typography from '@mui/material/Typography'; import Box from '@mui/material/Box'; export default function ZIndex() { return ( <Typography component="div" variant="body1" style={{ height: 100, width: '100%', position: 'relative', ...
3,912
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/positions/positions.md
# Positions <p class="description">Use these shorthand utilities for quickly configuring the position of an element.</p> ## z-index {{"demo": "ZIndex.js", "defaultCodeOpen": false, "bg": true}} ```jsx <Box sx={{ zIndex: 'tooltip' }}> <Box sx={{ zIndex: 'modal' }}> ``` ## API ```js import { positions } from '@mui/...
3,913
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/properties/properties.md
# Properties <p class="description">This API page lists all the custom MUI System properties, how they are linked with the theme, and which CSS properties they compute.</p> While this page documents the custom properties, MUI System was designed to be a superset of CSS, so all other regular CSS properties and selecto...
3,914
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/screen-readers/VisuallyHiddenUsage.js
import * as React from 'react'; import Link from '@mui/material/Link'; import Box from '@mui/material/Box'; import { visuallyHidden } from '@mui/utils'; export default function VisuallyHiddenUsage() { return ( <Link href="#foo"> Read more {/* always visually hidden because the parent is focusable ele...
3,915
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/screen-readers/VisuallyHiddenUsage.tsx
import * as React from 'react'; import Link from '@mui/material/Link'; import Box from '@mui/material/Box'; import { visuallyHidden } from '@mui/utils'; export default function VisuallyHiddenUsage() { return ( <Link href="#foo"> Read more {/* always visually hidden because the parent is focusable ele...
3,916
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/screen-readers/VisuallyHiddenUsage.tsx.preview
<Link href="#foo"> Read more {/* always visually hidden because the parent is focusable element */} <Box sx={visuallyHidden}>about how to visually hide elements</Box> </Link>
3,917
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/screen-readers/screen-readers.md
# Screen readers <p class="description">Collection of utilities for improving accessibility with screen readers.</p> ## Visually hidden elements The visually hidden style utility provides a common mechanism for hidings elements visually, but making them available for assistive technology. It's a simple style object ...
3,918
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/shadows/ShadowsDemo.js
import * as React from 'react'; import Grid from '@mui/material/Grid'; import Box from '@mui/material/Box'; export default function ShadowsDemo() { return ( <Grid container> <Box sx={{ boxShadow: 0, width: '8rem', height: '5rem', bgcolor: (theme) => (theme.pa...
3,919
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/shadows/ShadowsDemo.tsx
import * as React from 'react'; import Grid from '@mui/material/Grid'; import Box from '@mui/material/Box'; export default function ShadowsDemo() { return ( <Grid container> <Box sx={{ boxShadow: 0, width: '8rem', height: '5rem', bgcolor: (theme) => (theme.pa...
3,920
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/shadows/shadows.md
# Shadows <p class="description">Add or remove shadows to elements with box-shadow utilities.</p> ## Example The helpers allow you to control relative depth, or distance, between two surfaces along the z-axis. By default, there are 25 elevation levels. {{"demo": "ShadowsDemo.js", "defaultCodeOpen": false, "bg": tru...
3,921
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/sizing/Height.js
import * as React from 'react'; import Box from '@mui/material/Box'; export default function Height() { return ( <Box sx={{ height: 100, width: '100%' }}> <Box sx={{ height: '25%', width: 120, display: 'inline-block', p: 1, mx: 1, bgcolor:...
3,922
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/sizing/Height.tsx
import * as React from 'react'; import Box from '@mui/material/Box'; export default function Height() { return ( <Box sx={{ height: 100, width: '100%' }}> <Box sx={{ height: '25%', width: 120, display: 'inline-block', p: 1, mx: 1, bgcolor:...
3,923
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/sizing/Values.js
import * as React from 'react'; import Box from '@mui/material/Box'; export default function Values() { return ( <Box sx={{ width: '100%' }}> <Box sx={{ width: 1 / 4, p: 1, bgcolor: (theme) => theme.palette.mode === 'dark' ? '#101010' : 'grey.100', ...
3,924
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/sizing/Values.tsx
import * as React from 'react'; import Box from '@mui/material/Box'; export default function Values() { return ( <Box sx={{ width: '100%' }}> <Box sx={{ width: 1 / 4, p: 1, bgcolor: (theme) => theme.palette.mode === 'dark' ? '#101010' : 'grey.100', ...
3,925
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/sizing/Width.js
import * as React from 'react'; import Box from '@mui/material/Box'; export default function Width() { return ( <Box sx={{ width: '100%' }}> <Box sx={{ width: '25%', p: 1, bgcolor: (theme) => theme.palette.mode === 'dark' ? '#101010' : 'grey.100', ...
3,926
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/sizing/Width.tsx
import * as React from 'react'; import Box from '@mui/material/Box'; export default function Width() { return ( <Box sx={{ width: '100%' }}> <Box sx={{ width: '25%', p: 1, bgcolor: (theme) => theme.palette.mode === 'dark' ? '#101010' : 'grey.100', ...
3,927
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/sizing/sizing.md
# Sizing <p class="description">Easily make an element as wide or as tall (relative to its parent) with the width and height utilities.</p> ## Supported values The sizing properties: `width`, `height`, `minHeight`, `maxHeight`, `minWidth`, and `maxWidth` are using the following custom transform function for the valu...
3,928
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/spacing/HorizontalCentering.js
import * as React from 'react'; import Box from '@mui/material/Box'; export default function HorizontalCentering() { return ( <div> <Box sx={{ mx: 'auto', width: 200, p: 1, m: 1, bgcolor: (theme) => theme.palette.mode === 'dark' ? '#1010...
3,929
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/spacing/HorizontalCentering.tsx
import * as React from 'react'; import Box from '@mui/material/Box'; export default function HorizontalCentering() { return ( <div> <Box sx={{ mx: 'auto', width: 200, p: 1, m: 1, bgcolor: (theme) => theme.palette.mode === 'dark' ? '#1010...
3,930
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/spacing/SpacingDemo.js
import * as React from 'react'; import Box from '@mui/material/Box'; export default function SpacingDemo() { return ( <div> <Box sx={{ p: 1, bgcolor: (theme) => theme.palette.mode === 'dark' ? '#101010' : 'grey.50', color: (theme) => theme.palet...
3,931
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/spacing/SpacingDemo.tsx
import * as React from 'react'; import Box from '@mui/material/Box'; export default function SpacingDemo() { return ( <div> <Box sx={{ p: 1, bgcolor: (theme) => theme.palette.mode === 'dark' ? '#101010' : 'grey.50', color: (theme) => theme.palet...
3,932
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/spacing/spacing.md
# Spacing <p class="description">A wide range of shorthand responsive margin and padding utility classes to modify an element's appearance.</p> ## Notation The space utility converts shorthand margin and padding props to margin and padding CSS declarations. The props are named using the format `{property}{sides}`. ...
3,933
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/styled/BasicUsage.js
import * as React from 'react'; import { styled } from '@mui/system'; const MyComponent = styled('div')({ color: 'darkslategray', backgroundColor: 'aliceblue', padding: 8, borderRadius: 4, }); export default function BasicUsage() { return <MyComponent>Styled div</MyComponent>; }
3,934
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/styled/BasicUsage.tsx
import * as React from 'react'; import { styled } from '@mui/system'; const MyComponent = styled('div')({ color: 'darkslategray', backgroundColor: 'aliceblue', padding: 8, borderRadius: 4, }); export default function BasicUsage() { return <MyComponent>Styled div</MyComponent>; }
3,935
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/styled/BasicUsage.tsx.preview
<MyComponent>Styled div</MyComponent>
3,936
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/styled/ThemeUsage.js
import * as React from 'react'; import { styled, createTheme, ThemeProvider } from '@mui/system'; const customTheme = createTheme({ palette: { primary: { main: '#1976d2', contrastText: 'white', }, }, }); const MyThemeComponent = styled('div')(({ theme }) => ({ color: theme.palette.primary.co...
3,937
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/styled/ThemeUsage.tsx
import * as React from 'react'; import { styled, createTheme, ThemeProvider } from '@mui/system'; const customTheme = createTheme({ palette: { primary: { main: '#1976d2', contrastText: 'white', }, }, }); const MyThemeComponent = styled('div')(({ theme }) => ({ color: theme.palette.primary.co...
3,938
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/styled/ThemeUsage.tsx.preview
<ThemeProvider theme={customTheme}> <MyThemeComponent>Styled div with theme</MyThemeComponent> </ThemeProvider>
3,939
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/styled/UsingOptions.js
import * as React from 'react'; import { styled, createTheme, ThemeProvider } from '@mui/system'; const customTheme = createTheme({ components: { MyThemeComponent: { styleOverrides: { root: { color: 'darkslategray', }, primary: { color: 'darkblue', }, ...
3,940
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/styled/UsingOptions.tsx
import * as React from 'react'; import { styled, createTheme, ThemeProvider } from '@mui/system'; interface MyThemeComponentProps { color?: 'primary' | 'secondary'; variant?: 'normal' | 'dashed'; } const customTheme = createTheme({ components: { MyThemeComponent: { styleOverrides: { root: { ...
3,941
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/styled/UsingOptions.tsx.preview
<ThemeProvider theme={customTheme}> <MyThemeComponent sx={{ m: 1 }} color="primary" variant="dashed"> Primary </MyThemeComponent> <MyThemeComponent sx={{ m: 1 }} color="secondary"> Secondary </MyThemeComponent> </ThemeProvider>
3,942
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/styled/UsingWithSx.js
import * as React from 'react'; import { styled, createTheme, ThemeProvider } from '@mui/system'; const customTheme = createTheme({ palette: { primary: { main: '#1976d2', contrastText: 'white', }, }, }); const MyThemeComponent = styled('div')(({ theme }) => theme.unstable_sx({ color: 'pr...
3,943
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/styled/UsingWithSx.tsx
import * as React from 'react'; import { styled, createTheme, ThemeProvider } from '@mui/system'; const customTheme = createTheme({ palette: { primary: { main: '#1976d2', contrastText: 'white', }, }, }); const MyThemeComponent = styled('div')(({ theme }) => theme.unstable_sx({ color: 'pr...
3,944
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/styled/UsingWithSx.tsx.preview
<ThemeProvider theme={customTheme}> <MyThemeComponent>Styled div with theme</MyThemeComponent> </ThemeProvider>
3,945
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/styled/styled.md
# `styled()` <p class="description">Utility for creating styled components.</p> ## Introduction All MUI components are styled with the `styled()` utility. This utility is built on top of the `styled()` module of `@mui/styled-engine`and provides additional features. ### Import path You can use the utility coming fr...
3,946
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/typography/FontFamily.js
import * as React from 'react'; import Typography from '@mui/material/Typography'; import Box from '@mui/material/Box'; export default function FontFamily() { return ( <Typography component="div"> <Box sx={{ fontFamily: 'default', m: 1 }}>Default</Box> <Box sx={{ fontFamily: 'Monospace', fontSize: 'h...
3,947
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/typography/FontFamily.tsx
import * as React from 'react'; import Typography from '@mui/material/Typography'; import Box from '@mui/material/Box'; export default function FontFamily() { return ( <Typography component="div"> <Box sx={{ fontFamily: 'default', m: 1 }}>Default</Box> <Box sx={{ fontFamily: 'Monospace', fontSize: 'h...
3,948
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/typography/FontFamily.tsx.preview
<Typography component="div"> <Box sx={{ fontFamily: 'default', m: 1 }}>Default</Box> <Box sx={{ fontFamily: 'Monospace', fontSize: 'h6.fontSize', m: 1 }}> Monospace </Box> </Typography>
3,949
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/typography/FontSize.js
import * as React from 'react'; import Typography from '@mui/material/Typography'; import Box from '@mui/material/Box'; export default function FontSize() { return ( <Typography component="div"> <Box sx={{ fontSize: 'default', m: 1 }}>Default</Box> <Box sx={{ fontSize: 'h6.fontSize', m: 1 }}>h6.fontS...
3,950
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/typography/FontSize.tsx
import * as React from 'react'; import Typography from '@mui/material/Typography'; import Box from '@mui/material/Box'; export default function FontSize() { return ( <Typography component="div"> <Box sx={{ fontSize: 'default', m: 1 }}>Default</Box> <Box sx={{ fontSize: 'h6.fontSize', m: 1 }}>h6.fontS...
3,951
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/typography/FontSize.tsx.preview
<Typography component="div"> <Box sx={{ fontSize: 'default', m: 1 }}>Default</Box> <Box sx={{ fontSize: 'h6.fontSize', m: 1 }}>h6.fontSize</Box> <Box sx={{ fontSize: 16, m: 1 }}>16px</Box> </Typography>
3,952
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/typography/FontStyle.js
import * as React from 'react'; import Typography from '@mui/material/Typography'; import Box from '@mui/material/Box'; export default function FontStyle() { return ( <Typography component="div"> <Box sx={{ fontStyle: 'normal', m: 1 }}>Normal font style.</Box> <Box sx={{ fontStyle: 'italic', m: 1 }}>...
3,953
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/typography/FontStyle.tsx
import * as React from 'react'; import Typography from '@mui/material/Typography'; import Box from '@mui/material/Box'; export default function FontStyle() { return ( <Typography component="div"> <Box sx={{ fontStyle: 'normal', m: 1 }}>Normal font style.</Box> <Box sx={{ fontStyle: 'italic', m: 1 }}>...
3,954
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/typography/FontStyle.tsx.preview
<Typography component="div"> <Box sx={{ fontStyle: 'normal', m: 1 }}>Normal font style.</Box> <Box sx={{ fontStyle: 'italic', m: 1 }}>Italic font Style.</Box> <Box sx={{ fontStyle: 'oblique', m: 1 }}>Oblique font style.</Box> </Typography>
3,955
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/typography/FontWeight.js
import * as React from 'react'; import Typography from '@mui/material/Typography'; import Box from '@mui/material/Box'; export default function FontWeight() { return ( <Typography component="div"> <Box sx={{ fontWeight: 'light', m: 1 }}>Light</Box> <Box sx={{ fontWeight: 'regular', m: 1 }}>Regular</B...
3,956
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/typography/FontWeight.tsx
import * as React from 'react'; import Typography from '@mui/material/Typography'; import Box from '@mui/material/Box'; export default function FontWeight() { return ( <Typography component="div"> <Box sx={{ fontWeight: 'light', m: 1 }}>Light</Box> <Box sx={{ fontWeight: 'regular', m: 1 }}>Regular</B...
3,957
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/typography/FontWeight.tsx.preview
<Typography component="div"> <Box sx={{ fontWeight: 'light', m: 1 }}>Light</Box> <Box sx={{ fontWeight: 'regular', m: 1 }}>Regular</Box> <Box sx={{ fontWeight: 'medium', m: 1 }}>Medium</Box> <Box sx={{ fontWeight: 500, m: 1 }}>500</Box> <Box sx={{ fontWeight: 'bold', m: 1 }}>Bold</Box> </Typography>
3,958
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/typography/LetterSpacing.js
import * as React from 'react'; import Typography from '@mui/material/Typography'; import Box from '@mui/material/Box'; export default function LetterSpacing() { return ( <Typography component="div"> <Box sx={{ letterSpacing: 6, m: 1 }}>Letter Spacing 6px.</Box> <Box sx={{ letterSpacing: 10, m: 1 }}>...
3,959
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/typography/LetterSpacing.tsx
import * as React from 'react'; import Typography from '@mui/material/Typography'; import Box from '@mui/material/Box'; export default function LetterSpacing() { return ( <Typography component="div"> <Box sx={{ letterSpacing: 6, m: 1 }}>Letter Spacing 6px.</Box> <Box sx={{ letterSpacing: 10, m: 1 }}>...
3,960
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/typography/LetterSpacing.tsx.preview
<Typography component="div"> <Box sx={{ letterSpacing: 6, m: 1 }}>Letter Spacing 6px.</Box> <Box sx={{ letterSpacing: 10, m: 1 }}>Letter Spacing 10px.</Box> </Typography>
3,961
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/typography/LineHeight.js
import * as React from 'react'; import Typography from '@mui/material/Typography'; import Box from '@mui/material/Box'; export default function LineHeight() { return ( <Typography component="div"> <Box sx={{ lineHeight: 'normal', m: 1 }}>Normal height.</Box> <Box sx={{ lineHeight: 2, m: 1 }}>line-hei...
3,962
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/typography/LineHeight.tsx
import * as React from 'react'; import Typography from '@mui/material/Typography'; import Box from '@mui/material/Box'; export default function LineHeight() { return ( <Typography component="div"> <Box sx={{ lineHeight: 'normal', m: 1 }}>Normal height.</Box> <Box sx={{ lineHeight: 2, m: 1 }}>line-hei...
3,963
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/typography/LineHeight.tsx.preview
<Typography component="div"> <Box sx={{ lineHeight: 'normal', m: 1 }}>Normal height.</Box> <Box sx={{ lineHeight: 2, m: 1 }}>line-height: 2</Box> </Typography>
3,964
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/typography/TextAlignment.js
import * as React from 'react'; import Typography from '@mui/material/Typography'; import Box from '@mui/material/Box'; export default function TextAlignment() { return ( <Typography component="div"> <Box sx={{ textAlign: 'justify', m: 1 }}> Ambitioni dedisse scripsisse iudicaretur. Cras mattis iud...
3,965
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/typography/TextAlignment.tsx
import * as React from 'react'; import Typography from '@mui/material/Typography'; import Box from '@mui/material/Box'; export default function TextAlignment() { return ( <Typography component="div"> <Box sx={{ textAlign: 'justify', m: 1 }}> Ambitioni dedisse scripsisse iudicaretur. Cras mattis iud...
3,966
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/typography/TextAlignment.tsx.preview
<Typography component="div"> <Box sx={{ textAlign: 'justify', m: 1 }}> Ambitioni dedisse scripsisse iudicaretur. Cras mattis iudicium purus sit amet fermentum. Donec sed odio operae, eu vulputate felis rhoncus. </Box> <Box sx={{ textAlign: 'left', m: 1 }}>Left aligned text.</Box> <Box sx={{ textAlign: '...
3,967
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/typography/TextTransform.js
import * as React from 'react'; import Typography from '@mui/material/Typography'; import Box from '@mui/material/Box'; export default function TextTransform() { return ( <Typography component="div"> <Box sx={{ textTransform: 'capitalize', m: 1 }}>capitalized text.</Box> <Box sx={{ textTransform: 'lo...
3,968
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/typography/TextTransform.tsx
import * as React from 'react'; import Typography from '@mui/material/Typography'; import Box from '@mui/material/Box'; export default function TextTransform() { return ( <Typography component="div"> <Box sx={{ textTransform: 'capitalize', m: 1 }}>capitalized text.</Box> <Box sx={{ textTransform: 'lo...
3,969
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/typography/TextTransform.tsx.preview
<Typography component="div"> <Box sx={{ textTransform: 'capitalize', m: 1 }}>capitalized text.</Box> <Box sx={{ textTransform: 'lowercase', m: 1 }}>Lowercase Text.</Box> <Box sx={{ textTransform: 'uppercase', m: 1 }}>Uppercase Text.</Box> </Typography>
3,970
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/typography/Variant.js
import * as React from 'react'; import Box from '@mui/material/Box'; export default function Variant() { return ( <div> <Box sx={{ typography: 'subtitle2' }}>subtitle2</Box> <Box sx={{ typography: 'body1' }}>body1</Box> <Box sx={{ typography: 'body2' }}>body2</Box> </div> ); }
3,971
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/typography/Variant.tsx
import * as React from 'react'; import Box from '@mui/material/Box'; export default function Variant() { return ( <div> <Box sx={{ typography: 'subtitle2' }}>subtitle2</Box> <Box sx={{ typography: 'body1' }}>body1</Box> <Box sx={{ typography: 'body2' }}>body2</Box> </div> ); }
3,972
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/typography/Variant.tsx.preview
<Box sx={{ typography: 'subtitle2' }}>subtitle2</Box> <Box sx={{ typography: 'body1' }}>body1</Box> <Box sx={{ typography: 'body2' }}>body2</Box>
3,973
0
petrpan-code/mui/material-ui/docs/data/system
petrpan-code/mui/material-ui/docs/data/system/typography/typography.md
# Typography <p class="description">Documentation and examples for common text utilities to control alignment, wrapping, weight, and more.</p> ## Variant {{"demo": "Variant.js", "defaultCodeOpen": false}} ```jsx <Box sx={{ typography: 'subtitle2' }}>… // theme.typography.subtitle2 <Box sx={{ typography: 'body1' }}>...
3,974
0
petrpan-code/mui/material-ui/docs
petrpan-code/mui/material-ui/docs/lib/sourcing.ts
import fs from 'fs'; import path from 'path'; import { getHeaders } from '@mui/markdown'; const blogDir = path.join(process.cwd(), 'pages/blog'); export const getBlogFilePaths = (ext = '.md') => { return fs.readdirSync(blogDir).filter((file) => file.endsWith(ext)); }; export interface BlogPost { slug: string; ...
3,975
0
petrpan-code/mui/material-ui/docs
petrpan-code/mui/material-ui/docs/pages/_app.js
import 'docs/src/modules/components/bootstrap'; // --- Post bootstrap ----- import * as React from 'react'; import { loadCSS } from 'fg-loadcss/src/loadCSS'; import NextHead from 'next/head'; import PropTypes from 'prop-types'; import { useRouter } from 'next/router'; import { LicenseInfo } from '@mui/x-data-grid-pro';...
3,976
0
petrpan-code/mui/material-ui/docs
petrpan-code/mui/material-ui/docs/pages/_document.js
import * as React from 'react'; import Script from 'next/script'; import { ServerStyleSheets as JSSServerStyleSheets } from '@mui/styles'; import { ServerStyleSheet } from 'styled-components'; import createEmotionServer from '@emotion/server/create-instance'; import Document, { Html, Head, Main, NextScript } from 'next...
3,977
0
petrpan-code/mui/material-ui/docs
petrpan-code/mui/material-ui/docs/pages/about.tsx
import * as React from 'react'; import Divider from '@mui/material/Divider'; import AppHeader from 'docs/src/layouts/AppHeader'; import AppFooter from 'docs/src/layouts/AppFooter'; import AboutHero from 'docs/src/components/about/AboutHero'; import OurValues from 'docs/src/components/about/OurValues'; import Team from ...
3,978
0
petrpan-code/mui/material-ui/docs
petrpan-code/mui/material-ui/docs/pages/base-theme.css
:root { --cyan-50: #e9f9fc; --cyan-100: #c1ecf4; --cyan-200: #99dae5; --cyan-300: #66bbca; --cyan-400: #1f91a5; --cyan-500: #0d535f; --cyan-600: #094651; --cyan-700: #063b44; --cyan-800: #042f37; --cyan-900: #022126; --grey-50: #f3f6f9; --grey-100: #e5eaf2; --grey-200: #dae2ed; --grey-300: ...
3,979
0
petrpan-code/mui/material-ui/docs
petrpan-code/mui/material-ui/docs/pages/base-ui.tsx
import * as React from 'react'; import Divider from '@mui/material/Divider'; import Head from 'docs/src/modules/components/Head'; import BrandingCssVarsProvider from 'docs/src/BrandingCssVarsProvider'; import AppHeader from 'docs/src/layouts/AppHeader'; import AppFooter from 'docs/src/layouts/AppFooter'; import AppHead...
3,980
0
petrpan-code/mui/material-ui/docs
petrpan-code/mui/material-ui/docs/pages/blog.tsx
import * as React from 'react'; import { InferGetStaticPropsType } from 'next'; import { useRouter } from 'next/router'; import { alpha } from '@mui/material/styles'; import Avatar from '@mui/material/Avatar'; import AvatarGroup from '@mui/material/AvatarGroup'; import Box from '@mui/material/Box'; import Container fro...
3,981
0
petrpan-code/mui/material-ui/docs
petrpan-code/mui/material-ui/docs/pages/careers.tsx
import * as React from 'react'; import { styled } from '@mui/material/styles'; import Box from '@mui/material/Box'; import Divider from '@mui/material/Divider'; import Grid from '@mui/material/Grid'; import Stack from '@mui/material/Stack'; import Paper from '@mui/material/Paper'; import Button from '@mui/material/Butt...
3,982
0
petrpan-code/mui/material-ui/docs
petrpan-code/mui/material-ui/docs/pages/components.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 Typography from '@mui/material/Typography'; import Divider from '@mui/material/Divider'; import Key...
3,983
0
petrpan-code/mui/material-ui/docs
petrpan-code/mui/material-ui/docs/pages/core.tsx
import * as React from 'react'; import Divider from '@mui/material/Divider'; import Head from 'docs/src/modules/components/Head'; import BrandingCssVarsProvider from 'docs/src/BrandingCssVarsProvider'; import AppHeader from 'docs/src/layouts/AppHeader'; import CoreHero from 'docs/src/components/productCore/CoreHero'; i...
3,984
0
petrpan-code/mui/material-ui/docs
petrpan-code/mui/material-ui/docs/pages/design-kits.tsx
import * as React from 'react'; import Divider from '@mui/material/Divider'; import Head from 'docs/src/modules/components/Head'; import AppHeader from 'docs/src/layouts/AppHeader'; import AppFooter from 'docs/src/layouts/AppFooter'; import DesignKitHero from 'docs/src/components/productDesignKit/DesignKitHero'; import...
3,985
0
petrpan-code/mui/material-ui/docs
petrpan-code/mui/material-ui/docs/pages/global.css
@tailwind base; @tailwind components; @tailwind utilities;
3,986
0
petrpan-code/mui/material-ui/docs
petrpan-code/mui/material-ui/docs/pages/index.tsx
import * as React from 'react'; import NoSsr from '@mui/material/NoSsr'; import Divider from '@mui/material/Divider'; import Head from 'docs/src/modules/components/Head'; import AppHeader from 'docs/src/layouts/AppHeader'; import Hero from 'docs/src/components/home/Hero'; import References, { CORE_CUSTOMERS } from 'doc...
3,987
0
petrpan-code/mui/material-ui/docs
petrpan-code/mui/material-ui/docs/pages/material-ui.tsx
import * as React from 'react'; import Divider from '@mui/material/Divider'; import Head from 'docs/src/modules/components/Head'; import BrandingCssVarsProvider from 'docs/src/BrandingCssVarsProvider'; import AppHeader from 'docs/src/layouts/AppHeader'; import MaterialHero from 'docs/src/components/productMaterial/Mate...
3,988
0
petrpan-code/mui/material-ui/docs
petrpan-code/mui/material-ui/docs/pages/pricing.tsx
import * as React from 'react'; import Container from '@mui/material/Container'; import Divider from '@mui/material/Divider'; import Head from 'docs/src/modules/components/Head'; import AppHeader from 'docs/src/layouts/AppHeader'; import HeroPricing from 'docs/src/components/pricing/HeroPricing'; import PricingTable fr...
3,989
0
petrpan-code/mui/material-ui/docs
petrpan-code/mui/material-ui/docs/pages/production-error.js
import * as React from 'react'; import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs'; import * as pageProps from 'docs/src/pages/production-error/index.md?@mui/markdown'; export default function Page() { return <MarkdownDocs {...pageProps} disableAd />; }
3,990
0
petrpan-code/mui/material-ui/docs
petrpan-code/mui/material-ui/docs/pages/templates.tsx
import * as React from 'react'; import Divider from '@mui/material/Divider'; import Head from 'docs/src/modules/components/Head'; import AppHeader from 'docs/src/layouts/AppHeader'; import AppFooter from 'docs/src/layouts/AppFooter'; import TemplateHero from 'docs/src/components/productTemplate/TemplateHero'; import Va...
3,991
0
petrpan-code/mui/material-ui/docs
petrpan-code/mui/material-ui/docs/pages/versions.js
import * as React from 'react'; import sortedUniqBy from 'lodash/sortedUniqBy'; import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs'; import VersionsContext from 'docs/src/pages/versions/VersionsContext'; import * as pageProps from 'docs/src/pages/versions/versions.md?@mui/markdown'; export default func...
3,992
0
petrpan-code/mui/material-ui/docs
petrpan-code/mui/material-ui/docs/pages/x.tsx
import * as React from 'react'; import Divider from '@mui/material/Divider'; import Head from 'docs/src/modules/components/Head'; import BrandingCssVarsProvider from 'docs/src/BrandingCssVarsProvider'; import AppHeader from 'docs/src/layouts/AppHeader'; import XHero from 'docs/src/components/productX/XHero'; import XCo...
3,993
0
petrpan-code/mui/material-ui/docs/pages/base-ui
petrpan-code/mui/material-ui/docs/pages/base-ui/all-components/index.js
import * as React from 'react'; import MarkdownDocs from 'docs/src/modules/components/MarkdownDocsV2'; import AppFrame from 'docs/src/modules/components/AppFrame'; import * as pageProps from 'docs/data/base/all-components/all-components.md?@mui/markdown'; export default function Page() { return <MarkdownDocs {...pag...
3,994
0
petrpan-code/mui/material-ui/docs/pages/base-ui
petrpan-code/mui/material-ui/docs/pages/base-ui/api/badge.json
{ "props": { "badgeContent": { "type": { "name": "node" } }, "children": { "type": { "name": "node" } }, "invisible": { "type": { "name": "bool" }, "default": "false" }, "max": { "type": { "name": "number" }, "default": "99" }, "showZero": { "type": { "name": "bool" }, "default": "false" }, "s...
3,995
0
petrpan-code/mui/material-ui/docs/pages/base-ui
petrpan-code/mui/material-ui/docs/pages/base-ui/api/button.json
{ "props": { "action": { "type": { "name": "union", "description": "func<br>&#124;&nbsp;{ current?: { focusVisible: func } }" } }, "disabled": { "type": { "name": "bool" }, "default": "false" }, "focusableWhenDisabled": { "type": { "name": "bool" }, "default": "false" }, ...
3,996
0
petrpan-code/mui/material-ui/docs/pages/base-ui
petrpan-code/mui/material-ui/docs/pages/base-ui/api/click-away-listener.json
{ "props": { "children": { "type": { "name": "custom", "description": "element" }, "required": true }, "onClickAway": { "type": { "name": "func" }, "required": true }, "disableReactTree": { "type": { "name": "bool" }, "default": "false" }, "mouseEvent": { "type": { "name": "enum", ...
3,997
0
petrpan-code/mui/material-ui/docs/pages/base-ui
petrpan-code/mui/material-ui/docs/pages/base-ui/api/dropdown.json
{ "props": { "defaultOpen": { "type": { "name": "bool" } }, "onOpenChange": { "type": { "name": "func" } }, "open": { "type": { "name": "bool" } } }, "name": "Dropdown", "imports": [ "import { Dropdown } from '@mui/base/Dropdown';", "import { Dropdown } from '@mui/base';" ], "styles": { ...
3,998
0
petrpan-code/mui/material-ui/docs/pages/base-ui
petrpan-code/mui/material-ui/docs/pages/base-ui/api/focus-trap.json
{ "props": { "open": { "type": { "name": "bool" }, "required": true }, "children": { "type": { "name": "custom", "description": "element" } }, "disableAutoFocus": { "type": { "name": "bool" }, "default": "false" }, "disableEnforceFocus": { "type": { "name": "bool" }, "default": "false" }, "disable...
3,999