capsule from Framework7 Icons by Vladimir Kharlampidi · Outline · MIT Free for personal and commercial use.

Name
capsule
Set
Framework7 Icons
Style
Outline
Viewbox
56×56
License
MIT

1 other variant in Framework7 Icons

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 56 56"><path fill="currentColor" d="M0 29.145c0 12.45 8.693 20.799 21.915 20.799h12.149c13.222 0 21.936-8.35 21.936-20.8c0-12.448-8.714-20.798-21.936-20.798h-12.15C8.694 8.346 0 16.696 0 29.145m3.456 0c0-10.367 7.061-17.3 17.815-17.3h13.437c10.753 0 17.815 6.933 17.815 17.3c0 10.346-7.062 17.3-17.815 17.3H21.27c-10.754 0-17.815-6.954-17.815-17.3"/></svg>

React

import type { SVGProps } from "react";

export function F7Capsule(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 56 56"><path fill="currentColor" d="M0 29.145c0 12.45 8.693 20.799 21.915 20.799h12.149c13.222 0 21.936-8.35 21.936-20.8c0-12.448-8.714-20.798-21.936-20.798h-12.15C8.694 8.346 0 16.696 0 29.145m3.456 0c0-10.367 7.061-17.3 17.815-17.3h13.437c10.753 0 17.815 6.933 17.815 17.3c0 10.346-7.062 17.3-17.815 17.3H21.27c-10.754 0-17.815-6.954-17.815-17.3"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 56 56"><path fill="currentColor" d="M0 29.145c0 12.45 8.693 20.799 21.915 20.799h12.149c13.222 0 21.936-8.35 21.936-20.8c0-12.448-8.714-20.798-21.936-20.798h-12.15C8.694 8.346 0 16.696 0 29.145m3.456 0c0-10.367 7.061-17.3 17.815-17.3h13.437c10.753 0 17.815 6.933 17.815 17.3c0 10.346-7.062 17.3-17.815 17.3H21.27c-10.754 0-17.815-6.954-17.815-17.3"/></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%2056%2056%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M0%2029.145c0%2012.45%208.693%2020.799%2021.915%2020.799h12.149c13.222%200%2021.936-8.35%2021.936-20.8c0-12.448-8.714-20.798-21.936-20.798h-12.15C8.694%208.346%200%2016.696%200%2029.145m3.456%200c0-10.367%207.061-17.3%2017.815-17.3h13.437c10.753%200%2017.815%206.933%2017.815%2017.3c0%2010.346-7.062%2017.3-17.815%2017.3H21.27c-10.754%200-17.815-6.954-17.815-17.3%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%2056%2056%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M0%2029.145c0%2012.45%208.693%2020.799%2021.915%2020.799h12.149c13.222%200%2021.936-8.35%2021.936-20.8c0-12.448-8.714-20.798-21.936-20.798h-12.15C8.694%208.346%200%2016.696%200%2029.145m3.456%200c0-10.367%207.061-17.3%2017.815-17.3h13.437c10.753%200%2017.815%206.933%2017.815%2017.3c0%2010.346-7.062%2017.3-17.815%2017.3H21.27c-10.754%200-17.815-6.954-17.815-17.3%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

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