Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Joy] Apply color inversion to components #34602

Merged
merged 294 commits into from
Dec 23, 2022
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
294 commits
Select commit Hold shift + click to select a range
dc33b55
add context color to ownerState types
siriwatknp Oct 23, 2022
e06ae9e
update AlertOwnerState
siriwatknp Oct 23, 2022
efae2a8
update AspectRatioOwnerState
siriwatknp Oct 23, 2022
b134f6c
update AvatarOwnerState
siriwatknp Oct 23, 2022
afe726b
update BadgeOwnerState
siriwatknp Oct 23, 2022
a29810e
update ButtonOwnerState
siriwatknp Oct 23, 2022
40b151f
update CardOwnerState
siriwatknp Oct 23, 2022
b87a42f
update CardOverflowOwnerState
siriwatknp Oct 23, 2022
2a475a2
update CheckboxOwnerState
siriwatknp Oct 23, 2022
030fd22
update ChipOwnerState
siriwatknp Oct 23, 2022
646f999
update ChipDeleteOwnerState
siriwatknp Oct 23, 2022
cef859a
update CircularOwnerState
siriwatknp Oct 23, 2022
fbf8ade
update IconButtonOwnerState
siriwatknp Oct 23, 2022
9396528
remove textOverride tokens
siriwatknp Oct 23, 2022
16df92c
update InputOwnerState
siriwatknp Oct 23, 2022
7954c23
update LinkOwnerState
siriwatknp Oct 23, 2022
83b47f4
update ListOwnerState
siriwatknp Oct 23, 2022
ee4eb7e
update ListItemOwnerState
siriwatknp Oct 23, 2022
1e1e598
update ListItemButtonOwnerState
siriwatknp Oct 23, 2022
a780499
update ListSubheaderOwnerState
siriwatknp Oct 23, 2022
e21975d
update MenuOwnerState
siriwatknp Oct 23, 2022
7b50ae9
update MenuItemOwnerState
siriwatknp Oct 23, 2022
c66d0cb
update MenuListOwnerState
siriwatknp Oct 23, 2022
63685cc
update ModalCloseOwnerState
siriwatknp Oct 23, 2022
8a4447a
update ModalDialog and Sheet ownerState
siriwatknp Oct 23, 2022
9ccd928
update RadioOwnerState
siriwatknp Oct 23, 2022
c984fb0
update Select and Option ownerState
siriwatknp Oct 23, 2022
3e428fc
update SliderOwnerState
siriwatknp Oct 23, 2022
71af93e
upate SvgIconOwnerState
siriwatknp Oct 23, 2022
e86b942
update SwitchOwnerState
siriwatknp Oct 23, 2022
9b10f9a
update TabOwnerState
siriwatknp Oct 23, 2022
cd875d7
update TabListOwnerState
siriwatknp Oct 23, 2022
a17bcfa
update TabsOwnerState
siriwatknp Oct 23, 2022
eacc2d6
update TextareaOwnerState
siriwatknp Oct 23, 2022
bdebc0c
update TypographyOwnerState
siriwatknp Oct 23, 2022
ebbff7d
update types
siriwatknp Oct 23, 2022
b119163
add popup token inversion
siriwatknp Oct 23, 2022
2caf8cd
update color-inversion page
siriwatknp Oct 23, 2022
07caf01
Merge branch 'master' of https://github.com/mui/material-ui into joy/…
siriwatknp Oct 26, 2022
f5ca8e1
restore versions
siriwatknp Oct 26, 2022
322cccb
update experiment page
siriwatknp Oct 27, 2022
e60a9a9
update warning solid color inversion
siriwatknp Oct 28, 2022
bcc5f21
remove instance color
siriwatknp Oct 28, 2022
28b5399
update color
siriwatknp Oct 29, 2022
6301464
adjust color inversion tokens
siriwatknp Oct 29, 2022
b9ec8cd
Merge branch 'master' of https://github.com/mui/material-ui into joy/…
siriwatknp Oct 30, 2022
31c84bf
init color inversion doc
siriwatknp Oct 30, 2022
9b8b2cd
Merge branch 'master' of https://github.com/mui/material-ui into joy/…
siriwatknp Nov 9, 2022
f171a5c
fix merge conflict
siriwatknp Nov 10, 2022
ddbe299
Merge branch 'master' of https://github.com/mui/material-ui into joy/…
siriwatknp Nov 15, 2022
c9198c0
Merge branch 'master' of https://github.com/mui/material-ui into joy/…
siriwatknp Nov 15, 2022
944fb1a
add color inversion to Autocomplete
siriwatknp Nov 15, 2022
d340b5f
fix variables
siriwatknp Nov 15, 2022
c0c02c3
use raw shadow for overrides
siriwatknp Nov 15, 2022
ccbf722
use background.popup
siriwatknp Nov 16, 2022
7663d50
add example
siriwatknp Nov 16, 2022
71f11d1
add SideNavigation example
siriwatknp Nov 16, 2022
fcf7019
add marketing example
siriwatknp Nov 16, 2022
be73f79
update colors
siriwatknp Nov 16, 2022
8c6dc80
Merge branch 'master' of https://github.com/mui/material-ui into joy/…
siriwatknp Nov 17, 2022
694d9ef
adjust colors
siriwatknp Nov 17, 2022
ceb972a
add more components to example
siriwatknp Nov 17, 2022
b350534
able to change between colors
siriwatknp Nov 17, 2022
9f30ce8
update content
siriwatknp Nov 18, 2022
ee3091f
use getBy for better DX
siriwatknp Nov 18, 2022
ae5629c
move Material UI components test
siriwatknp Nov 18, 2022
52df009
fix Alert
siriwatknp Nov 18, 2022
397c96d
update conformance
siriwatknp Nov 18, 2022
842cf9b
Revert "use getBy for better DX"
siriwatknp Nov 18, 2022
fc8a694
update Autocomplete
siriwatknp Nov 18, 2022
3fa5754
fix AvatarGroup
siriwatknp Nov 18, 2022
3a6b30a
rename to components
siriwatknp Nov 18, 2022
a0771dd
Merge branch 'master' of https://github.com/mui/material-ui into joy/…
siriwatknp Nov 21, 2022
e14e4fb
add comment
siriwatknp Nov 21, 2022
bd95b34
fix misused variables
siriwatknp Nov 21, 2022
1005da0
remove outdated tests
siriwatknp Nov 21, 2022
97713b2
add comment
siriwatknp Nov 21, 2022
5585d42
fix pagination tests
siriwatknp Nov 21, 2022
ecbdb3d
mark components and slots as optional
siriwatknp Nov 21, 2022
b56ab74
[CircularProgress] Apply useSlot()
hbjORbj Oct 31, 2022
063d2e7
Apply useSlot to LinearProgress
hbjORbj Nov 1, 2022
a68cac3
Apply useSlot to Chip
hbjORbj Nov 1, 2022
74e63a3
Apply useSlot to ChipDelete
hbjORbj Nov 1, 2022
4ae13c3
[Chip] Add optional component prop to each slot in ComponentsProps
hbjORbj Nov 1, 2022
bc5b30b
[Tooltip] Improve the typing of components and componentsProps
hbjORbj Nov 1, 2022
c8bd681
Apply useSlot to Tooltip
hbjORbj Nov 1, 2022
ddec72d
[Chip, CircularProgress] Add components prop to API docs
hbjORbj Nov 1, 2022
69da1d6
[ChipDelete, LinearProgress] Keep API doc for component
hbjORbj Nov 1, 2022
3b30500
[Chip, ChipDelete, LinearProgress, CircularProgress] Ensure API doc o…
hbjORbj Nov 1, 2022
109fa4a
Apply useSlot to Avatar and pass className prop to the root
hbjORbj Nov 1, 2022
ea89935
[SvgIcon] Remove classes prop and apply useSlot
hbjORbj Nov 1, 2022
9aa71e8
[Slider] Add input class and apply useSlot
hbjORbj Nov 1, 2022
6b457e2
[SvgIcon] Remove classes prop from API doc
hbjORbj Nov 1, 2022
2e2266f
[Slider] Add components prop
hbjORbj Nov 1, 2022
ae7c289
Rename componentsProps to slotProps and components to slots
hbjORbj Nov 2, 2022
4387e71
Apply useSlot to more components & Rename components to slots, compon…
hbjORbj Nov 2, 2022
0005956
Fix Joy useSlot() test
hbjORbj Nov 2, 2022
9343bce
Apple useSlot to more components
hbjORbj Nov 3, 2022
dbe766d
Apply useSlot, add slots prop, rename componentsProps to slotProps fo…
hbjORbj Nov 5, 2022
0fd81f0
Replace componentsProps with slotProps in all Joy demos
hbjORbj Nov 7, 2022
415e9c0
Replace components with slots in all Joy demos
hbjORbj Nov 7, 2022
39f01a6
Add startDecorator and endDecorator classes to Alert
hbjORbj Nov 7, 2022
5ffc2f3
Test slots of Alert
hbjORbj Nov 7, 2022
bfa5ccd
Test slots of AspectRatio
hbjORbj Nov 7, 2022
3358f31
Test slots of Avatar, AvatarGroup and Badge
hbjORbj Nov 7, 2022
1ee303f
Test slots of Breadcrumbs, Button,Card
hbjORbj Nov 9, 2022
0ed9bee
Test slots of CardContent, CardCover, CardOverflow, Checkbox
hbjORbj Nov 9, 2022
780f905
Test slots of Chip, ChipDelete, CircularProgress, Divider
hbjORbj Nov 9, 2022
d171e41
Test slots of FormControl, FormHelperText, FormLabel, Grid, IconButto…
hbjORbj Nov 9, 2022
e9432ff
Remove unneeded classes from LinearProgress
hbjORbj Nov 9, 2022
9396b0d
Test slots of LinearProgress
hbjORbj Nov 9, 2022
f679a18
Prettier
hbjORbj Nov 9, 2022
88e5960
Test slots of more components
hbjORbj Nov 9, 2022
dd2ffc8
Add backdrop class to Modal
hbjORbj Nov 9, 2022
d5db0f3
Test slots of Menu, MenuItem, MenuList, Modal
hbjORbj Nov 9, 2022
56c9830
Test slots of more components
hbjORbj Nov 9, 2022
08b82b7
Add slot tests to the rest of Joy components
hbjORbj Nov 10, 2022
9390a14
Format docs
hbjORbj Nov 10, 2022
d83191e
Improve test of Alert
hbjORbj Nov 10, 2022
8c88f4e
Apply correct classname for endDecorator slot in Alert
hbjORbj Nov 10, 2022
391ade6
Skip some tests for joy components in conformance test
hbjORbj Nov 10, 2022
255e230
muiName could be undefined
hbjORbj Nov 10, 2022
0e6d0f7
Improve Breadcrumbs test
hbjORbj Nov 15, 2022
a6d205a
Skip more tests for Joy components in conformance test suite
hbjORbj Nov 15, 2022
6fa6667
Typo in aria prop in SvgIcon
hbjORbj Nov 15, 2022
a43fea9
Fix errors in Chip
hbjORbj Nov 15, 2022
5b4c575
Fix errors in Link and its tests
hbjORbj Nov 15, 2022
4a0e042
Fix LinearProgress test
hbjORbj Nov 15, 2022
b6d4471
[MenuList] Fix test
hbjORbj Nov 15, 2022
c8f81db
[ListDivider] Fix errors
hbjORbj Nov 15, 2022
1c99eba
[Checkbox] Pass inheritComponent to conformance test suite
hbjORbj Nov 15, 2022
cf3dfea
[Select] Fix implementation
hbjORbj Nov 15, 2022
797c6b2
Ensure Select test passes
hbjORbj Nov 15, 2022
a22bc04
[ListDivider] Run proptypes
hbjORbj Nov 15, 2022
a7cce30
[Typography] Fix endDecorator slot
hbjORbj Nov 15, 2022
324dfdf
[Switch, Textarea, Input] Fix endDecorator slot
hbjORbj Nov 15, 2022
69d0d42
[Tooltip] Refactor
hbjORbj Nov 15, 2022
f1dc124
[TextField] Improve test
hbjORbj Nov 15, 2022
61cf5f6
[TextField] Fix slot errors
hbjORbj Nov 15, 2022
c659455
[Menu] Fix test
hbjORbj Nov 15, 2022
1fb6285
[Chip] Fix test
hbjORbj Nov 15, 2022
f9fcb8e
[Breadcrumbs] Fix test
hbjORbj Nov 15, 2022
3283459
[Grid] Do not pass slots to conformance test suite
hbjORbj Nov 15, 2022
7409ad7
Format docs
hbjORbj Nov 15, 2022
5d3599b
Fix tests
hbjORbj Nov 17, 2022
128fc4c
[Tooltip] Improve test
hbjORbj Nov 17, 2022
3e788b3
final elementType should pass to appendOwnerState
siriwatknp Nov 18, 2022
d79f007
add data-testid="custom"
siriwatknp Nov 18, 2022
7a86534
ref should be null
siriwatknp Nov 18, 2022
37028bd
simplify Tooltip tests
siriwatknp Nov 18, 2022
9bef057
only pass the className
siriwatknp Nov 18, 2022
379d211
exclude slot tests from TextField
siriwatknp Nov 18, 2022
9911b40
skip test?
siriwatknp Nov 18, 2022
281e318
skip element tests
siriwatknp Nov 18, 2022
8c1883a
only pass ownerState for non host element
siriwatknp Nov 18, 2022
8eb3aec
fix Select
siriwatknp Nov 18, 2022
f76f3ad
Fix format / lint errors
hbjORbj Nov 22, 2022
c1f1694
Fix errors
hbjORbj Nov 22, 2022
f0a43d9
Merge branch 'master' of https://github.com/mui/material-ui into test…
siriwatknp Nov 23, 2022
200986d
fix lint
siriwatknp Nov 23, 2022
36ec85a
Merge branch 'test/use-components' into joy/apply-useSlot
siriwatknp Nov 23, 2022
7c93fa3
test slotProps as a function
siriwatknp Nov 23, 2022
755640c
fix Menu forwarded component
siriwatknp Nov 23, 2022
be42289
update component
siriwatknp Nov 23, 2022
b91e8e3
restore components with only root slot
siriwatknp Nov 23, 2022
8772417
fix MenuList name
siriwatknp Nov 23, 2022
c8e23ae
[Menu] Fix ref instsance test
hbjORbj Nov 23, 2022
9df9797
fix Avatar tests
siriwatknp Nov 23, 2022
199e05e
remove testStateOverrides
siriwatknp Nov 24, 2022
2cc5281
Merge branch 'joy/apply-useSlot' of github.com:hbjORbj/material-ui in…
siriwatknp Nov 24, 2022
bb63e5e
run proptypes
siriwatknp Nov 24, 2022
ba310d1
fix regression
siriwatknp Nov 24, 2022
6148c4d
Create SlotComponentProps type for Joy UI and use it for typing of Jo…
hbjORbj Nov 25, 2022
10fc03d
Improve API docs for slots prop
hbjORbj Nov 25, 2022
20f7257
Run prettier
hbjORbj Nov 26, 2022
42de4f3
Merge branch 'master' of https://github.com/mui/material-ui into joy/…
siriwatknp Nov 29, 2022
5a30f27
add tests
siriwatknp Nov 29, 2022
98c630f
Fix types for Alert
siriwatknp Nov 29, 2022
a69a676
[Autocomplete] Fix types
hbjORbj Nov 29, 2022
1ff5c9b
Update prop types for Alert
hbjORbj Nov 29, 2022
157b3fd
[AspectRatio] Fix types and add spec test
hbjORbj Nov 29, 2022
3de1087
Remove RootSlotProps and Rename OtherSlotProps to SlotProps
hbjORbj Nov 29, 2022
cff7d46
[Autocomplete] Improve types and spec test
hbjORbj Nov 29, 2022
ba1d106
[Avatar] Fix types and add spec test
hbjORbj Nov 29, 2022
3238336
[Alert] Improve types
hbjORbj Nov 29, 2022
4c7d643
[AspectRatio] Improve types
hbjORbj Nov 29, 2022
f619d3d
[Badge] improve types
hbjORbj Nov 29, 2022
890bf19
[Breadcrumbs] Fix types and add spec test
hbjORbj Nov 29, 2022
61287ff
[Badge] Update prop types and add spec test
hbjORbj Nov 29, 2022
eae5f42
[Button] Fix types and add spec test
hbjORbj Nov 29, 2022
ea52b18
Fix types for all Joy UI components and add spec tests
hbjORbj Nov 29, 2022
e70bd45
Fix prop typs
hbjORbj Nov 29, 2022
6d34417
Fix useSlot test
hbjORbj Nov 29, 2022
778d508
Merge branch 'master' of https://github.com/mui/material-ui into joy/…
siriwatknp Nov 30, 2022
2c01680
revert Material UI changes
siriwatknp Nov 30, 2022
4a3b0e1
fix Tooltip
siriwatknp Nov 30, 2022
740485d
fix test
siriwatknp Nov 30, 2022
96e7f71
update Avatar
siriwatknp Nov 30, 2022
999f9fa
update Badge
siriwatknp Nov 30, 2022
e590744
update breadcrumbs
siriwatknp Nov 30, 2022
e4f5722
update components
siriwatknp Nov 30, 2022
8ebc521
fix slider props
siriwatknp Nov 30, 2022
2e692c8
Merge branch 'master' of https://github.com/mui/material-ui into joy/…
siriwatknp Nov 30, 2022
6f8ff43
Merge branch 'joy/apply-useSlot' into joy/variant-inversion
siriwatknp Nov 30, 2022
df33723
update content
siriwatknp Nov 30, 2022
8ea6ab8
update content
siriwatknp Dec 1, 2022
74efcd9
add ts demos
siriwatknp Dec 1, 2022
181509a
fix lint
siriwatknp Dec 2, 2022
60fb104
run docs:typescript
siriwatknp Dec 2, 2022
57e6353
rework color-inversion experiment
siriwatknp Dec 2, 2022
2dc57a8
update
siriwatknp Dec 2, 2022
b2fd203
Merge branch 'master' of https://github.com/mui/material-ui into joy/…
siriwatknp Dec 6, 2022
ec05da9
Merge branch 'master' of https://github.com/mui/material-ui into joy/…
siriwatknp Dec 7, 2022
c87d1a8
remove experiments
siriwatknp Dec 7, 2022
2284e9d
yarn
siriwatknp Dec 7, 2022
160aed7
Merge branch 'master' of https://github.com/mui/material-ui into joy/…
siriwatknp Dec 8, 2022
4d04adc
fix typo
siriwatknp Dec 8, 2022
c658bb1
update props
siriwatknp Dec 8, 2022
3e4db1a
fix useSlot
siriwatknp Dec 8, 2022
e8cefc9
restore
siriwatknp Dec 8, 2022
4523e40
Apply suggestions from code review
siriwatknp Dec 8, 2022
5055392
Merge branch 'joy/variant-inversion' of github.com:siriwatknp/materia…
siriwatknp Dec 8, 2022
74571c2
add Icon suffix
siriwatknp Dec 8, 2022
5edc7c2
update docs
siriwatknp Dec 8, 2022
0439b7a
run docs:typescript
siriwatknp Dec 8, 2022
57fda41
fix LinearProgress
siriwatknp Dec 8, 2022
dff5419
init describeJoyColorInversion
siriwatknp Dec 8, 2022
296d75e
use describeJoyColorInversion with button
siriwatknp Dec 8, 2022
7b8b1ce
handle non root slot
siriwatknp Dec 8, 2022
010e9de
update first batch
siriwatknp Dec 8, 2022
26d7b75
add tests to all components
siriwatknp Dec 8, 2022
af1479c
add tests for popup
siriwatknp Dec 8, 2022
f2e90f0
fix types
siriwatknp Dec 9, 2022
5317d6e
fix color inversion for popup
siriwatknp Dec 9, 2022
c8cb849
fix types
siriwatknp Dec 9, 2022
663c402
fix spec
siriwatknp Dec 9, 2022
1e384ba
run proptypes
siriwatknp Dec 9, 2022
a57f1d1
Merge branch 'master' of https://github.com/mui/material-ui into joy/…
siriwatknp Dec 11, 2022
ccc0be7
update demo
siriwatknp Dec 12, 2022
15f4fd6
fix Slider style
siriwatknp Dec 13, 2022
29f9d69
add visual regression
siriwatknp Dec 13, 2022
071780f
test portal slot
siriwatknp Dec 14, 2022
44df5a9
add portal regression
siriwatknp Dec 14, 2022
3d23841
add ts-ignore for edge case
siriwatknp Dec 14, 2022
6c6d64b
fix regression
siriwatknp Dec 14, 2022
9321354
add color-scheme: dark
siriwatknp Dec 15, 2022
f1fc5d9
Merge branch 'master' of https://github.com/mui/material-ui into joy/…
siriwatknp Dec 15, 2022
c0bd44d
fix types
siriwatknp Dec 15, 2022
d6f9ddc
Merge branch 'master' of https://github.com/mui/material-ui into joy/…
siriwatknp Dec 23, 2022
f11c411
update types and add tests
siriwatknp Dec 23, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
226 changes: 226 additions & 0 deletions docs/data/joy/main-features/color-inversion/ColorInversionFooter.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,226 @@
import * as React from 'react';

