The HugeIcons square icon is a basic geometric shape, commonly used to represent a generic container, a selected state, or a placeholder.
Common uses
- UI element container
- Checkbox (selected state)
- Placeholder for content
Use it in React
Install
npm i @hugeicons/react @hugeicons/core-free-iconsImport & render
import { HugeiconsIcon } from '@hugeicons/react';
import { SquareIcon } from '@hugeicons/core-free-icons';
<HugeiconsIcon icon={SquareIcon} size={24} strokeWidth={1.5} />Details
- Library
- HugeIcons (5,121 icons)
- License
- MIT
- viewBox
0 0 24 24- Keywords
- boxrectangleframeblock
FAQ
- What is the square icon typically used for?
- It's often used for UI elements like containers, selected states in checkboxes, or as a placeholder.
- How do I use the SquareIcon in React?
- Import both HugeiconsIcon and SquareIcon, then render <HugeiconsIcon icon={SquareIcon} />.
- What is the license for this icon?
- The HugeIcons library, including the SquareIcon, is distributed under the MIT license.
Related icons
The same idea in other libraries, and near matches in HugeIcons.