ICONYZ
English
Collapse icon from TopCoat Icons

Collapse icon

topcoat:collapse

The Collapse icon (topcoat:collapse) is a free SVG icon from the TopCoat Icons set by TopCoat. It is drawn on a 42 × 42 grid. TopCoat Icons are released under the Apache 2.0 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
TopCoat Icons
Author
TopCoat
License
Apache-2.0
Size
42 × 42
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="42" height="42" viewBox="0 0 42 42"><path fill="currentColor" d="M1.325 36.209L5.78 40.66c1.134 1.135 1.576 1.105 2.679 0l5.691-5.684l5.35 5.354V22.5H1.655l5.359 5.346l-5.689 5.688c-1.084 1.081-1.116 1.564 0 2.675M39.676 6.79l-4.455-4.451c-1.134-1.134-1.576-1.104-2.679 0l-5.69 5.685L21.5 2.669v17.83h17.846l-5.359-5.347l5.689-5.685c1.084-1.082 1.113-1.565 0-2.677"/></svg>

How to use the Collapse icon

React

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

<Icon icon="topcoat:collapse" width="24" />

Vue

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

<template>
  <Icon icon="topcoat:collapse" width="24" />
</template>

Svelte

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

<Icon icon="topcoat:collapse" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="topcoat:collapse"></iconify-icon>

HTML image

<img src="https://icons.sys.karaztherapy.ma/api/public/svg/topcoat/collapse.svg" alt="Collapse icon" width="24" height="24">

Collapse icon in other icon sets

Collapse icon FAQ

Is the Collapse icon free for commercial use?

Yes. TopCoat Icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.

How do I use the Collapse icon in React?

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

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

Link the SVG file in an image tag: <img src="https://icons.sys.karaztherapy.ma/api/public/svg/topcoat/collapse.svg" alt="Collapse icon">, or paste the SVG code inline to style it with CSS.

Browse all TopCoat Icons →