Customizeable <CheckboxGroup />
See original GitHub issueWhat problem does this feature solve?
With this we are not limited to just passing the options
key values to the <CheckboxGroup />
property, we can customize how the checkboxes group would look like. We can put them inside <Card> components for example
What does the proposed API look like?
<Card>
<Checkbox>
Select All
</Checkbox>
</Card>
<Card>
<CheckboxGroup
value={1}
>
Option 1
</CheckboxGroup>
</Card>
<Card>
<CheckboxGroup
value={2}
>
Option 2
</CheckboxGroup>
</Card>
<Card>
<CheckboxGroup
value={3}
>
Option 3
</CheckboxGroup>
</Card>
it would look like this https://imgur.com/a/TVegf
Issue Analytics
- State:
- Created 6 years ago
- Comments:12 (5 by maintainers)
Top Results From Across the Web
How To Create a Custom Checkbox - W3Schools
Learn how to create custom checkboxes and radio buttons with CSS. Default: One Two One Two. Custom checkbox: One
Read more >Pure CSS Custom Checkbox Style | Modern CSS Solutions
We'll create custom, cross-browser, theme-able, scalable checkboxes in pure CSS. We'll use `currentColor`, the `em` unit, SVG, and CSS grid ...
Read more >Custom HTML and CSS Checkbox Examples You Can Use Too
Material Inspired Checkboxes and Radio Groups. HTML; SCSS ... The checkboxes are customizable according to user preference.
Read more >91 Checkboxes CSS - Free Frontend
Collection of free HTML and CSS custom checkbox examples: with image, with label, checked, etc. Update of February 2020 collection. 8 new items....
Read more >Make group of checkboxes required - Stack Overflow
When the form is submitted, loop through all the checkboxes and verify that at least one is checked using Array#some ; otherwise, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve implemented a similar feature in a internal project, I’d like the API looks like this:
Thanks for the help @yesmeck. When I free up some time I will help updating the documentation. 👍