capsule icon
capsule from BoxIcons v2 Solid by Boxicons · Solid · MIT Free for personal and commercial use.
- Name
- capsule
- Set
- BoxIcons v2 Solid
- Style
- Solid
- Viewbox
- 24×24
- License
- MIT
The same icon in other sets
Use the capsule icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M8.434 20.566c1.335 0 2.591-.52 3.535-1.464l7.134-7.133a5.01 5.01 0 0 0-.001-7.072a4.97 4.97 0 0 0-3.536-1.463c-1.335 0-2.59.52-3.534 1.464l-7.134 7.133a5.01 5.01 0 0 0-.001 7.072a4.97 4.97 0 0 0 3.537 1.463m5.011-14.254a2.98 2.98 0 0 1 2.12-.878c.802 0 1.556.312 2.122.878a3.004 3.004 0 0 1 .001 4.243l-2.893 2.892l-4.242-4.244z"/></svg>
React
import type { SVGProps } from "react";
export function BxsCapsule(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="M8.434 20.566c1.335 0 2.591-.52 3.535-1.464l7.134-7.133a5.01 5.01 0 0 0-.001-7.072a4.97 4.97 0 0 0-3.536-1.463c-1.335 0-2.59.52-3.534 1.464l-7.134 7.133a5.01 5.01 0 0 0-.001 7.072a4.97 4.97 0 0 0 3.537 1.463m5.011-14.254a2.98 2.98 0 0 1 2.12-.878c.802 0 1.556.312 2.122.878a3.004 3.004 0 0 1 .001 4.243l-2.893 2.892l-4.242-4.244z"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M8.434 20.566c1.335 0 2.591-.52 3.535-1.464l7.134-7.133a5.01 5.01 0 0 0-.001-7.072a4.97 4.97 0 0 0-3.536-1.463c-1.335 0-2.59.52-3.534 1.464l-7.134 7.133a5.01 5.01 0 0 0-.001 7.072a4.97 4.97 0 0 0 3.537 1.463m5.011-14.254a2.98 2.98 0 0 1 2.12-.878c.802 0 1.556.312 2.122.878a3.004 3.004 0 0 1 .001 4.243l-2.893 2.892l-4.242-4.244z"/></svg> </template>
CSS
.icon-capsule {
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%22M8.434%2020.566c1.335%200%202.591-.52%203.535-1.464l7.134-7.133a5.01%205.01%200%200%200-.001-7.072a4.97%204.97%200%200%200-3.536-1.463c-1.335%200-2.59.52-3.534%201.464l-7.134%207.133a5.01%205.01%200%200%200-.001%207.072a4.97%204.97%200%200%200%203.537%201.463m5.011-14.254a2.98%202.98%200%200%201%202.12-.878c.802%200%201.556.312%202.122.878a3.004%203.004%200%200%201%20.001%204.243l-2.893%202.892l-4.242-4.244z%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%22M8.434%2020.566c1.335%200%202.591-.52%203.535-1.464l7.134-7.133a5.01%205.01%200%200%200-.001-7.072a4.97%204.97%200%200%200-3.536-1.463c-1.335%200-2.59.52-3.534%201.464l-7.134%207.133a5.01%205.01%200%200%200-.001%207.072a4.97%204.97%200%200%200%203.537%201.463m5.011-14.254a2.98%202.98%200%200%201%202.12-.878c.802%200%201.556.312%202.122.878a3.004%203.004%200%200%201%20.001%204.243l-2.893%202.892l-4.242-4.244z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/bxs/capsule.svg?color=%231a73e8&size=48