x
1
<div><a href="#" type="button" class="whitespace-nowrap inline-flex items-center justify-center rounded-md font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 bg-primary text-primary-foreground shadow hover:bg-primary/90 px-4 py-2 h-9 text-sm">Primary</a></div>
1
2
3
render(TestView.new) do
Link(href: "#", variant: :primary) { "Primary" }
end