Skip to Content
Documentation
Saas UI
Get Pro
Getting started
Components
Overview

Persona

Used to represent a user or entity

SourceStorybookRecipeArk
DW
David WilsonSoftware Engineer

Anatomy

import { Persona } from '@saas-ui/react/persona'
<Persona.Root>
  <Persona.Avatar>
    <Persona.PresenceBadge />
  </Persona.Avatar>
  <Persona.Details>
    <Persona.Label />
    <Persona.SecondaryLabel />
    <Persona.TertiaryLabel />
  </Persona.Details>
</Persona.Root>

Examples

Sizes

Use the size prop to change the size of the avatar

DW
David WilsonSoftware Engineer
DW
David WilsonSoftware Engineer
DW
David WilsonSoftware Engineer
DW
David WilsonSoftware Engineer
DW
David WilsonSoftware Engineer
DW
David WilsonSoftware Engineer

Shape

Use the shape prop to change the shape of the avatar, from rounded to square

DW
MC
SJ

Presence

Use the presence prop to change the presence of the avatar

DW
David WilsonSoftware Engineer

Out of office

Use the outOfOffice prop to change the out of office status of the avatar

DW
David WilsonSoftware EngineerOn a road trip

Ring

Use the outline* props to add a ring around the avatar

DW
David WilsonSoftware Engineer

Props

Root

Avatar

PresenceBadge

Details

Label

SecondaryLabel

TertiaryLabel