ICONYZ
English
Fork icon from Gitlab SVGs

Fork icon

pajamas:fork

The Fork icon (pajamas:fork) is a free SVG icon from the Gitlab SVGs set by GitLab B.V.. It is drawn on a 24 × 24 grid. Gitlab SVGs icons 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
Gitlab SVGs
Author
GitLab B.V.
License
MIT
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M5.5 3.5a1 1 0 1 1-2 0a1 1 0 0 1 2 0m-.25 2.386a2.501 2.501 0 1 0-1.5 0v.364a2.5 2.5 0 0 0 2.5 2.5a1 1 0 0 1 1 1v.364a2.501 2.501 0 1 0 1.5 0V9.75a1 1 0 0 1 1-1a2.5 2.5 0 0 0 2.5-2.5v-.364a2.501 2.501 0 1 0-1.5 0v.364a1 1 0 0 1-1 1c-.681 0-1.3.273-1.75.715a2.5 2.5 0 0 0-1.75-.715a1 1 0 0 1-1-1zM11.5 4.5a1 1 0 1 0 0-2a1 1 0 0 0 0 2m-3.5 9a1 1 0 1 0 0-2a1 1 0 0 0 0 2" clip-rule="evenodd"/></svg>

How to use the Fork icon

React

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

<Icon icon="pajamas:fork" width="24" />

Vue

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

<template>
  <Icon icon="pajamas:fork" width="24" />
</template>

Svelte

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

<Icon icon="pajamas:fork" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[pajamas--fork]"></span>

UnoCSS

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

Web component

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

<iconify-icon icon="pajamas:fork"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/pajamas/fork.svg" alt="Fork icon" width="24" height="24">

Fork icon in other icon sets

Fork icon FAQ

Is the Fork icon free for commercial use?

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

How do I use the Fork icon in React?

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

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

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

Browse all Gitlab SVGs icons →