Sign in to save and sync your custom style presets across all devices.
Get access to 300k+ icons directly in your editor with our free extension.
The X Square icon (also known as cross, close, cancel) is a professionally designed asset from the Boxicons collection. Created by Boxicons, this icon follows modern design principles, ensuring clarity and consistency across various digital platforms.
Whether you are building a React application, a mobile interface, or a static website, the X Square icon is optimized for seamless integration. It comes with pre-built snippets for React (JSX), HTML/CSS, and standard SVG code, allowing you to drop it into your project in seconds.
Scalable Vector Graphics (SVG), PNG (16px to 512px)
Color, Stroke Width, Rotation, Flip (H/V)
MIT (Details)
Part of 3,768 icons in Boxicons
This asset is frequently searched along with other Boxicons icons. We have identified over 41 related icons that might fit your project's aesthetic.The design language of X Square is highly compatible with modern UI frameworks like Tailwind CSS, Material Design, and Bootstrap.
Keywords: X Square svg code, free cross icon, free close icon, free cancel icon, free download x-square png, Boxicons icons,boxicons icon set, vector interface symbols, X Square button icon.
Using components helps you organize your icons efficiently, enables dynamic styling, and ensures consistency across your application. Simply paste the code below into your project.
Loading...Import the component and pass standard SVG props or Tailwind classes:
import { XSquareIcon } from './XSquareIcon';
// Using standard props
<XSquareIcon width="24" height="24" fill="red" />
// Using Tailwind CSS (ensure you set fill/stroke to currentColor in SVG)
<XSquareIcon className="w-6 h-6 text-blue-500" />Use the x-square icon to draw attention to key features or services in your application.
You have a new notification related to x-square. Check it out now!
Total Interactions