text highlight icon

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

Name
text-highlight
Set
Carbon
Style
Outline
Category
Actions
Viewbox
32×32
License
Apache 2.0

More actions icons from Carbon

Use the text highlight icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 32 32"><path fill="currentColor" d="M12 15H5a3 3 0 0 1-3-3v-2a3 3 0 0 1 3-3h5V5a1 1 0 0 0-1-1H3V2h6a3 3 0 0 1 3 3ZM5 9a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h5V9Zm15 14v2a1 1 0 0 0 1 1h5v-4h-5a1 1 0 0 0-1 1"/><path fill="currentColor" d="M2 30h28V2Zm26-2h-7a3 3 0 0 1-3-3v-2a3 3 0 0 1 3-3h5v-2a1 1 0 0 0-1-1h-6v-2h6a3 3 0 0 1 3 3Z"/></svg>

React

import type { SVGProps } from "react";

export function CarbonTextHighlight(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="M12 15H5a3 3 0 0 1-3-3v-2a3 3 0 0 1 3-3h5V5a1 1 0 0 0-1-1H3V2h6a3 3 0 0 1 3 3ZM5 9a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h5V9Zm15 14v2a1 1 0 0 0 1 1h5v-4h-5a1 1 0 0 0-1 1"/><path fill="currentColor" d="M2 30h28V2Zm26-2h-7a3 3 0 0 1-3-3v-2a3 3 0 0 1 3-3h5v-2a1 1 0 0 0-1-1h-6v-2h6a3 3 0 0 1 3 3Z"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 32 32"><path fill="currentColor" d="M12 15H5a3 3 0 0 1-3-3v-2a3 3 0 0 1 3-3h5V5a1 1 0 0 0-1-1H3V2h6a3 3 0 0 1 3 3ZM5 9a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h5V9Zm15 14v2a1 1 0 0 0 1 1h5v-4h-5a1 1 0 0 0-1 1"/><path fill="currentColor" d="M2 30h28V2Zm26-2h-7a3 3 0 0 1-3-3v-2a3 3 0 0 1 3-3h5v-2a1 1 0 0 0-1-1h-6v-2h6a3 3 0 0 1 3 3Z"/></svg>
</template>

CSS

.icon-text-highlight {
  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%22M12%2015H5a3%203%200%200%201-3-3v-2a3%203%200%200%201%203-3h5V5a1%201%200%200%200-1-1H3V2h6a3%203%200%200%201%203%203ZM5%209a1%201%200%200%200-1%201v2a1%201%200%200%200%201%201h5V9Zm15%2014v2a1%201%200%200%200%201%201h5v-4h-5a1%201%200%200%200-1%201%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M2%2030h28V2Zm26-2h-7a3%203%200%200%201-3-3v-2a3%203%200%200%201%203-3h5v-2a1%201%200%200%200-1-1h-6v-2h6a3%203%200%200%201%203%203Z%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%22M12%2015H5a3%203%200%200%201-3-3v-2a3%203%200%200%201%203-3h5V5a1%201%200%200%200-1-1H3V2h6a3%203%200%200%201%203%203ZM5%209a1%201%200%200%200-1%201v2a1%201%200%200%200%201%201h5V9Zm15%2014v2a1%201%200%200%200%201%201h5v-4h-5a1%201%200%200%200-1%201%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M2%2030h28V2Zm26-2h-7a3%203%200%200%201-3-3v-2a3%203%200%200%201%203-3h5v-2a1%201%200%200%200-1-1h-6v-2h6a3%203%200%200%201%203%203Z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

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