The scale
Every part in one page: headings with hand rules, a lead line, body text, a list, a quotation, inline code and the small sizes.
The type scale and a Prose wrapper for the notebook: script headings with a hand-drawn rule, body text in the hand at 17 px on a 1.7 line, blue felt links, marker bullets, mono code chips. Prose styles markup you did not write (markdown, CMS html, MDX).
npx shadcn@latest add @wobko/typography第一次使用?先把 registry 加进 components.json。 如何安装
Every part in one page: headings with hand rules, a lead line, body text, a list, a quotation, inline code and the small sizes.
Plain HTML you did not style, straight from a markdown renderer: Prose gives it the notebook's type, spacing, links, lists, code and quotations.
The parts composed into a real page, with a mark or two from the marks family.
Official `typography-table` without its classes: a bare `<table>` inside Prose. The head is written in the script face over a felt rule and every row has a pencil line under it. Reach for the Table component when the table is data rather than text.
Page title: script 48 px bold, with a double hand-drawn rule.
| 属性 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| rule | boolean | true | Draw the rule under the heading. |
| seed | string | number | - | Picks which of the three hands draws the rule. Default: from useId(). |
Section title: script 36 px bold, with a single pencil rule.
| 属性 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| rule | boolean | true | Draw the rule under the heading. |
| seed | string | number | - | Picks which of the three hands draws the rule. |
A bulleted list with marker-colored bullets; `ordered` makes it a numbered <ol> with script numerals. Children are <li>s.
| 属性 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| ordered | boolean | false | Render an <ol>. |
CLI 会复制进你项目的文件。
正在加载源码