Skip to content

Typography ​

Styles for headings, paragraphs, lists… as components.

Usage ​

Approximate web preview — the HarmonyOS rendering is the reference.

API ​

Extracted from the @Param / @Event / @BuilderParam declarations in the library sources.

SH1 ​

text-4xl font-extrabold tracking-tight text-balance.

PropTypeDefaultDescription
textResourceStr''

SH2 ​

border-b pb-2 text-3xl font-semibold tracking-tight.

PropTypeDefaultDescription
textResourceStr''

SH3 ​

text-2xl font-semibold tracking-tight.

PropTypeDefaultDescription
textResourceStr''

SH4 ​

text-xl font-semibold tracking-tight.

PropTypeDefaultDescription
textResourceStr''

SP ​

leading-7 body paragraph.

PropTypeDefaultDescription
textResourceStr''

SLead ​

text-xl text-muted-foreground.

PropTypeDefaultDescription
textResourceStr''

SLarge ​

text-lg font-semibold.

PropTypeDefaultDescription
textResourceStr''

SSmall ​

text-sm leading-none font-medium.

PropTypeDefaultDescription
textResourceStr''

SMuted ​

text-sm text-muted-foreground.

PropTypeDefaultDescription
textResourceStr''

SBlockquote ​

mt-6 border-l-2 pl-6 italic.

PropTypeDefaultDescription
textResourceStr''

SInlineCode ​

relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm font-semibold.

PropTypeDefaultDescription
textResourceStr''

SList ​

my-6 ml-6 list-disc [&>li]:mt-2.

PropTypeDefaultDescription
itemsstring[][]

MIT Licensed