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', buttonColor: 'primary', }, { 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', buttonColor: 'secondary', }, { title: 'Enterprise', price: '30', description: [ '50 users included', '30 GB of storage', 'Help center access', 'Phone & email support', ], buttonText: 'Contact us', buttonVariant: 'outlined', buttonColor: 'primary', }, ]; 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) => ( ({ border: 'none', background: 'radial-gradient(circle at 50% 0%, hsl(220, 20%, 35%), hsl(220, 30%, 6%))', boxShadow: `0 8px 12px hsla(220, 20%, 42%, 0.2)`, ...theme.applyStyles('dark', { background: 'radial-gradient(circle at 50% 0%, hsl(220, 20%, 20%), hsl(220, 30%, 16%))', boxShadow: `0 8px 12px hsla(0, 0%, 0%, 0.8)`, }), })), ]} > {tier.title} {tier.title === 'Professional' && ( } label={tier.subheader} /> )} ${tier.price}   per month {tier.description.map((line) => ( {line} ))} ))}
); }