import AspectRatio from '@mui/joy/AspectRatio';
import Box from '@mui/joy/Box';
import Button from '@mui/joy/Button';
import IconButton from '@mui/joy/IconButton';
import Card from '@mui/joy/Card';
import CardContent from '@mui/joy/CardContent';
import Chip from '@mui/joy/Chip';
import Divider from '@mui/joy/Divider';
import Input from '@mui/joy/Input';
import List from '@mui/joy/List';
import ListSubheader from '@mui/joy/ListSubheader';
import ListItem from '@mui/joy/ListItem';
import ListItemDecorator from '@mui/joy/ListItemDecorator';
import ListItemButton from '@mui/joy/ListItemButton';
import Typography from '@mui/joy/Typography';
import Sheet from '@mui/joy/Sheet';
import FacebookRoundedIcon from '@mui/icons-material/FacebookRounded';
import GitHubIcon from '@mui/icons-material/GitHub';
import SendIcon from '@mui/icons-material/Send';

export default function ColorInversionFooter() {
const [color, setColor] = React.useState('neutral');
return (
<Sheet
variant="solid"
color={color}
invertedColors
sx={{
...(color !== 'warning' && {
bgcolor: `${color}.800`,
}),
flexGrow: 1,
p: 2,
mx: -3,
my: -3,
borderRadius: { xs: 0, sm: 'xs' },
}}
>
<Box sx={{ display: 'flex', alignItems: 'center', gap: 2 }}>
<IconButton
variant="soft"
size="sm"
onClick={() => {
const colors = [
'primary',
'neutral',
'danger',
'info',
'success',
'warning',
];

const nextColor = colors.indexOf(color);
setColor(colors[nextColor + 1] ?? colors[0]);
}}
sx={{ borderRadius: '50%' }}
>
<img alt="" src="/static/branding/pricing/block-green.svg" />
</IconButton>
<Divider orientation="vertical" />
<IconButton variant="plain">
<FacebookRoundedIcon />
</IconButton>
<IconButton variant="plain">
<GitHubIcon />
</IconButton>
<Input
variant="soft"
placeholder="Your Email"
type="email"
name="email"
endDecorator={
<Button variant="soft" aria-label="subscribe">
<SendIcon />
</Button>
}
sx={{ ml: 'auto', display: { xs: 'none', md: 'flex' } }}
/>
</Box>
<Divider sx={{ my: 2 }} />
<Box
sx={{
display: 'flex',
flexDirection: { xs: 'column', md: 'row' },
alignItems: { md: 'flex-start' },
justifyContent: 'space-between',
flexWrap: 'wrap',
gap: 2,
}}
>
<Card
variant="soft"
size="sm"
sx={{
flexDirection: { xs: 'row', md: 'column' },
minWidth: { xs: '100%', md: 'auto' },
gap: 1,
}}
>
<AspectRatio
ratio="21/9"
minHeight={80}
sx={{ flexBasis: { xs: 200, md: 'initial' } }}
>
<img alt="" src="/static/blog/mui-product-comparison/ecosystem.png" />
</AspectRatio>
<CardContent>
<Typography level="body2">Intro to the MUI ecosystem</Typography>
<Typography level="body3" sx={{ mb: 0.5 }}>
MUI blog
</Typography>
</CardContent>
</Card>
<List size="sm" row wrap sx={{ flexGrow: 0, '--List-item-radius': '8px' }}>
<ListItem nested sx={{ width: { xs: '50%', md: 140 } }}>
<ListSubheader>Sitemap</ListSubheader>
<List>
<ListItem>
<ListItemButton>Services</ListItemButton>
</ListItem>
<ListItem>
<ListItemButton>Blog</ListItemButton>
</ListItem>
<ListItem>
<ListItemButton>Contact us</ListItemButton>
</ListItem>
</List>
</ListItem>
<ListItem nested sx={{ width: { xs: '50%', md: 180 } }}>
<ListSubheader>Product</ListSubheader>
<List sx={{ '--List-decorator-size': '32px' }}>
<ListItem>
<ListItemButton>
<ListItemDecorator>
<img
alt=""
src="/static/branding/product-core-dark.svg"
width="24"
/>
</ListItemDecorator>
MUI Core
</ListItemButton>
</ListItem>
<ListItem>
<ListItemButton>
<ListItemDecorator>
<img
alt=""
src="/static/branding/product-advanced-dark.svg"
width="24"
/>
</ListItemDecorator>
MUI X
</ListItemButton>
</ListItem>
<ListItem>
<ListItemButton>
<ListItemDecorator>
<img
alt=""
src="/static/branding/product-toolpad-dark.svg"
width="24"
/>
</ListItemDecorator>
MUI Toolpad
<Chip
variant="soft"
size="sm"
sx={{ minHeight: 20, fontSize: 'xs2', ml: 'auto' }}
>
BETA
</Chip>
</ListItemButton>
</ListItem>
<ListItem>
<ListItemButton>
<ListItemDecorator>
<img
alt=""
src="/static/branding/product-designkits-dark.svg"
width="24"
/>
</ListItemDecorator>
Design kits
</ListItemButton>
</ListItem>
<ListItem>
<ListItemButton>
<ListItemDecorator>
<img
alt=""
src="/static/branding/product-templates-dark.svg"
width="24"
/>
</ListItemDecorator>
Templates
</ListItemButton>
</ListItem>
</List>
</ListItem>
</List>
</Box>
<Divider sx={{ my: 2 }} />
<Box
sx={{
display: 'flex',
alignItems: 'center',
gap: 2,
}}
>
<Typography
level="body2"
startDecorator={<Typography textColor="text.tertiary">by</Typography>}
>
MUI
</Typography>

<Typography level="body3" sx={{ ml: 'auto' }}>
Copyright 2022
</Typography>
</Box>
</Sheet>
);
}
Loading