collapse all icon

collapse-all from Carbon by IBM · Outline · Actions · Apache-2.0 Free for personal and commercial use.

Name
collapse-all
Set
Carbon
Style
Outline
Category
Actions
Viewbox
32×32
License
Apache 2.0

The same icon in other sets

More actions icons from Carbon

Use the collapse all icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 32 32"><path fill="currentColor" d="M30 15h-2V7H13V5h15a2 2 0 0 1 2 2Z"/><path fill="currentColor" d="M25 20h-2v-8H8v-2h15a2 2 0 0 1 2 2Z"/><path fill="currentColor" d="M18 27H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2M4 17v8h14.001L18 17Z"/></svg>

React

import type { SVGProps } from "react";

export function CarbonCollapseAll(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 32 32"><path fill="currentColor" d="M30 15h-2V7H13V5h15a2 2 0 0 1 2 2Z"/><path fill="currentColor" d="M25 20h-2v-8H8v-2h15a2 2 0 0 1 2 2Z"/><path fill="currentColor" d="M18 27H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2M4 17v8h14.001L18 17Z"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 32 32"><path fill="currentColor" d="M30 15h-2V7H13V5h15a2 2 0 0 1 2 2Z"/><path fill="currentColor" d="M25 20h-2v-8H8v-2h15a2 2 0 0 1 2 2Z"/><path fill="currentColor" d="M18 27H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2M4 17v8h14.001L18 17Z"/></svg>
</template>

CSS

.icon-collapse-all {
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M30%2015h-2V7H13V5h15a2%202%200%200%201%202%202Z%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M25%2020h-2v-8H8v-2h15a2%202%200%200%201%202%202Z%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M18%2027H4a2%202%200%200%201-2-2v-8a2%202%200%200%201%202-2h14a2%202%200%200%201%202%202v8a2%202%200%200%201-2%202M4%2017v8h14.001L18%2017Z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M30%2015h-2V7H13V5h15a2%202%200%200%201%202%202Z%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M25%2020h-2v-8H8v-2h15a2%202%200%200%201%202%202Z%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M18%2027H4a2%202%200%200%201-2-2v-8a2%202%200%200%201%202-2h14a2%202%200%200%201%202%202v8a2%202%200%200%201-2%202M4%2017v8h14.001L18%2017Z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/carbon/collapse-all.svg?color=%231a73e8&size=48