ICONYZ
English
Cnab icon from File Icons

Cnab icon

file-icons:cnab

The Cnab icon (file-icons:cnab) is a free SVG icon from the File Icons set by John Gardner. It is drawn on a 470 × 512 grid. File Icons are released under the ISC license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
File Icons
Author
John Gardner
License
ISC
Size
470 × 512
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="470" height="512" viewBox="0 0 470 512"><path fill="currentColor" d="M244.27 287.051h165.606v165.607H244.27zM414.016 59.342H269.111v111.785L202.868 38.64L99.364 245.65h207.008l-20.7-41.402h128.344zm-262.21 0L59.342 238.75V59.342zM0 0v144.906h20.7V20.7h124.206V0zm324.313 0v20.7h124.205v124.206h20.7V0zm124.205 367.094V491.3H324.313V512h144.905V367.094zM197.25 400.966c39.647-68.672-10.29-155.04-89.672-155.09s-129.21 86.254-89.476 154.976s139.501 68.785 179.149.113"/></svg>

How to use the Cnab icon

React

import { Icon } from "@iconify/react";

<Icon icon="file-icons:cnab" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="file-icons:cnab" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="file-icons:cnab" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[file-icons--cnab]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/file-icons -->
<div class="i-file-icons:cnab"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="file-icons:cnab"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/file-icons/cnab.svg" alt="Cnab icon" width="24" height="24">

Cnab icon FAQ

Is the Cnab icon free for commercial use?

Yes. File Icons are released under the ISC license, which allows use in personal and commercial projects.

How do I use the Cnab icon in React?

Install @iconify/react and render <Icon icon="file-icons:cnab" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Cnab icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/file-icons/cnab.svg" alt="Cnab icon">, or paste the SVG code inline to style it with CSS.

Browse all File Icons →