Set each corner on its own, read the shorthand as it collapses, and copy it as CSS, a Tailwind arbitrary value or a theme token.
.card {
border-radius: 24px 4px;
}
<div class="rounded-[24px_4px]" />
@theme {
--radius-card: 24px 4px;
}
One number when all four corners agree, two when the diagonals do, four otherwise, read clockwise from the top left. The output writes the shortest form that means what you set.
Nesting. An inner radius should be the outer one minus the padding between them, or the two curves will not be concentric and the inner box will look squashed into the corner.
If more than one component uses it, yes. A --radius-* entry in @theme gives you a named utility and one place to change the house shape.