#Radio icon size

5 messages · Page 1 of 1 (latest)

tepid solar
#

trying to use tabler icons for radio. Is there way to set icon size independent of radio size? (also set stroke width for the icons)

dusky owl
#

You can customize component styles with Styles API

tepid solar
#

i think var(--radio-icon-size-md) this var should be exposed as a prop. styles={{ icon: { width: rem(20), height: rem(20) } }} this code results in this

tepid solar
#

there's also this transform var. what would be the recommended way to deal with this, Vitaly?

dusky owl
#

Use Styles API to apply styles to elements