background icon
background from Huge Icons by Hugeicons · Stroke · MIT Free for personal and commercial use.
- Name
- background
- Set
- Huge Icons
- Style
- Stroke
- Viewbox
- 24×24
- License
- MIT
The same icon in other sets
Use the background icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M4.253 20.302C5.655 21.5 7.77 21.5 12 21.5s6.345 0 7.747-1.198q.3-.256.555-.555C21.5 18.345 21.5 16.23 21.5 12s0-6.345-1.198-7.747q-.256-.3-.555-.555C18.345 2.5 16.23 2.5 12 2.5s-6.345 0-7.747 1.198q-.3.256-.555.555C2.5 5.655 2.5 7.77 2.5 12s0 6.345 1.198 7.747q.256.3.555.555M4 20L20 4M2.698 15.802L15.806 2.694m5.5 5.5L8.198 21.302m5.302.198l8-8m-19-3l8-8"/></svg>
React
import type { SVGProps } from "react";
export function HugeiconsBackground(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="1.5" d="M4.253 20.302C5.655 21.5 7.77 21.5 12 21.5s6.345 0 7.747-1.198q.3-.256.555-.555C21.5 18.345 21.5 16.23 21.5 12s0-6.345-1.198-7.747q-.256-.3-.555-.555C18.345 2.5 16.23 2.5 12 2.5s-6.345 0-7.747 1.198q-.3.256-.555.555C2.5 5.655 2.5 7.77 2.5 12s0 6.345 1.198 7.747q.256.3.555.555M4 20L20 4M2.698 15.802L15.806 2.694m5.5 5.5L8.198 21.302m5.302.198l8-8m-19-3l8-8"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M4.253 20.302C5.655 21.5 7.77 21.5 12 21.5s6.345 0 7.747-1.198q.3-.256.555-.555C21.5 18.345 21.5 16.23 21.5 12s0-6.345-1.198-7.747q-.256-.3-.555-.555C18.345 2.5 16.23 2.5 12 2.5s-6.345 0-7.747 1.198q-.3.256-.555.555C2.5 5.655 2.5 7.77 2.5 12s0 6.345 1.198 7.747q.256.3.555.555M4 20L20 4M2.698 15.802L15.806 2.694m5.5 5.5L8.198 21.302m5.302.198l8-8m-19-3l8-8"/></svg> </template>
CSS
.icon-background {
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%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%221.5%22%20d%3D%22M4.253%2020.302C5.655%2021.5%207.77%2021.5%2012%2021.5s6.345%200%207.747-1.198q.3-.256.555-.555C21.5%2018.345%2021.5%2016.23%2021.5%2012s0-6.345-1.198-7.747q-.256-.3-.555-.555C18.345%202.5%2016.23%202.5%2012%202.5s-6.345%200-7.747%201.198q-.3.256-.555.555C2.5%205.655%202.5%207.77%202.5%2012s0%206.345%201.198%207.747q.256.3.555.555M4%2020L20%204M2.698%2015.802L15.806%202.694m5.5%205.5L8.198%2021.302m5.302.198l8-8m-19-3l8-8%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%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%221.5%22%20d%3D%22M4.253%2020.302C5.655%2021.5%207.77%2021.5%2012%2021.5s6.345%200%207.747-1.198q.3-.256.555-.555C21.5%2018.345%2021.5%2016.23%2021.5%2012s0-6.345-1.198-7.747q-.256-.3-.555-.555C18.345%202.5%2016.23%202.5%2012%202.5s-6.345%200-7.747%201.198q-.3.256-.555.555C2.5%205.655%202.5%207.77%202.5%2012s0%206.345%201.198%207.747q.256.3.555.555M4%2020L20%204M2.698%2015.802L15.806%202.694m5.5%205.5L8.198%2021.302m5.302.198l8-8m-19-3l8-8%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/hugeicons/background.svg?color=%231a73e8&size=48