The HugeIcons shadcn square icon is a simple geometric shape representing a square, often used to denote a generic container, a selection option, or a basic block element in user interfaces.
Common uses
- Default button state
- Placeholder for content blocks
- Generic UI element
Use it in React
Install
npm i @hugeicons/react @hugeicons/core-free-iconsImport & render
import { HugeiconsIcon } from '@hugeicons/react';
import { ShadcnSquareIcon } from '@hugeicons/core-free-icons';
<HugeiconsIcon icon={ShadcnSquareIcon} size={24} strokeWidth={1.5} />Details
- Library
- HugeIcons (5,121 icons)
- License
- MIT
- viewBox
0 0 24 24- Keywords
- square iconbox iconcontainer iconblock icon
FAQ
- What is the shadcn square icon used for?
- It's a versatile icon representing a square, suitable for generic UI elements, placeholders, or default states.
- How do I use the shadcn square icon in React?
- Import it using `import { ShadcnSquareIcon } from '@hugeicons/core-free-icons';` and render it with `<HugeiconsIcon icon={ShadcnSquareIcon} />`.
- What is the license for this icon?
- The shadcn square icon is distributed under the MIT license, allowing for free use in commercial and non-commercial projects.
Related icons
The same idea in other libraries, and near matches in HugeIcons.
Looking for something else? Search HugeIcons and 4 more libraries by description →
The search behind these pages runs as a Claude Code skill. What skills are and how I ship them →