// Hooks import { useApp } from 'site/hooks/useApp.mjs' // Components import { PageWrapper } from 'site/components/wrappers/page.mjs' import { Popout } from 'shared/components/popout.mjs' const TypographyPage = (props) => { const app = useApp(props) const p = (
This paragraph is here to show the vertical spacing between headings and paragraphs. In addition, let's make it a bit longer so we can see the line height as the text wraps.
) return (This typography page shows an overview of different elements and how they are styled.
It's a good starting point for theme development.
A regular link looks like this, whereas buttons look like this:
The Popout component is what powers various custom MDX components under the hood:
{['note', 'tip', 'warning', 'fixme', 'link', 'related', 'none'].map((type) => { const props = {} props[type] = true return (