margin · Lucide
Free SVG margin icon from Lucide. Rendered at 24×24 in the stroke style and licensed under ISC. Copy directly as SVG, React (JSX), or Vue. Download as SVG or PNG. No login, no attribution required for ISC licensed icons.
Tags
- margin
- layout
- design
- style
- padding
- spacing
- gap
- outer spacing
- box model
- whitespace
- space
- offset
- alignment
- position
- css
- ui
Code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" > <rect x="9" y="9" width="6" height="6" rx="1" /> <path d="M21 6v12" /> <path d="M3 6v12" /> <path d="M6 21h12" /> <path d="M6 3h12" /> </svg>
// Run: npx sant-icons get lucide-margin --format react
export function LucideMargin(props) {
return (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
{...props}> <rect x="9" y="9" width="6" height="6" rx="1" /> <path d="M21 6v12" /> <path d="M3 6v12" /> <path d="M6 21h12" /> <path d="M6 3h12" />
</svg>
);
}npx sant-icons get lucide-margin
Properties
margin in other libraries
Related from Lucide
The margin icon ships with Lucide, an open-source icon set licensed under ISC. Search for it as "lucide margin", "margin svg", or any of its tagged terms (margin, layout, design, style, padding, spacing). The SVG is normalised to a 24×24 viewBox so you can drop it into any UI framework alongside the other icons here without scaling concerns.
Need this icon in your codebase fast? Install the MCP server for Claude Code (or any MCP-aware AI tool) and ask the model to fetch lucide-margin directly into your project. No browser context-switch.