Text
The default paragraph, with a size and a colour scale.
Identity, site and launch kit for the harbour trust.
Owned by Maya Chen. Due 24 Oct.
Updated 17 Oct, rendered as a span.Applied to
Offline sync keeps tasks readable on the ferry, then catches up with the server as soon as the crew reaches the quay.
In context
Offline tasks and a quiet inbox for the crew.
61% complete, review.
Next milestone: 7 Nov
Eyebrow and section label
Saint Raphael the Archangel
Readings
Your data
Account
Narrated by an Athic author
Perspective
This week
Earlier
Today
Your data
Your Library
Confession to a priest
Catholics confess to a priest because Jesus gave his Apostles the ministry of reconciliation. ΓÇ£Whose sins you shall forgive, they are forgiven themΓÇ¥ (John 20:23).
Citations
Today
This week
Your data
Download or delete everything tied to your account.
Props
| Prop | Type | Required | Default |
|---|---|---|---|
size | "xs" | "sm" | "md" | undefined | No | — |
color | "primary" | "secondary" | undefined | No | — |
bionic | boolean | undefined | No | — |
bionicOptions | BionicOptions | undefined | No | — |
variant | "body" | "eyebrow" | "section-label" | undefined | No | — |
tone | "primary" | "muted" | "inverse" | undefined | No | — |
rule | false | "end" | "both" | undefined | No | — |
as | ElementType | undefined | No | — |
ref | Ref<Element> | undefined | No | — |
data-rebar-* attributes
data-rebar-component="text", data-rebar-size/data-rebar-color set to the current values.
Migrating to Ant Design
Not codemod-covered — AntD's Typography.Text covers the same "small, secondary, inline text" role with a similar type prop for color.
Typed label
With as="label" the props are a <label>'s, so htmlFor is typed (and rejected on a plain <p> Text). Any other element works the same way: as="span" takes span props.
<Text as="label" htmlFor="email" size="sm">Email</Text>Tokens
Custom properties, set on the component or any ancestor. The default is what applies when one is unset. 13 of 13 were added in 1.1.0 and are marked.
| Property | Default | |
|---|---|---|
--rebar-eyebrow-color | var(--rebar-color-primary-text-ink, var(--rebar-color-primary, #b53824)) | 1.1 |
--rebar-eyebrow-letter-spacing | 0.16em | 1.1 |
--rebar-eyebrow-line-height | 1.2 | 1.1 |
--rebar-eyebrow-size | 12px | 1.1 |
--rebar-eyebrow-weight | 700 | 1.1 |
--rebar-section-label-line-height | var(--rebar-text-eyebrow-line-height, var(--rebar-eyebrow-line-height, 1.2)) | 1.1 |
--rebar-section-label-size | var(--rebar-text-eyebrow-size, var(--rebar-eyebrow-size, 12px)) | 1.1 |
--rebar-section-label-tracking | var(--rebar-text-eyebrow-letter-spacing, var(--rebar-eyebrow-letter-spacing, 0.16em)) | 1.1 |
--rebar-text-eyebrow-color | var(--rebar-eyebrow-color, var(--rebar-color-primary-text-ink, var(--rebar-color-primary, #b53824))) | 1.1 |
--rebar-text-eyebrow-letter-spacing | var(--rebar-eyebrow-letter-spacing, 0.16em) | 1.1 |
--rebar-text-eyebrow-line-height | var(--rebar-eyebrow-line-height, 1.2) | 1.1 |
--rebar-text-eyebrow-size | var(--rebar-eyebrow-size, 12px) | 1.1 |
--rebar-text-eyebrow-weight | var(--rebar-eyebrow-weight, 700) | 1.1 |