Reading styles. Prose styles plain HTML you don’t control element by element, such as rendered Markdown. Code marks inline code, and Pre holds a block that scrolls on its own instead of widening the page.
Wrap rendered HTML in Prose: paragraphs, headings, images and code inside it get spacing and type from the tokens. Every rule is scoped to the Prose element, so nothing outside it changes. Prose is a Box and renders a <div> unless you pass as.
Checking a release candidate
Install the tarball in a clean app, then compare its digest with the one in the release notes. The command below prints the SHA-256 of blocks-design-system-0.1.0-rc.0.tgz.
shasum -a 256 ./blocks-design-system-0.1.0-rc.0.tgz | tee release-digest.txt && grep -q "$(cat expected-digest.txt)" release-digest.txt && echo "digest matches"
If the digests differ, rebuild from the tagged revision before installing.
import { Code, Pre, Prose } from'@blocks/design-system'exportdefaultfunctionInstallNotes() {
return (
<Proseas="article"aria-labelledby="install-notes-title">
<h3id="install-notes-title">Checking a release candidate</h3>
<p>
Install the tarball in a clean app, then compare its digest with the one in the release notes. The command
below prints the SHA-256 of <Code>blocks-design-system-0.1.0-rc.0.tgz</Code>.
</p>
<PretabIndex={0} aria-label="Command to verify the tarball">
<code>
shasum -a 256 ./blocks-design-system-0.1.0-rc.0.tgz | tee release-digest.txt && grep -q
"$(cat expected-digest.txt)" release-digest.txt && echo "digest matches"
</code>
</Pre>
<p>If the digests differ, rebuild from the tagged revision before installing.</p>
<ahref="#installing-fonts">Next: installing fonts</a>
</Prose>
)
}
import { Body, Code } from'@blocks/design-system'exportdefaultfunctionInlineCode() {
return (
<Body>
Set <Code>data-ds-theme</Code> to <Code>"dark"</Code> on any element, or import{' '}
<Codecolor="accent-text">@blocks/design-system/reset.css</Code> for global defaults.
</Body>
)
}
Pre renders a <pre> on the surface background. Long lines scroll inside the block. Give a long block tabIndex={0} and an aria-label so keyboard users can reach it and scroll it with the arrow keys.
{"station":"651:OR:SNTL","name":"Mount Hood Test Site","elevation_ft":5370,"snow_depth_in":84,"swe_in":31.2,"observed_at":"2026-12-01T06:00:00-08:00"}