import * as React from 'react'; import Box from '@mui/material/Box'; import Button from '@mui/material/Button'; import Card from '@mui/material/Card'; import Chip from '@mui/material/Chip'; import CardActions from '@mui/material/CardActions'; import CardContent from '@mui/material/CardContent'; import Container from '@mui/material/Container'; import Divider from '@mui/material/Divider'; import Grid from '@mui/material/Grid'; import Typography from '@mui/material/Typography'; import AutoAwesomeIcon from '@mui/icons-material/AutoAwesome'; import CheckCircleRoundedIcon from '@mui/icons-material/CheckCircleRounded'; const tiers = [ { title: 'Free', price: '0', description: [ '10 users included', '2 GB of storage', 'Help center access', 'Email support', ], buttonText: 'Sign up for free', buttonVariant: 'outlined', }, { title: 'Professional', subheader: 'Recommended', price: '15', description: [ '20 users included', '10 GB of storage', 'Help center access', 'Priority email support', 'Dedicated team', 'Best deals', ], buttonText: 'Start now', buttonVariant: 'contained', }, { title: 'Enterprise', price: '30', description: [ '50 users included', '30 GB of storage', 'Help center access', 'Phone & email support', ], buttonText: 'Contact us', buttonVariant: 'outlined', }, ]; export default function Pricing() { return ( Pricing Quickly build an effective pricing table for your potential customers with this layout.
It's built with default Material UI components with little customization.
{tiers.map((tier) => ( {tier.title} {tier.title === 'Professional' && ( } label={tier.subheader} size="small" sx={{ background: (theme) => theme.palette.mode === 'light' ? '' : 'none', backgroundColor: 'primary.contrastText', '& .MuiChip-label': { color: 'primary.dark', }, '& .MuiChip-icon': { color: 'primary.dark', }, }} /> )} ${tier.price}   per month {tier.description.map((line) => ( {line} ))} ))}
); }