Icon Button
- from @klarhimmel
A button with only an icon; the required label is its accessible name and its tooltip, with a 44 px hit area and a toggle state.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @klarhimmel/icon-buttonComponent source
No live preview has been built for this component yet.
Registry dependencies4
Packages0
No npm packages are installed with it.