Icons

Boxicons Block Icon

The Block icon from Boxicons is a outline-style SVG available in IconStash alongside 3,389+ other icons from the same library. Copy its SVG code, export a custom PNG, or download a React component — no account required.

Interactive Customizer

1.5px
128px

About this icon

Use the Block icon

The Block icon from Boxicons fits naturally in login and authentication flows, permission management panels, privacy settings, VPN apps, and security dashboards. 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 Block icon stays pixel-perfect at 16px, 24px, 48px, and any large marketing size.

Design & UX integration

Aesthetic characteristics

Boxicons gives Block a slightly chunkier, more rounded treatment than most outline sets, and ships Regular, Solid and Logos variants. The Logos subset — brand marks redrawn to match the UI icons — makes it a practical single-dependency choice for marketing sites.

UX best practices

Security icons carry more weight than most: users read a lock, shield or key as a trust signal, so the Block icon should never be decorative. Place it next to the mechanism it actually describes — the payment step, the HTTPS indicator, the permission toggle — rather than in a generic header where it implies protection that may not exist.

Use in your project

React / npm — Boxicons

npm install react-icons

import { BxBlock } from 'react-icons/bx';

// JSX usage:
<BxBlock size={24} />

Copy the SVG markup directly from the IconStash editor to use the Block 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="block icon"><path fill="currentColor" d="M12 2C6.486 2 2 6.486 2 12s4.486 10 10 10s10-4.486 10-10S17.514 2 12 2M4 12c0-1.846.634-3.542 1.688-4.897l11.209 11.209A7.95 7.95 0 0 1 12 20c-4.411 0-8-3.589-8-8m14.312 4.897L7.103 5.688A7.95 7.95 0 0 1 12 4c4.411 0 8 3.589 8 8a7.95 7.95 0 0 1-1.688 4.897"/></svg>

Library & related icons

About Boxicons

High-quality web icons by Atisa. 3,300+ carefully crafted icons in Regular, Solid, and Logos variants. One of the most popular free icon packs for web development.

  • Total icons: 3,389+
  • Style: multi-style
  • License: MIT
  • npm package: boxicons
Browse all 3,389 Boxicons icons →

People also search for

Frequently asked questions

What is the Block icon?

The Block icon is a outline-style SVG icon from the Boxicons library, categorized under Security. It is designed for use in login and authentication flows, permission management panels, privacy settings, VPN apps, and security dashboards. 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 Block icon free to use?

Yes. Boxicons is licensed under MIT, making it free for personal and commercial use. This means you can freely use the Block 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 Block icon in React?

Install the package with `npm install boxicons`, 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 Boxicons icon library?

High-quality web icons by Atisa. 3,300+ carefully crafted icons in Regular, Solid, and Logos variants. One of the most popular free icon packs for web development. It contains 3,389+ icons. IconStash indexes the complete Boxicons collection alongside 27 other open-source libraries — 134,701 icons total — in a single unified search interface.

Can I download the Block icon as a PNG?

Yes. Open the Block 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 Boxicons Block icon follows this visual convention throughout the Boxicons design system.

Can I change the Block 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.