icons/Carbon/warning-squareOpen in browser →

warning-square · Carbon

Free SVG warning-square icon from Carbon. Rendered at 24×24 in the filled style and licensed under Apache-2.0. Copy directly as SVG, React (JSX), or Vue. Download as SVG or PNG. No login, no attribution required for Apache-2.0 licensed icons.

warning-square icon — CarbonFree warning-square SVG icon from Carbon, filled style, Apache-2.0 licensed.

Tags

  • warning
  • square

Code

HTML / SVG
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><g transform="scale(0.75) translate(0 0)"><path fill="currentColor" d="M16 20a1.5 1.5 0 1 0 1.5 1.5A1.5 1.5 0 0 0 16 20M15 9h2v9h-2z"/><path fill="currentColor" d="M26 28H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h20a2 2 0 0 1 2 2v20a2 2 0 0 1-2 2M6 6v20h20.001L26 6Z"/></g></svg>
React
// Run: npx sant-icons get carbon-warning-square --format react
export function CarbonWarningSquare(props) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" {...props}><g transform="scale(0.75) translate(0 0)"><path fill="currentColor" d="M16 20a1.5 1.5 0 1 0 1.5 1.5A1.5 1.5 0 0 0 16 20M15 9h2v9h-2z"/><path fill="currentColor" d="M26 28H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h20a2 2 0 0 1 2 2v20a2 2 0 0 1-2 2M6 6v20h20.001L26 6Z"/></g></svg>
  );
}
CLI
npx sant-icons get carbon-warning-square

Properties

Name
warning-square
Library
Carbon
Style
filled
License
Apache-2.0
Version
1.2.30
Identifier
carbon-warning-square

warning-square in other libraries

Related from Carbon

The warning-square icon ships with Carbon, an open-source icon set licensed under Apache-2.0. Search for it as "carbon warning-square", "warning-square svg", or any of its tagged terms (warning, square). 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 carbon-warning-square directly into your project. No browser context-switch.