A person as two letters in a circle, and the stack of them overlapping by 8px. The letters come from the
name (initials/1); the tone only tells people apart, it never carries meaning. A circle with no name is
decoration, so a stack names its people for assistive technology once, as a group.
Around it: five sizes (:xs to :xl), a square shape for what is not a person (a workspace, a repository, a
client), a status dot (online, away, busy, offline), the AI agent (agent/1, amber, with its own mark) and
the invite slot (avatar_invite/1). A status is never alone: it is also read out.
Summary
Functions
The AI agent: amber, with its own mark instead of letters.
The empty place at the end of a group, to invite someone.
Up to two capital letters: the first of the first and of the last word.
Functions
The AI agent: amber, with its own mark instead of letters.
Attributes
name(:string) (required)size(:atom) - Defaults to:md. Must be one of:xs,:sm,:md,:lg, or:xl.class(:any) - Defaults tonil.- Global attributes are accepted.
Slots
inner_block(required) - the mark of the agent, an icon.
Attributes
name(:string) (required)tone(:atom) - Defaults to:neutral. Must be one of:ok,:warn,:risk,:info, or:neutral.size(:atom) - 22, 34 (default), 24, 56 and 72 px. Defaults to:md. Must be one of:xs,:sm,:md,:lg, or:xl.shape(:atom) - square is for a workspace, a repository, a client. Defaults to:round. Must be one of:round, or:square.status(:atom) - Defaults tonil.Must be one ofnil,:online,:away,:busy, or:offline.status_label(:string) - what the status says, read by screen readers. Defaults tonil.class(:any) - Defaults tonil.- Global attributes are accepted.
The empty place at the end of a group, to invite someone.
Attributes
label(:string) (required) - what pressing it does:Invite a person.size(:atom) - Defaults to:md. Must be one of:xs,:sm,:md,:lg, or:xl.class(:any) - Defaults tonil.- Global attributes are accepted.
Slots
inner_block(required) - a plus icon.
Attributes
people(:list) (required) -%{name: ..., tone: ...}each, the first on top.label(:string) (required) - what the group is, e.g.Reviewers.max(:integer) - how many are drawn; the rest become a+Nchip. Defaults tonil.size(:atom) - Defaults to:md. Must be one of:xs,:sm,:md,:lg, or:xl.class(:any) - Defaults tonil.- Global attributes are accepted.
Slots
extra- after the people, such as anavatar_invite/1.
Up to two capital letters: the first of the first and of the last word.