raunofreiberg / ui-playbook

The documented collection of UI components 🤓
https://uiplaybook.dev
MIT License
1.37k stars 73 forks source link

Radio Button #27

Open JamesGelok opened 3 years ago

JamesGelok commented 3 years ago

Radio Button

A radio button or option button is a graphical control element that allows the user to choose only one of a predefined set of mutually exclusive options.

Functionality

This component should use the HTML <input type="radio" /> element under the hood.

Best practices

TODO

Cover best practices, pitfalls, intricacies or any other non-obvious things to keep in mind. ### Implementation TODO Cover implementation details, possibly get into framework specific nuances. ### Examples TODO If possible, provide links to a few implementations of this component. ### Accessibility TODO Cover relevant accessibility requirements. If a WAI-ARIA design pattern exists for this component, provide links to the relevant sections. ### Resources TODO List the resources used to put the play together. ### Visuals TODO Any relevant visuals that help describe the component. ### Additional context TODO Anything that does not fit into the other categories.
raunofreiberg commented 3 years ago

Nice! I implemented this component a while ago but didn't push the changes. I've added the visual preview in https://github.com/raunofreiberg/ui-playbook/commit/1be634d3904b70a8828a0fdc29642e7c17453a4a.

image

Feel free to carry on! ✌️

zt4ff commented 3 years ago

I would love to carry on with this This will be my first time contributing to open source is there something I should know, please?

LukasPolak commented 3 years ago

@zt4ff check CONTRIBUTING guide