Heading 1
Heading 2
Heading 3
Heading 4
import { Heading } from "@/components/ui/preskok-ui/heading"
export function HeadingPreskokDemo() {
return (
<div className="space-y-2">
<Heading level={1}>Heading 1</Heading>
<Heading level={2}>Heading 2</Heading>
<Heading level={3}>Heading 3</Heading>
<Heading level={4}>Heading 4</Heading>
</div>
)
}
Installation
pnpmnpmyarnbunpnpm dlx @preskok-org/ui@latest add heading
Usage
import { Heading } from "@/registry/preskok/ui/preskok-ui/heading"
export function Example() {
return <Heading level={2}>Title</Heading>
}