/
githubmirror
/
material-ui
Обзор
Документация
Войти
/
githubmirror
/
material-ui
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
docs/src/components/productDesignKit/DesignKitValues.tsx
53 строки
2 KB
Brijesh Bittu
[code-infra] Setup workflow to publish internal packages (#47952)
02 апр 2026, 19:42
Не верифицирован
02 апр 2026, 19:42
d7d328c
Код
Авторство
О чём код?
import Typography from '@mui/material/Typography'; import Grid from '@mui/material/Grid'; import Palette from '@mui/icons-material/Palette'; import LibraryBooks from '@mui/icons-material/LibraryBooks'; import { InfoCard } from '@mui/internal-core-docs/InfoCard'; import CodeRounded from '@mui/icons-material/CodeRounded'; import GradientText from 'docs/src/components/typography/GradientText'; import Section from 'docs/src/layouts/Section'; import SectionHeadline from '@mui/internal-core-docs/SectionHeadline'; const content = [ { icon: <Palette fontSize="small" color="primary" />, title: 'For designers', description: 'Save time getting the Material UI components all setup, leveraging the latest features from your favorite design tool.', }, { icon: <LibraryBooks fontSize="small" color="primary" />, title: 'For product managers', description: 'Quickly put together ideas and high-fidelity mockups/prototypes using components from your actual product.', }, { icon: <CodeRounded fontSize="small" color="primary" />, title: 'For developers', description: 'Effortlessly communicate with designers using the same language around the Material UI components props and variants.', }, ]; export default function DesignKitValues() { return ( <Section cozy> <SectionHeadline overline="Collaboration" title={ <Typography variant="h2" sx={{ mt: 1 }}> Be more efficient <GradientText>designing and developing</GradientText> with the same library </Typography> } /> <Grid container spacing={3} sx={{ mt: 4 }}> {content.map(({ icon, title, description }) => ( <Grid key={title} size={{ xs: 12, sm: 6, md: 4 }}> <InfoCard title={title} icon={icon} description={description} /> </Grid> ))} </Grid> </Section> ); }