Skip to content

Code Block

The code-block icon represents a block of code or programming.

Add shadcn.io to your AI agent. · Pro It installs Code Block, or any of 294k icons, from a prompt, with Pro.

Set up MCP

Exports at 24 × 24 px

Code Block icon from BoxIcons
Get Pro

1,609 in BoxIconsCC BY 4.0 license (opens in a new tab)Free to copy and download

Code

Code Block in your framework

In any framework. Customize it above, and the code follows.

export const CodeBlockIcon = (props: React.SVGProps<SVGSVGElement>) => (
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" {...props}>
    <path fill="currentColor" d="M20 3H4c-1.103 0-2 .897-2 2v14c0 1.103.897 2 2 2h16c1.103 0 2-.897 2-2V5c0-1.103-.897-2-2-2M4 19V7h16l.002 12z"/><path fill="currentColor" d="M9.293 9.293L5.586 13l3.707 3.707l1.414-1.414L8.414 13l2.293-2.293zm5.414 0l-1.414 1.414L15.586 13l-2.293 2.293l1.414 1.414L18.414 13z"/>
  </svg>
);

Other libraries

Code Block in 5 more libraries

Each library draws it its own way. Open one to compare.

  • Code Block icon from Phosphor
  • Code Block icon from Remix Icon
  • Code Block icon from Carbon
  • Code Block icon from Majesticons
  • Code Block icon from Pixel Icon

BoxIcons

Icons that share its tags, in the same style.

  • Code icon from BoxIcons
  • Code Alt icon from BoxIcons
  • Code Curly icon from BoxIcons
  • Bxl C Plus Plus icon from BoxIcons
  • Bxl Django icon from BoxIcons
  • Bxl Java icon from BoxIcons
  • Bxl Stack Overflow icon from BoxIcons
  • Bxl Visual Studio icon from BoxIcons
  • Bxl Codepen icon from BoxIcons
  • Bxl Docker icon from BoxIcons
  • Bxl Go Lang icon from BoxIcons
  • Bxl Javascript icon from BoxIcons
  • Bxl Php icon from BoxIcons
  • Bxl Python icon from BoxIcons
  • Bracket icon from BoxIcons
  • Bxl Dev To icon from BoxIcons
  • Bxl Spring Boot icon from BoxIcons
  • Bxs File Css icon from BoxIcons
  • Bxs File Html icon from BoxIcons
  • Bxs File Js icon from BoxIcons
  • Git Commit icon from BoxIcons
  • Git Compare icon from BoxIcons
  • Git Merge icon from BoxIcons
  • Git Repo Forked icon from BoxIcons

Skip the copy and paste. With Pro, your AI agent finds and installs any BoxIcons icon from a prompt.

Get Pro

Tags

Browse by tag

Code Block is tagged development, programming, code and 1 more. Related tags follow; each opens its icons from every library.

Pricing

BoxIcons MCP, with Pro

Ask for Code Block or any of 1,609 BoxIcons icons and your agent installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates. The icons stay free.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

Billed once a year in USD. Cancel anytime.

Individual

For personal projects & open source

$32instead of $49/mo

$389 billed yearly

  • How many people can use the license.Seats: 1 seat
  • Client work, SaaS products and anything you charge for.Commercial use: Personal & open source only
  • Production-ready React sections: hero, pricing, features, dashboards and more.Pro blocks: 6,000+ blocks
  • Complete multi-page sites you can ship as they are.Templates: All 14 templates
  • React icons from every major library, installable with one command.React icons: 294k+ icons
  • Presets that restyle every block, in light and dark.Themes: All 59 themes
  • Lets your AI editor search, preview and install blocks for you.MCP server: Basic usage
  • Priority requests are answered first.Support: Standard

Team

Most popular

For freelancers, agencies & startups

$66instead of $99/mo

$789 billed yearly · ≈ $13/dev/mo

Everything in Individual, plus

  • How many people can use the license.Seats: Up to 5 seats
  • Client work, SaaS products and anything you charge for.Commercial use: Included
  • Lets your AI editor search, preview and install blocks for you.MCP server: High usage
  • Priority requests are answered first.Support: Priority

Organization

For companies with larger teams

$132instead of $199/mo

$1,589 billed yearly

Everything in Team, plus

  • How many people can use the license.Seats: Unlimited seats
  • Lets your AI editor search, preview and install blocks for you.MCP server: Unlimited usage
  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

FAQ

Frequently asked questions

What the Code Block icon means and where it's used, then how to install, style and license it.

Install Code Block from a prompt

MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.

Get Pro