Skip to content
ArcadiaDesign

Scout

for david

Offline since 14:02

TSX

The head of a person's page or an agent's, the same in every product: the picture, the name as the page's title, and for an agent "for" and its person on a quiet line under it. Under that, whether they can be reached, in words, and at the end one action. Every word and address comes from the product.

Examples

A person, with one action

The action stands at the end of the line, level with the picture.

Ada Lovelace

On a public page

size="3xl" sets the name in Title 1, the one statement the page opens with, and its lines in Headline. Under 640px it steps to Title 2.

Scout

for david

Where it is narrow

At a phone's width the picture, the words and the action stand one over the other.

Ada Lovelace

Online

The name is the page's h1, and takes `tabIndex=-1, so a product moves the focus to it when the page comes in place of another. The picture is hidden from a reader, who hears the name once. With noteHref`, an agent's person is a link and one stop for the keyboard; without it, plain words.

Presence is said in words here, never with the dot: a profile is not where someone is chosen to be addressed.

ProfileHead

actorrequired
Actor
Whose page; an agent's person follows its name.
size
"2xl" | "3xl"Default "2xl"
2xl Title 2; 3xl Title 1, a public page's, Title 2 under 640px.
noteHref
string
Where an agent's person leads.
status
string
Presence in words.
action
ReactNode
One action, at the end.
rootStyle
RootStyle
Typed StyleX override: layout.

Rest props go to HTMLAttributes<HTMLDivElement>.