Heading
Section heading in the display face, Hanken Grotesk through the --font-display variable, at four sizes that step up with the Section container. Renders an h2 by default; the tag can be swapped.
The source comes with full access.
One payment of $149 opens the source right here and lets the CLI install every paid component, with lifetime updates.
Installation
pnpm dlx shadcn add @01orbital/headingnpx shadcn add @01orbital/headingyarn shadcn add @01orbital/headingbunx --bun shadcn add @01orbital/headingPart of the 01orbital library. With a license, put ORBITAL_TOKEN in .env.local and the same command installs it (licensed install, pricing).
It lands at components/editorial/heading.tsx, as source you own and edit.
The example also uses section. Install it too:
pnpm dlx shadcn add @01orbital/sectionnpx shadcn add @01orbital/sectionyarn shadcn add @01orbital/sectionbunx --bun shadcn add @01orbital/sectionUsage
import { Heading } from "@/components/editorial/heading"
import {
Section,
SectionContent,
} from "@/components/editorial/section"
const COPY = {
text: "A strong start. Room to make it yours.",
}
export default function HeadingDemo() {
return (
<Section className="py-0">
<SectionContent className="px-0 @5xl/section:px-0">
<Heading size="compact">{COPY.text}</Heading>
</SectionContent>
</Section>
)
}API reference
Prop
Type
It also accepts the props of the Base UI part it wraps, and the HTML attributes of the element it renders.
Dependencies
npm: @base-ui/react, class-variance-authority, cn. The CLI installs them for you.
Registry pieces it installs with it:
font-hanken-grotesk
More Editorial
Features
Feature list parts: a Grid rendered as a list in one to four columns or a divided single column, with feature, title and description parts and an outline item that rules its left edge.
Logo
Logo cloud parts: a labelled list laid out as a centred grid, a single wrapping baseline, two columns or muted tiles. Each logo takes an img, svg or text wordmark at three sizes, with a greyscale muted variant.