Containers and layout
Prose
long-form text (articles, help, onboarding copy) at the theme's typeset: flow, measure, leading
function ProseDemo() { return ( <Prose> <Text variant="h3">Building the habit</Text> <Text variant="p"> Most streaks break on the third day, not the first. Pick one small thing you can do even on a bad day, and attach it to something you already do. </Text> <Text variant="blockquote">“Two minutes counts. Showing up is the habit; the rest follows.”</Text> <Text variant="h4">When you miss a day</Text> <Text variant="p"> Never miss twice. Log the miss, keep the streak history, and set tomorrow’s reminder with{' '} <Text variant="code">Remind me at 8:00</Text>. </Text> </Prose> );}Usage
Paragraphs are Text variant="p"; the flow is the only spacing between blocks. Text only inside.
API
<Prose><Text variant="h3" /><Text variant="p" />…</Prose>Get it
Already in every copy of the native kit:
import { Prose } from '@/components/kit/prose';Details
- Exports
Prose- Installs with
- @halftone-native/lib-utils, @halftone-native/text
- Also searched as
- typography, article, rich text, typeset, body copy
- Registry JSON
- /r/native/prose.json
<Prose as="article"> <h2>Getting paid faster</h2> <p> Most invoices are paid within <strong>14 days</strong> when they go out the day the work ends. Late ones tend to share a cause: the client could not find the right person to approve them. </p> <ul> <li>Send from the project, so the invoice names the work.</li> <li> Add a purchase order number in the <code>reference</code> field. </li> <li>Turn on reminders at 7 and 14 days.</li> </ul> <blockquote>We cut our average wait from 31 days to 12 by sending on the last day of the project.</blockquote> <h3>Exporting</h3> <p> Export every invoice as CSV from <a href="#prose">Settings › Billing</a>, or from the command line: </p> <pre tabIndex={0}> <code>northwind invoices export --since 2026-01-01</code> </pre></Prose>Usage
Wrap text, not layout: headings, paragraphs, lists, quotes, code and tables. No cards or buttons inside. A pre that can scroll sideways takes tabIndex={0}: a keyboard can’t scroll what it can’t focus.
API
<Prose as?="div|article|section">{html}</Prose>Get it
Already in every copy of the web kit:
import { Prose } from '@/components/kit/prose';Details
- Exports
Prose- Packages
- cn@^0.5.2
- Also searched as
- typography, article, markdown, rich text, typeset
- Registry JSON
- /r/web/prose.json
Agents: the whole registry is at /llms.txt.