Turn the square icon into a finished app icon or favicon: pick a background, a corner radius and a stroke weight, then download SVG, PNG or a full icon package.
A checkbox, a stop control, or a neutral container. In media controls a filled square means stop.
Lucide's Square at 2px stroke. Drag the icon to reposition it, then download.
A checkbox, a stop control, or a neutral container. In media controls a filled square means stop.
Pure geometric shapes are containers rather than symbols: a circle, square, triangle or hexagon means whatever you put inside it or next to it. That makes them the most flexible marks available and the least self-explanatory. As app icons they are extremely robust — a filled shape is the most downscale-resistant thing you can draw — and they work best when the shape itself is doing the differentiating, for example a hexagon in a category where everyone else ships a rounded square.
Perfectly robust when aligned to the pixel grid. Off-grid, the edges blur — snap the coordinates to integers.
Stroke weight is the control that matters most here. Lucide icons are drawn on a 24 × 24 grid with a 2px stroke, which means that when the icon is scaled down to 16px the stroke is effectively 1.33px — below one device pixel on a standard-density display. Raising the stroke to 2.5 or 3 before exporting keeps the shape solid; lowering it to 1.5 suits large app icons where a heavy stroke looks clumsy. The editor exposes this as a slider, so you can find the value that survives your smallest target size rather than guessing.
If you want the icon in a Vue project rather than as a downloaded asset, it is a named export of the lucide package:
import { Square } from 'lucide-vue-next'
<Square :size="24" :stroke-width="2" /> The download button above gives you something different: the icon composed onto a background with a corner radius, exported as a flat SVG path set. The exporter converts the icon out of its <foreignObject> wrapper first, because a foreign object taints an HTML canvas and would otherwise break PNG and ICO rasterisation.
Open the free editor to change the background, gradient, corner radius, icon size, rotation and stroke weight — then export SVG, PNG, ICO or a complete favicon package with manifest and HTML.
Open the square icon editorOther icons in the shapes group.