Actor
Who did something, one way everywhere: a person by their picture and name, an agent named first with its person quieter after it.
import { ActorPicture, ActorName } from "@arcadia/ui"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
Examples
A name that opens its page
Scout, for david moved CREW-12 to Doing
Ada Lovelace gave it to Scout, for Ada Lovelace
--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
actorrequired- Actor
- Who: a person, or an agent with the person it acts for.
size- "sm" | "md"Default "md"
mdbeside a line of text: a person at 20, an agent at 20 with its person at 16.smin 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.
truedraws the online dot and the name reads ", online". Atmdonly: 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:
smCaption (an author line, a byline),mdBody (a row, a cell, a sentence),lgHeadline. 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>.