Replies: 2 comments 1 reply
-
Great suggestion. In the meantime, since there's no Radio Group controller wrapping native radios, it's really up to you to style them however you want. One option is to put them in a flex container with <div style="display: flex; flex-direction: column; gap: .5rem;">
<label><input type="radio" name="radio" value="1" checked> Option 1</label>
<label><input type="radio" name="radio" value="2"> Option 2</label>
<label><input type="radio" name="radio" value="3"> Option 3</label>
</div> We'll get an example of this in the docs soon! |
Beta Was this translation helpful? Give feedback.
1 reply
-
Yeah, after about 15 minutes of playing around I remembered that there were layout utilities and used |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
All of the examples on the native radio buttons documentation page have a horizontal arrangement. It's not immediately obvious how to arrange them vertically so it would be nice to see at least one example of a vertical arrangement.
Beta Was this translation helpful? Give feedback.
All reactions