ui icon indicating copy to clipboard operation
ui copied to clipboard

[bug]: Button size `icon-sm` and `icon-lg` missing in style `default`

Open FranciscoMoretti opened this issue 1 month ago • 2 comments

Describe the bug

The button file for new-york style has the sizes icon-sm and icon-lg`, but the one for the default style doesn't

  • new-york: https://github.com/shadcn-ui/ui/blob/main/apps/v4/public/r/styles/new-york-v4/button.json
  • default: https://github.com/shadcn-ui/ui/blob/main/apps/v4/public/r/styles/default/button.json

Affected component/components

Button

How to reproduce

  1. Set stype to "default" in components.json
  2. npx shadcn@latest add button --overwrite
  3. The button.tsx file doesn't have variants icon-sm nor icon-lg

Codesandbox/StackBlitz link

No response

Logs


System Info

System: Windows
CLI version: 3.5.0

Before submitting

  • [x] I've made research efforts and searched the documentation
  • [x] I've searched for existing issues

FranciscoMoretti avatar Nov 10 '25 08:11 FranciscoMoretti

@FranciscoMoretti Can i work on this bug?

nipunh avatar Nov 13 '25 02:11 nipunh

@nipunh you don't need my permission. I'm not working on it if that's what you are asking

FranciscoMoretti avatar Nov 13 '25 07:11 FranciscoMoretti