ICONYZ
English
Capsule Filled icon from Boxicons

Capsule Filled icon

boxicons:capsule-filled

The Capsule Filled icon (boxicons:capsule-filled) is a free SVG icon from the Boxicons set. It is drawn on a 24 × 24 grid. Boxicons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Boxicons
Author
Boxicons
License
MIT
Size
24 × 24
Tags
capsulefilled
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M15 5H9c-3.86 0-7 3.14-7 7s3.14 7 7 7h6c3.86 0 7-3.14 7-7s-3.14-7-7-7"/></svg>

How to use the Capsule Filled icon

React

import { Icon } from "@iconify/react";

<Icon icon="boxicons:capsule-filled" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="boxicons:capsule-filled" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="boxicons:capsule-filled" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[boxicons--capsule-filled]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/boxicons -->
<div class="i-boxicons:capsule-filled"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="boxicons:capsule-filled"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/boxicons/capsule-filled.svg" alt="Capsule Filled icon" width="24" height="24">

Related icons in Boxicons

Capsule Filled icon in other icon sets

Capsule Filled icon FAQ

Is the Capsule Filled icon free for commercial use?

Yes. Boxicons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Capsule Filled icon in React?

Install @iconify/react and render <Icon icon="boxicons:capsule-filled" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Capsule Filled icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/boxicons/capsule-filled.svg" alt="Capsule Filled icon">, or paste the SVG code inline to style it with CSS.

Browse all Boxicons →