Content
Avatar
An avatar marks a person with their initial in a circle, or a team with its initial in a rounded square, wherever it matters who did something.
In kanso-ui as Avatar
Live in kanso-ui
Avatar from kanso-ui as it draws today, in Kanso’s tokens. Press, hover and tab through it: the shapes, the springs and the sizes are the library’s own.
ALALGH
The design
The Kanso design system's own drawing of it, in HTML and CSS with kanso-ui's tokens: the look kanso-ui's component moves to with its family's release.
When to use
- Use avatars where people matter: who made a payment, who is in a team, who is signed in.
- Use a persona (
k-persona) when the avatar comes with the person's name and a line about them. - Use a stack (
k-avatars) for a team's members beside its title. - Don't use an avatar for a thing or a category; use an icon.