capsule icon

capsule from Unicons by Iconscout · Line · Medical · Apache-2.0 Free for personal and commercial use.

Name
capsule
Set
Unicons
Style
Line
Category
Medical
Viewbox
24×24
License
Apache 2.0

The same icon in other sets

More medical icons from Unicons

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="M19.5 4.5a5.12 5.12 0 0 0-7.24 0L4.5 12.26a5.12 5.12 0 1 0 7.24 7.24l7.76-7.76a5.12 5.12 0 0 0 0-7.24m-9.18 13.59a3.21 3.21 0 0 1-4.41 0a3.13 3.13 0 0 1 0-4.41l3.18-3.18l4.41 4.41Zm7.77-7.77l-3.18 3.18l-4.41-4.41l3.18-3.18a3.12 3.12 0 0 1 4.41 4.41"/></svg>

React

import type { SVGProps } from "react";

export function UilCapsule(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="M19.5 4.5a5.12 5.12 0 0 0-7.24 0L4.5 12.26a5.12 5.12 0 1 0 7.24 7.24l7.76-7.76a5.12 5.12 0 0 0 0-7.24m-9.18 13.59a3.21 3.21 0 0 1-4.41 0a3.13 3.13 0 0 1 0-4.41l3.18-3.18l4.41 4.41Zm7.77-7.77l-3.18 3.18l-4.41-4.41l3.18-3.18a3.12 3.12 0 0 1 4.41 4.41"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M19.5 4.5a5.12 5.12 0 0 0-7.24 0L4.5 12.26a5.12 5.12 0 1 0 7.24 7.24l7.76-7.76a5.12 5.12 0 0 0 0-7.24m-9.18 13.59a3.21 3.21 0 0 1-4.41 0a3.13 3.13 0 0 1 0-4.41l3.18-3.18l4.41 4.41Zm7.77-7.77l-3.18 3.18l-4.41-4.41l3.18-3.18a3.12 3.12 0 0 1 4.41 4.41"/></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%22M19.5%204.5a5.12%205.12%200%200%200-7.24%200L4.5%2012.26a5.12%205.12%200%201%200%207.24%207.24l7.76-7.76a5.12%205.12%200%200%200%200-7.24m-9.18%2013.59a3.21%203.21%200%200%201-4.41%200a3.13%203.13%200%200%201%200-4.41l3.18-3.18l4.41%204.41Zm7.77-7.77l-3.18%203.18l-4.41-4.41l3.18-3.18a3.12%203.12%200%200%201%204.41%204.41%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%22M19.5%204.5a5.12%205.12%200%200%200-7.24%200L4.5%2012.26a5.12%205.12%200%201%200%207.24%207.24l7.76-7.76a5.12%205.12%200%200%200%200-7.24m-9.18%2013.59a3.21%203.21%200%200%201-4.41%200a3.13%203.13%200%200%201%200-4.41l3.18-3.18l4.41%204.41Zm7.77-7.77l-3.18%203.18l-4.41-4.41l3.18-3.18a3.12%203.12%200%200%201%204.41%204.41%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

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