Typography
Typography with accessible presentation and local state.
The Joke Tax Chronicles
h2
Design with clear, readable content.
h3
Design with clear, readable content.
h4
Design with clear, readable content.
p
Design with clear, readable content.
blockquote
Design with clear, readable content.
code
const message = 'Hello, world!'
lead
Design with clear, readable content.
large
Design with clear, readable content.
small
Design with clear, readable content.
muted
Design with clear, readable content.
Installation
Install the shared package once in your Exact app. This version is a beta.
bun add --exact @rightui/ui@0.4.0-beta.4
The Exact compiler requires Bun 1.4.2, regardless of which package manager installs the package.
Complete the font, app metadata and root provider setup (required for both installation methods).
Import
use Typography from "@rightui/ui"
Usage
Import Typography from @rightui/ui. Supply content and required properties as shown in the example.
API Reference
Properties from the component source. State lives in your component; actions receive the updated value.
Typography.id
string
Typography.variant
string
Typography.content
string