The HugeIcons asterisk icon visually represents a star shape and is commonly used to denote required fields in forms or as a general symbol for emphasis.
Common uses
- Required form field indicator
- Placeholder text marker
- General emphasis symbol
Use it in React
Install
npm i @hugeicons/react @hugeicons/core-free-iconsImport & render
import { HugeiconsIcon } from '@hugeicons/react';
import { AsteriskIcon } from '@hugeicons/core-free-icons';
<HugeiconsIcon icon={AsteriskIcon} size={24} strokeWidth={1.5} />Details
- Library
- HugeIcons (5,121 icons)
- License
- MIT
- viewBox
0 0 24 24- Keywords
- starrequiredimportantattention
FAQ
- What is the asterisk icon typically used for?
- It's often used to mark fields that are mandatory in a form. It can also serve as a general symbol for emphasis or to indicate a footnote.
- How do I use the AsteriskIcon in React?
- Import both HugeiconsIcon and AsteriskIcon, then render <HugeiconsIcon icon={AsteriskIcon} />. Ensure you have the correct imports from '@hugeicons/react' and '@hugeicons/core-free-icons'.
- What is the license for this icon?
- The HugeIcons asterisk icon is distributed under the MIT license, allowing for free use in both personal and commercial projects.
Related icons
The same idea in other libraries, and near matches in HugeIcons.