The Phosphor x circle icon depicts a common symbol for closing, canceling, or dismissing an item, often used in user interfaces to indicate an action that will remove or close a window, dialog, or notification.
Common uses
- Close button in a modal dialog
- Cancel action for a form submission
- Dismiss notification banner
Use it in React
Install
npm i @phosphor-icons/reactImport & render
import { XCircle } from '@phosphor-icons/react';
<XCircle size={24} />Styles
Phosphor ships this icon in 6 styles — each its own import:
regular
<XCircle size={24} />thin
<XCircle size={24} weight="thin" />light
<XCircle size={24} weight="light" />bold
<XCircle size={24} weight="bold" />fill
<XCircle size={24} weight="fill" />duotone
<XCircle size={24} weight="duotone" />Details
- Library
- Phosphor (1,512 icons)
- License
- MIT
- viewBox
0 0 256 256- Category
- system
- Keywords
- closedcancelleddismissedroundsystemxcircleclosecanceldismisserror
FAQ
- What is the x circle icon used for?
- It's typically used to represent actions like closing, canceling, or dismissing an element in a user interface.
- How do I use the x circle icon in React?
- You can import and use it like this: import { XCircle } from '@phosphor-icons/react'. Then render it as <XCircle size={32} />.
- What is the license for Phosphor icons?
- Phosphor icons are distributed under the MIT license, which allows for free use in both personal and commercial projects.
Related icons
The same idea in other libraries, and near matches in Phosphor.
Looking for something else? Search Phosphor and 4 more libraries by description →
The search behind these pages runs as a Claude Code skill. What skills are and how I ship them →