Icons

Solar Code Square Broken Icon

The Solar Icons Code Square Broken icon uses uses stroked lines with no fill — clean, legible, and versatile at any size. Compare it against similar icons in 27 other libraries on IconStash, adjust stroke width, change colors with a hex picker, and export at any size.

Interactive Customizer

1.5px
128px

About this icon

Use the Code Square Broken icon

The Code Square Broken icon from Solar Icons fits naturally in document management systems, admin panels, file explorers, CMS dashboards, cloud storage UIs, and PDF viewers. Its outline style makes it ideal for app navigation bars, toolbar buttons, form labels, and UI controls where clarity at 16–24px is critical.

Open it in IconStash to set stroke color via presets or a custom hex value, choose an exact pixel size (16–512px), control stroke width (0.1–3px), and preview against dark, light, or checkered backgrounds before downloading.

Export formats

Copy clean SVG vectors with one click, generate custom-size PNG files from 16px to 512px, export JSX/React components ready to paste into your project, or use the icon as a CSS background-mask for flexible theming.

All exports are based on the same editable vector — so the Code Square Broken icon stays pixel-perfect at 16px, 24px, 48px, and any large marketing size.

Design & UX integration

Aesthetic characteristics

Solar renders Code Square Broken across six styles — Linear, Outline, Bold, Duotone, Broken and Bold Duotone. Broken and Duotone are the distinctive ones: they add a deliberate gap or a second colour layer, which is what makes the set popular for SaaS dashboards and mobile apps that need hierarchy without extra colour.

UX best practices

In file explorers, document lists and CMS dashboards, put the Code Square Broken icon immediately to the left of the filename so the eye scans one straight line. If it triggers a destructive action, keep a confirmation step — a delete or archive glyph is too easy to hit by accident in a dense list.

Use in your project

React / npm — Solar Icons

npm install solar-icon-set

import CodeSquareBroken from 'solar-icon-set/CodeSquareBroken';

// JSX usage:
<CodeSquareBroken size={24} iconStyle="Linear" />

Copy the SVG markup directly from the IconStash editor to use the Code Square Broken icon without any npm package — paste it into HTML, JSX, or a design tool.

Inline SVG (copy & paste)

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" role="img" aria-label="code-square-broken icon"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-width="1.5"><path d="m15.5 9l.172.172c1.333 1.333 2 2 2 2.828s-.667 1.495-2 2.828L15.5 15m-2.206-7.83L12 12l-1.294 4.83M8.5 9l-.172.172c-1.333 1.333-2 2-2 2.828s.667 1.495 2 2.828L8.5 15"/><path d="M22 12c0 4.714 0 7.071-1.465 8.535C19.072 22 16.714 22 12 22s-7.071 0-8.536-1.465C2 19.072 2 16.714 2 12s0-7.071 1.464-8.536C4.93 2 7.286 2 12 2s7.071 0 8.535 1.464c.974.974 1.3 2.343 1.41 4.536"/></g></svg>

Library & related icons

About Solar Icons

Premium icon pack with 7,400+ icons across six styles: Linear, Outline, Bold, Duotone, Broken, and Bold Duotone. Widely used in SaaS and mobile product design.

  • Total icons: 7,410+
  • Style: multi-style
  • License: CC BY 4.0
  • npm package: solar-icon-set
Browse all 7,410 Solar Icons icons →

People also search for

Frequently asked questions

What is the Code Square Broken icon?

The Code Square Broken icon is a outline-style SVG icon from the Solar Icons library, categorized under Files. It is designed for use in document management systems, admin panels, file explorers, CMS dashboards, cloud storage UIs, and PDF viewers. On IconStash you can preview it, customize its color and size, and export it in SVG, PNG, JSX, or CSS formats directly from your browser.

Is the Code Square Broken icon free to use?

Yes. Solar Icons is licensed under CC BY 4.0, making it free for personal and commercial use. This means you can freely use the Code Square Broken icon in personal, commercial, and open-source projects. IconStash provides SVG and PNG access at no cost with no login required.

How do I use the Code Square Broken icon in React?

Install the package with `npm install solar-icon-set`, then import the component into your React file. IconStash's detail panel shows you the exact npm command, import statement, and JSX usage snippet for every icon — just click the Code tab and copy with one click.

What is the Solar Icons icon library?

Premium icon pack with 7,400+ icons across six styles: Linear, Outline, Bold, Duotone, Broken, and Bold Duotone. Widely used in SaaS and mobile product design. It contains 7,410+ icons. IconStash indexes the complete Solar Icons collection alongside 27 other open-source libraries — 134,701 icons total — in a single unified search interface.

Can I download the Code Square Broken icon as a PNG?

Yes. Open the Code Square Broken icon in IconStash, set your desired pixel size (16px to 512px) in the detail panel, and click Download PNG. You can also export a multi-resolution ZIP pack containing 16, 24, 32, 48, 64, 128, 256, and 512px PNGs with a single click.

What does the outline icon style mean?

An icon in outline style uses stroked lines with no fill — clean, legible, and versatile at any size. This style is best suited for app navigation bars, toolbar buttons, form labels, and UI controls where clarity at 16–24px is critical. The Solar Icons Code Square Broken icon follows this visual convention throughout the Solar Icons design system.

Can I change the Code Square Broken icon's color and size before downloading?

Yes. In IconStash's editor panel, choose from six color presets (blue, slate, green, purple, red, teal) or enter a custom hex value. Drag the size slider (16–256px) or type an exact pixel value up to 512px. Changes apply instantly to the SVG preview, the PNG output, and the copied code.