Skip to main content
  1. Docs
  2. Components
  3. Type

Text

Running text, labels and inline code, on the type roles: a size, a weight and a tone from the tokens.

Import
@qeetrix/react
Status
StableSince 0.0.2
Renders
<span>Server-rendered
Tested
WCAG 2.2 AAaxe on every pull request

01

Sizes and weights

The body roles: sm 12/16, md 14/20 (by default), lg 16/24; regular, medium or semibold.

Priya Sharmapriya@acme.in · EngineeringLast signed in 2 minutes ago

02

Tones

A text colour from the tokens; unset, it inherits. inverse for a dark surface.

Priya Sharma signed in2 minutes ago · Bengaluruevt_4812Qeet ProDirectory syncedExpires in 9 daysSign-in blocked3 invitations waiting
Viewing as Rahul Verma

03

Code and IDs

mono: Fira Code at the same size, for an ID, a key or a command.

Priya's ID is usr_0001.

04

Truncation

truncate: one line with an ellipsis, or a number of lines.

People who can sign in to Acme Pvt Ltd's applications, synced from Azure AD.People who can sign in to Acme Pvt Ltd's applications, synced from Azure AD four minutes ago, with passkeys required for every admin.

05

A paragraph

A <span> by default; render a <p> for a paragraph.

Passkeys can't be phished: there's no password to type into the wrong page. Turn them on for admins first.

Next — TextUsage