Skip to content
ArcadiaDesign

Scout, for david moved CREW-12 to Doing14:02

Ada Lovelace gave it to Scout, for david13:40

Scout, for Ada Lovelace opened CREW-1213:38

TSX

Who did something, said one way everywhere. A person is their picture and their name. An agent acts for one person, so it is named with them, the agent first: its name in its style's emphasis and the primary ink, then "for" and its person one style smaller in the quietest ink. Two agents with like names, Scout for david and Scout for Ada Lovelace, are told apart at a glance, and the eye lands on the agent.

ActorPicture draws an agent with its person's small picture beside it where the picture stands without words: a card's holder on a board, a stack. Where words beside it name the person (a message's author line, Members, the list that @ opens, a card's open view), it takes alone and draws the agent's own picture, so the person is said once.

ActorPicture and ActorName take the same actor: a person (kind: "person", a name and a picture's address) or an agent (kind: "agent", its name, its stored avatar and the person it acts for). Names come from the product; the kit draws them as they are.

Examples

Sizes

md, the default, beside a line of text: a person at 20, an agent at 20 with its person at 16, or alone at 20. sm in a control's glyph slot: 16, 16 with 12, and 16 alone.

The name in its style

size is the style the name stands in: lg Headline, md Body (the default), sm Caption. The person follows one style smaller, and stays at Caption under a Caption name.

Scout, for davidScout, for davidScout, for david

Named in words

Each row's words say whose agent it is, so its picture stands alone; a person's picture is as it always is.

Ada Lovelace
Scout, for Ada Lovelace
Scout, for david

In a control

The small pair stands in a picker's glyph slot, where no words name the person; the agent's person follows its name as the picker's quieter second value.

A name that opens its page

With href the name itself is the link and keeps its look: an underline in its own ink under the pointer, the ring on keyboard focus.

Scout, for david moved CREW-12 to Doing

Ada Lovelace gave it to Scout, for Ada Lovelace

"For david" stands outside it; with noteHref the person's name is a link of its own.

Over a message

An author line at Caption: the agent's own picture and its name, on the bubble's text edge.

Scout, for david
I moved it to Doing and opened the branch.

Online

online goes on the actor's own picture: the agent's, never its person's beside it, so the dot marks who is addressed. The small form is under 20 and carries none.

Scout, for david

Scout, for Ada Lovelace

Ada Lovelace

rootStyle takes where the name sits and its two inks, for a row whose own ink changes (a disabled row, an inverted one).

--actor-name-fg
PaintDefault var(--text-1)
The name's ink, the primary one.
--actor-name-person-fg
PaintDefault var(--text-3)
"for" and the agent's person, the quietest ink anyone reads.

ActorPicture is one image: a person is named by their name, an agent by its name and its person, as a reader hears it: "Scout, for david", alone or not. Online, it reads "Scout, for david, online". The pictures inside are decorative. Where ActorName stands beside it, as in the record above, hide the picture with aria-hidden so the name is heard once, unless it shows presence.

ActorName reads "Scout, for david": a comma clipped out of sight gives a reader the pause the eye takes from the change of style, and a copy keeps it. Its quiet half is the third rank of ink, which clears 4.5:1 on every surface.

With href the name is one link, named by the name alone, and the picture beside it is no second stop. An agent's person is a stop of its own only with noteHref.

ActorPicture

actorrequired
Actor
Who: a person, or an agent with the person it acts for.
size
"sm" | "md"Default "md"
md beside a line of text: a person at 20, an agent at 20 with its person at 16. sm in a control's glyph slot: 16, and 16 with 12.
alone
booleanDefault false
The actor's own picture without its person's: where the words beside it name the person (a message's author line, Members, the list that @ opens, a card's open view). An agent at 20, or 16 at sm; a person is always alone. The pair stays where a picture stands without words (a card's holder on a board, a stack).
online
boolean
Presence, on the actor's own picture: an agent's, never its person's beside it. true draws the online dot and the name reads ", online". At md only: a picture under 20 carries no dot.
rootStyle
RootStyle
Typed StyleX override: layout.

Rest props go to HTMLAttributes<HTMLSpanElement>.

actorrequired
Actor
Who: a person, or an agent with the person it acts for.
size
"sm" | "md" | "lg"Default "md"
The style the name stands in, at its bold: sm Caption (an author line, a byline), md Body (a row, a cell, a sentence), lg Headline. An agent's "for david" follows one style smaller: Body under Headline, Caption under Body, and Caption under Caption.
href
string
Their page: the name itself is the link.
noteHref
string
An agent's person's page.
rootStyle
RootStyle<ActorNameKnobs>
Typed StyleX override: layout and the --actor-name-* knobs.

Rest props go to HTMLAttributes<HTMLSpanElement>.