MCPcopy Create free account
hub / github.com/mantinedev/ui.mantine.dev / UserButton

Function UserButton

lib/UserButton/UserButton.tsx:5–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3import classes from './UserButton.module.css';
4
5export function UserButton() {
6 return (
7 <UnstyledButton className={classes.user}>
8 <Group>
9 <Avatar
10 src="https://raw.githubusercontent.com/mantinedev/mantine/master/.demo/avatars/avatar-8.png"
11 radius="xl"
12 alt="Harriette Spoonlicker"
13 />
14
15 <div style={{ flex: 1 }}>
16 <Text size="sm" fw={500}>
17 Harriette Spoonlicker
18 </Text>
19
20 <Text c="dimmed" size="xs">
21 hspoonlicker@outlook.com
22 </Text>
23 </div>
24
25 <IconChevronRight size={14} stroke={1.5} />
26 </Group>
27 </UnstyledButton>
28 );
29}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected