x
1
<div><span class="inline-flex items-center rounded-md font-medium ring-1 ring-inset px-2 py-1 text-xs text-primary bg-primary/5 ring-primary/20">My Badge</span></div>
1
2
3
render(TestView.new) do Badge(variant:) { "My Badge" }end
Default Badge
Param | Description | Input |
---|---|---|
— |
|