A
Props
import { Avatar } from '@kition/tessera-ui'
<Avatar name="Ada Lovelace" size={40} />Examples
A user’s detail page
AAda Lovelaceactive
Account
- ada@example.com
- Plan
- Pro (yearly)
- Credits
- 12,400
- Signed up
- 2026-03-14 09:21
- Last active
- 2 hours ago
- Notes
- Moved from the Team plan after the trial.
import { Avatar, Breadcrumb, Descriptions, Divider, Tag } from '@kition/tessera-ui'
export default function Demo() {
return (
<div>
<Breadcrumb items={[{ title: <a href="#users">Users</a> }, { title: 'Ada Lovelace' }]} />
<div style={{ display: 'flex', alignItems: 'center', gap: 10, margin: '12px 0' }}>
<Avatar name="Ada Lovelace" size={36} />
<strong>Ada Lovelace</strong>
<Tag tone="success">active</Tag>
</div>
<Divider>Account</Divider>
<Descriptions
columns={3}
items={[
{ label: 'Email', children: 'ada@example.com' },
{ label: 'Plan', children: 'Pro (yearly)' },
{ label: 'Credits', children: '12,400' },
{ label: 'Signed up', children: '2026-03-14 09:21' },
{ label: 'Last active', children: '2 hours ago' },
{ label: 'Notes', children: 'Moved from the Team plan after the trial.', span: 3 },
]}
/>
</div>
)
}Props
Descriptions
Labelled values of one record (an order, a user), laid out in columns columns.
| Prop | Type | Default | Description |
|---|---|---|---|
itemsrequired | readonly DescriptionItem[] | — | |
columns | number | 3 | |
title | ReactNode | — | |
className | string | — |
Breadcrumb
Where the page sits: its parents (links in title) and then itself.
| Prop | Type | Default | Description |
|---|---|---|---|
itemsrequired | readonly BreadcrumbItem[] | — | |
className | string | — |
Avatar
A person's picture, or their initial on a tint when there is none.
| Prop | Type | Default | Description |
|---|---|---|---|
src | string | — | |
namerequired | string | — | |
size | number | 28 | |
className | string | — |
Divider
A hairline between sections, with an optional label in it.
| Prop | Type | Default | Description |
|---|---|---|---|
children | ReactNode | — | |
className | string | — |