x
1
<div><button 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-secondary text-secondary-foreground hover:bg-opacity-80 px-4 py-2 h-9 text-sm">Secondary</button></div>
1
2
3
render(TestView.new) do Button(variant:, size:) { variant.capitalize }end
Secondary Button
No params configured.