Skip to main content
  1. Docs
  2. Patterns
  3. User detail

User detail

A record's page: back to the list, its status and actions, its facts in cards, and its activity beside them.

Built from
6 componentsPage header, Badge, Grid

01 — The pattern

The page, live.

02 — Built from

The components, and their jobs here.

ComponentHere
Page headerBack, the name, status and actions
BadgeThe status beside the title
GridA main column and a side one
CardA section per topic
Description listThe facts
TimelineWhat happened lately

03 — The code

Its skeleton.

user-page.tsx
<PageHeader
  back={<PageHeaderBack href="/users">Users</PageHeaderBack>}
  title="Priya Sharma"
  status={<Badge tone="success">Active</Badge>}
  actions={<Button>Edit profile</Button>}
/>
<PageContent>
  <Grid columns={{ base: 1, large: 3 }} gap="xl">
    <GridItem span={{ large: 2 }}>
      <Card title="Profile" level={2}>
        <DescriptionList>…</DescriptionList>
      </Card>
    </GridItem>
    <Card title="Recent activity" level={2}>
      <Timeline aria-label="Recent activity">…</Timeline>
    </Card>
  </Grid>
</PageContent>

04 — Rules

What makes it work.

  • Back, not a breadcrumb, one level down.
  • Facts as terms and values; an empty one shows —.
  • The activity is recent: the full log is a Table on its own page.
Next — PatternsAccount settings