[bug]: Not able to resize icons inside buttons
Author: SciSaifCreated Jan 9, 2025Updated Sep 27, 2026
Labelsbugstale?
Describe the bug
Because of this change:
I am not able to change the size of the icon inside the button
Affected component/components
Button
How to reproduce
Button variant="outline" className='text-white bg-red-400 rounded-full ' size={'icon'} >
<HandIcon size={36} />
</Button>Codesandbox/StackBlitz link
No response
Logs
No response
System Info
Windows 11, Edge browserBefore submitting
- I've made research efforts and searched the documentation
- I've searched for existing issues
Source: shadcn-ui/ui