Designing calm interfaces
Calm software does its job and gets out of the way.
Start with defaults that work. Most people never change a setting, so the default is the design. When something needs attention, say what happened and what to do, like Retry upload instead of Error 500.
Three rules
- Show one primary action per screen.
- Name things the way people already talk about them.
- Use motion only to explain change.
The best interface is the one nobody has to think about.
Read more in the design principles.
Installation
$ pnpm dlx shadcn@latest add @synccn/proseFirst time in this project? Connect synccn with one command.
Usage
import { Prose } from "@/components/ui/prose";<Prose><h1>Title</h1><p>…</p></Prose>API reference
Generated from the component's TypeScript types, so it always matches the code.
Prose
Typography for long-form content (articles, docs, markdown output). Wrap rendered HTML or JSX and every element gets consistent styles.
- children
React.ReactNodeContent to render.
- className
stringExtra classes for the root element.
Dependencies
Read from the component's imports when the site builds. The CLI installs all of these for you.
Helpers
- lib/utilscn (merges class names)
npm packages
- clsx for cn()
- tailwind-merge for cn()
Accessibility
From the source
Read from this component's code when the site builds, so it can't drift.
No ARIA roles, key handling or motion settings in its source. It renders plain elements, so its accessibility comes from the content and labels you give it.