Builds now reuse cached dependencies
Unchanged packages are restored from cache, so most builds skip the install step. Clear the cache from project settings.
H1 through H6 render their matching heading element at the document scale. Title takes a level prop, so a component heading can use any h1 to h6 tag at one fixed size.
Unchanged packages are restored from cache, so most builds skip the install step. Clear the cache from project settings.
Copy the command below and run it in your terminal.
Text defaults to the supporting variant; set variant to lead or body. Classes you pass through class override the defaults.
Each part sets type and color only. None of them add margins, so spacing comes from the parent layout.
h1-h6 --font-header / document heading scale / --font-weight-headerp 1rem / --font-weight-description / foreground-mutedp 1rem / --font-weight-body / foregroundp --font-size-body / --font-weight-body / foreground-mutedcode --font-mono / --radius-sm / secondaryh1-h6 --font-header / --font-size-header / --font-weight-headerp --font-size-body / --font-weight-description / --tracking-bodyspan --text-xs / --font-weight-body / --tracking-bodyPick the level from the document outline. For a heading inside a component, use Typography.Title with a level instead.
Text renders a p. Pick the variant
from the paragraph's job: lead opens a page or section, body is long-form prose, and
supporting is secondary context.
Preview deployments build every pull request and post a link in the review.
Each preview runs against a copy of the staging database. Data you create there is deleted when the pull request closes.
Previews older than 30 days are removed automatically.
Change the base branch in preview.config.ts.
Add tabular-nums when readers compare
values in a column.
Typography.Title - Renders a component heading at the h1 to h6 level you pass.
Typography.H1 - Renders the primary document heading.
Typography.H2 - Renders a document section heading.
Typography.H3 - Renders a document subsection heading.
Typography.H4 - Renders a fourth-level document heading.
Typography.H5 - Renders a subdued fifth-level heading.
Typography.H6 - Renders a subdued sixth-level heading.
Typography.Text - Renders lead, body, or supporting prose.
Typography.InlineCode - Renders code within prose.
Typography.Description - Renders muted text under a Title.
Typography.Metadata - Renders small muted text in a span.
bunx @sivir-ui/svelte add typography