ICONYZ
English
Chess Rook icon from Boxicons

Chess Rook icon

boxicons:chess-rook

The Chess Rook icon (boxicons:chess-rook) is a free SVG icon from the Boxicons set. It is drawn on a 24 × 24 grid. Boxicons are released under the MIT 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
Boxicons
Author
Boxicons
License
MIT
Size
24 × 24
Tags
chessrook
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M20 17h-2.12l-.75-6H18c1.1 0 2-.9 2-2V3c0-.55-.45-1-1-1H5c-.55 0-1 .45-1 1v6c0 1.1.9 2 2 2h.87l-.75 6H4c-1.1 0-2 .9-2 2v1c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-1c0-1.1-.9-2-2-2m0 3H4v-1h3c.5 0 .93-.38.99-.88l1-8A1 1 0 0 0 8 8.99H6v-5h2v2c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-2h2v2c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-2h2v5h-2a.98.98 0 0 0-.75.34a1 1 0 0 0-.24.79l1 8c.06.5.49.88.99.88h3z"/></svg>

How to use the Chess Rook icon

React

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

<Icon icon="boxicons:chess-rook" width="24" />

Vue

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

<template>
  <Icon icon="boxicons:chess-rook" width="24" />
</template>

Svelte

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

<Icon icon="boxicons:chess-rook" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[boxicons--chess-rook]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/boxicons -->
<div class="i-boxicons:chess-rook"></div>

Web component

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

<iconify-icon icon="boxicons:chess-rook"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/boxicons/chess-rook.svg" alt="Chess Rook icon" width="24" height="24">

Related icons in Boxicons

Chess Rook icon in other icon sets

Chess Rook icon FAQ

Is the Chess Rook icon free for commercial use?

Yes. Boxicons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Chess Rook icon in React?

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

How do I add the Chess Rook icon to a web page?

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

Browse all Boxicons →