The Heroicons bell icon visually represents an alert or notification, commonly used to draw user attention to new messages, updates, or important events.
Common uses
- Notification indicator in a header
- Alert trigger for system messages
- Reminder icon for tasks
Use it in React
Install
npm i @heroicons/reactImport & render
import { BellIcon } from '@heroicons/react/24/outline';
<BellIcon className="size-6" />Styles
Heroicons ships this icon in 4 styles — each its own import:
24/outline
<BellIcon className="size-6" />24/solid
<BellIcon className="size-6" />20/solid
<BellIcon className="size-6" />16/solid
<BellIcon className="size-6" />Details
- Library
- Heroicons (324 icons)
- License
- MIT
- viewBox
0 0 24 24- Keywords
- bellnotificationalertalarmreminder
FAQ
- What is the bell icon used for?
- It's typically used to signify notifications or alerts, prompting users to check for new information or important updates.
- How do I use the bell icon in React?
- Import it using `import { BellIcon } from '@heroicons/react/24/outline'` and then use it as a React component: `<BellIcon className="h-6 w-6" />`.
- What is the license for Heroicons?
- Heroicons are released 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 Heroicons.