Hover the icon or press Play. Suggested motion: shake. Pick another to preview it and update the animated code:
Warning icon
A free warning icon from Phosphor Icons, ready for React. Use it static or animated: both versions are below, copy-paste or one shadcn command away. Sized in em and colored by currentColor.
- License
- MIT license
- Project
- github.com
npx shadcn@latest add https://ui.cuelark.com/r/icons/phosphor/warning.jsonimport * as React from "react";
/**
* Warning from Phosphor Icons (https://github.com/phosphor-icons/core), MIT.
* Via Cuelark UI: ui.cuelark.com/icons/phosphor/warning. Sized in em, colored by currentColor.
*/
export function PiWarningIcon(props: React.SVGProps<SVGSVGElement>) {
return (
<svg
aria-hidden="true"
viewBox="0 0 256 256"
stroke="currentColor"
fill="currentColor"
strokeWidth="0"
width="1em"
height="1em"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<path
d="M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"
/>
</svg>
);
}import { PiWarning } from "react-icons/pi";
export function Example() {
return <PiWarning className="size-5" />;
}<svg
viewBox="0 0 256 256"
stroke="currentColor"
fill="currentColor"
stroke-width="0"
width="1em"
height="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"
/>
</svg>"Warning" icon from Phosphor Icons (https://github.com/phosphor-icons/core), licensed under MIT license.Related icons: alert, caution, error, danger
- battery warning
- battery warning bold
- battery warning duotone
- battery warning fill
- battery warning light
- battery warning thin
- battery warning vertical
- battery warning vertical bold
- battery warning vertical duotone
- battery warning vertical fill
- battery warning vertical light
- battery warning vertical thin
- cloud warning
- cloud warning bold
- cloud warning duotone
- cloud warning fill
- cloud warning light
- cloud warning thin
- seal warning
- seal warning bold
- seal warning duotone
- seal warning fill
- seal warning light
- seal warning thin
Warning icon in other sets
Similar Phosphor Icons icons
- wallet
- wallet bold
- wallet duotone
- wallet fill
- wallet light
- wallet thin
- warehouse
- warehouse bold
- warehouse duotone
- warehouse fill
- warehouse light
- warehouse thin
- warning bold
- warning circle
- warning circle bold
- warning circle duotone
- warning circle fill
- warning circle light
- warning circle thin
- warning diamond
- warning diamond bold
- warning diamond duotone
- warning diamond fill
- warning diamond light