Community forum for knowledge and support

Updated last year

Customizing Radio Buttons: Changing Background Color on Click

At a glance

A community member is looking to customize radio buttons, specifically to change their background color when clicked and revert to the original state when another button is clicked. Another community member suggests using Finsweet Attributes Input Active to attach a class to a div and achieve the desired functionality.

Useful resources

Hey people! Has anyone customized radio buttons before? I'd like to change their background color when clicked and revert to the original state when another button is clicked.

M
M
2 comments

check out our UI elements and then you can use Finsweet Attributes Input Active to attach a class to a div and be able to do exactly what you are talking about.

https://finsweet.com/attributes/input-active

Add a reply
Sign up and join the conversation on Slack