Hover the icon or press Play. Suggested motion: turn. Pick another to preview it and update the animated code:
Cross icon
A free cross 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/cross.jsonimport * as React from "react";
/**
* Cross from Phosphor Icons (https://github.com/phosphor-icons/core), MIT.
* Via Cuelark UI: ui.cuelark.com/icons/phosphor/cross. Sized in em, colored by currentColor.
*/
export function PiCrossIcon(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="M200,72H160V32a16,16,0,0,0-16-16H112A16,16,0,0,0,96,32V72H56A16,16,0,0,0,40,88v32a16,16,0,0,0,16,16H96v88a16,16,0,0,0,16,16h32a16,16,0,0,0,16-16V136h40a16,16,0,0,0,16-16V88A16,16,0,0,0,200,72Zm0,48H152a8,8,0,0,0-8,8v96H112V128a8,8,0,0,0-8-8H56V88h48a8,8,0,0,0,8-8V32h32V80a8,8,0,0,0,8,8h48Z"
/>
</svg>
);
}import { PiCross } from "react-icons/pi";
export function Example() {
return <PiCross 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="M200,72H160V32a16,16,0,0,0-16-16H112A16,16,0,0,0,96,32V72H56A16,16,0,0,0,40,88v32a16,16,0,0,0,16,16H96v88a16,16,0,0,0,16,16h32a16,16,0,0,0,16-16V136h40a16,16,0,0,0,16-16V88A16,16,0,0,0,200,72Zm0,48H152a8,8,0,0,0-8,8v96H112V128a8,8,0,0,0-8-8H56V88h48a8,8,0,0,0,8-8V32h32V80a8,8,0,0,0,8,8h48Z"
/>
</svg>"Cross" icon from Phosphor Icons (https://github.com/phosphor-icons/core), licensed under MIT license.Related icons: close, x, cancel, dismiss
- cross bold
- cross duotone
- cross fill
- cross light
- cross thin
- crown cross
- crown cross bold
- crown cross duotone
- crown cross fill
- crown cross light
- crown cross thin
- article ny times
- article ny times bold
- article ny times duotone
- article ny times fill
- article ny times light
- article ny times thin
- bluetooth x
- bluetooth x bold
- bluetooth x duotone
- bluetooth x fill
- bluetooth x light
- bluetooth x thin
- calendar x