Typography
Typography is a stylesheet for prose rather than a data-fetching or rich-text editing component.
Practical React example
Apply a consistent reading treatment to an article that uses semantic HTML headings and lists.
Before you copy and paste
Use the composed primitives together under their required provider, where one is present. Copy components/kibo-ui/typography/styles.css and its returned support files from the Code tab; preserve the project-relative paths. Include the returned styles: components/kibo-ui/typography/styles.css.
Use the Code tab for the component files and installation instructions, then adapt the imports in this example to your project.
Apply a consistent reading treatment to an article that uses semantic HTML headings and lists
// Usage adapted from Kibo UI's pinned MIT source.
// Copyright (c) 2023 — Present shadcnblocks. See ./LICENSES.md.
'use client';
import '@/components/kibo-ui/typography/styles.css';
export function ProjectNotes() {
return (
<article className="typography">
<h2>Project notes</h2>
<p>Keep the scope small enough to review one complete interaction.</p>
<h3>Before sharing</h3>
<ul><li>Check the loading and error states.</li><li>Try the keyboard and a narrow viewport.</li></ul>
<p>Continue with the <a href="/projects">project list</a>.</p>
</article>
);
}
Usage example adapted from Kibo UI's pinned MIT source. Retain the source licence notices when copying.
Include the returned stylesheet in the intended scope and use real heading levels, paragraphs, lists and code elements. Check how it interacts with your existing global styles.
Customization
- typography class
- Apply the typography class to the intended prose wrapper after importing the returned stylesheet. This component supplies CSS, not React props or document sanitization.
Integration notes
- Styling does not sanitize untrusted HTML or repair an incorrect document outline.
- Test links, inline code, tables and text zoom in the actual article layout.
Component source: Kibo UI documentation . These examples describe the version imported into Rendyn. Upstream APIs may have changed; retain the source licence notices when adapting the code.
Give your agent taste.
The best way to use Rendyn is through MCP. Let your agent find the right component, compare previews and bring the source into your project.
All components are free. Sign up only to connect MCP.