NuxtUI icons forced to width and height 1em!
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 96
- Avg merge
- 8h 12m
- Merged PRs (30d)
- 2
Description
Normal button:
<UButton
color="info"
variant="soft"
size="xl"
icon="i-heroicons-question-mark-circle"
class="rounded-full"
aria-label="Show keyboard shortcuts"
/>
Im using Nuxt4 and NuxtUI 3
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported sizing with Nuxt 4, Nuxt UI 3, and the UButton icon prop shown in the issue. Trace the icon component entry point and compare the rendered dimensions with the screenshots; done means the icon is no longer forced to width and height 1em while the button example continues to render correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nuxt, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100