Close icon
An X, for close, dismiss and cancel.
About the close icon
Close is one of 58 icons in Actions, drawn next to minus and check. The Line styles draw it with 2 shapes at a 1.5px stroke. It is an open drawing, so the Solid styles keep the same lines at 2px instead of filling them. Rounded has soft corners and round line ends, Sharp has square ones, and all four line up on the same 24px grid, so switching style never moves anything.
It is one of the 200 free icons, so you can use it in personal and client work at no cost. Copy it above, download the file, or get it from the free React package.
- Name
- close
- Category
- Actions
- Styles
- Rounded and Sharp, Line and Solid
- React
- Close, CloseIcon
- License
- Free, commercial use
- Also called
- x, cancel, dismiss, exit
Use the close icon
React
@neaticons/react exports it as Close. It is in the free edition on npm, no key needed.
import { Close } from "@neaticons/react"
import { Close as CloseSolid } from "@neaticons/react/rounded-solid"
import CloseSharp from "@neaticons/react/sharp-stroke/close"
<Close size={24} />
<CloseSolid color="#0A84FF" title="Close" />SVG
The free zip has it as close.svg in each style folder. Or take one file:
/icons/svg/rounded-stroke/close.svg /icons/svg/rounded-solid/close.svg /icons/svg/sharp-stroke/close.svg /icons/svg/sharp-solid/close.svg
Figma
It is in the free Community file, on the Icons page under Actions. It is one component set named close: drop it in, then switch Family (Rounded, Sharp) and Style (Stroke, Solid) in the right panel. More on Figma.
MCP for AI agents
Ask your agent in plain words. A search for “cancel” returns close first, then the agent pulls the code. The MCP comes with Personal and Team. Set it up.
search_icons({ query: "cancel" })
get_icon({ name: "close", style: "rounded-solid", format: "jsx" })