// A richer scratchpad: several ways to display the SAME entity (a team member) // in a list or grid. Every option is a real @mantine/core composition — picking // one gives you an adoptable component variation, not a pile of CSS. Open the // Design tab → Scratchpad to compare them on the canvas. import { Anchor, Avatar, Badge, Button, Card, Divider, Group, Paper, Progress, Stack, Text, } from '@mantine/core' export const title = 'Member card' export const objects = [ { name: 'List row', mantine: ['Group', 'Avatar', 'Badge'], render: () => ( AL
Ada Lovelace ada@example.com
Active
), }, { name: 'Detail card', mantine: ['Card', 'Avatar', 'Badge', 'Divider'], render: () => ( AL
Ada Lovelace Engineering
Online
Commits 1,204 Reviews 318 View
), }, { name: 'Grid tile', mantine: ['Card', 'Avatar', 'Button'], render: () => ( AL Ada Lovelace Maintainer ), }, { name: 'Compact chip', mantine: ['Badge', 'Avatar'], render: () => ( AL } > Ada Lovelace ), }, { name: 'Stat card', mantine: ['Paper', 'Progress', 'Badge'], render: () => ( Contribution +12% 84% ), }, ]