x
1
2
3
<div>
<h1 class="scroll-m-20 text-3xl font-bold leading-normal tracking-tight lg:text-4xl" variant="primary" weight="medium">This is an H1 heading</h1>
</div>
1
2
3
render(TestView.new) do
TypographyH1(variant:, weight:) { "This is an H1 heading" }
end
Param Description Input