The Phosphor lightning icon visually represents electrical discharge, commonly used to signify power, alerts, or stormy weather conditions in user interfaces.
Common uses
- Indicate a power source or charging status.
- Represent a sudden alert or warning.
- Symbolize weather conditions like thunderstorms.
Use it in React
Install
npm i @phosphor-icons/reactImport & render
import { Lightning } from '@phosphor-icons/react';
<Lightning size={24} />Styles
Phosphor ships this icon in 6 styles — each its own import:
regular
<Lightning size={24} />thin
<Lightning size={24} weight="thin" />light
<Lightning size={24} weight="light" />bold
<Lightning size={24} weight="bold" />fill
<Lightning size={24} weight="fill" />duotone
<Lightning size={24} weight="duotone" />Details
- Library
- Phosphor (1,512 icons)
- License
- MIT
- viewBox
0 0 256 256- Category
- weather
- Keywords
- meteorologystormythunderstormthunderboltchargedchargerchargingpowerelectricityflashweathersystemlightning
FAQ
- What is the lightning icon used for?
- It's used to represent electricity, power, charging, or stormy weather. It can also signify alerts or warnings.
- How do I use the lightning icon in React?
- Import it from the library and use it as a component: import { Lightning } from '@phosphor-icons/react'; <Lightning />.
- What is the license for the Phosphor lightning icon?
- The Phosphor icon library, including the lightning icon, is available under the MIT license.
Related icons
The same idea in other libraries, and near matches in Phosphor.