highlight icon
highlight from BoxIcons v2 by Boxicons · Regular · MIT Free for personal and commercial use.
- Name
- highlight
- Set
- BoxIcons v2
- Style
- Regular
- Viewbox
- 24×24
- License
- MIT
- Aliases
- bx-highlight
The same icon in other sets
Use the highlight icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="m20.707 5.826l-3.535-3.533a1 1 0 0 0-1.408-.006L7.096 10.82a1 1 0 0 0-.273.488l-1.024 4.437L4 18h2.828l1.142-1.129l3.588-.828c.18-.042.345-.133.477-.262l8.667-8.535a1 1 0 0 0 .005-1.42m-9.369 7.833l-2.121-2.12l7.243-7.131l2.12 2.12zM4 20h16v2H4z"/></svg>
React
import type { SVGProps } from "react";
export function BxHighlight(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="m20.707 5.826l-3.535-3.533a1 1 0 0 0-1.408-.006L7.096 10.82a1 1 0 0 0-.273.488l-1.024 4.437L4 18h2.828l1.142-1.129l3.588-.828c.18-.042.345-.133.477-.262l8.667-8.535a1 1 0 0 0 .005-1.42m-9.369 7.833l-2.121-2.12l7.243-7.131l2.12 2.12zM4 20h16v2H4z"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="m20.707 5.826l-3.535-3.533a1 1 0 0 0-1.408-.006L7.096 10.82a1 1 0 0 0-.273.488l-1.024 4.437L4 18h2.828l1.142-1.129l3.588-.828c.18-.042.345-.133.477-.262l8.667-8.535a1 1 0 0 0 .005-1.42m-9.369 7.833l-2.121-2.12l7.243-7.131l2.12 2.12zM4 20h16v2H4z"/></svg> </template>
CSS
.icon-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%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22m20.707%205.826l-3.535-3.533a1%201%200%200%200-1.408-.006L7.096%2010.82a1%201%200%200%200-.273.488l-1.024%204.437L4%2018h2.828l1.142-1.129l3.588-.828c.18-.042.345-.133.477-.262l8.667-8.535a1%201%200%200%200%20.005-1.42m-9.369%207.833l-2.121-2.12l7.243-7.131l2.12%202.12zM4%2020h16v2H4z%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%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22m20.707%205.826l-3.535-3.533a1%201%200%200%200-1.408-.006L7.096%2010.82a1%201%200%200%200-.273.488l-1.024%204.437L4%2018h2.828l1.142-1.129l3.588-.828c.18-.042.345-.133.477-.262l8.667-8.535a1%201%200%200%200%20.005-1.42m-9.369%207.833l-2.121-2.12l7.243-7.131l2.12%202.12zM4%2020h16v2H4z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/bx/highlight.svg?color=%231a73e8&size=48