Skip to content
tablericons

general

Capsule icon

Download the Capsule icon as free SVG or PNG. Compare outline and filled styles. Copy React, Vue or Svelte code.

  • pill
  • medicine
  • medication
  • drug
  • pharmacy
  • tablet
  • health
  • pill-shape
Style
Size
Stroke
Color
Download SVG

Press C to copy SVG, J for JSX, D to download.

Category
general
Styles
Outline, filled
Component
IconCapsule
License
MIT · Paweł Kuna

Code

Copy it the way you use it

capsule.svg
<svg
  xmlns="http://www.w3.org/2000/svg"
  width="24"
  height="24"
  viewBox="0 0 24 24"
  fill="none"
  stroke="currentColor"
  stroke-width="2"
  stroke-linecap="round"
  stroke-linejoin="round"
 
>
  <path d="M6 9a6 6 0 0 1 6 -6a6 6 0 0 1 6 6v6a6 6 0 0 1 -6 6a6 6 0 0 1 -6 -6l0 -6" />
</svg>

Use the Capsule icon

For a decorative icon beside text, add aria-hidden="true" to the SVG. For an icon-only control, put its accessible name on the button or link.

React example
import { IconCapsule } from '@tabler/icons-react';

<IconCapsule size={24} stroke={2} />
Read the React guide
Vue example
import { IconCapsule } from '@tabler/icons-vue';

<IconCapsule :size="24" :stroke="2" />
Read the Vue guide
Svelte 5 example
import { IconCapsule } from '@tabler/icons-svelte-runes';

<IconCapsule size={24} stroke={2} />
Read the Svelte guide

Compare variants and alternatives

Related

Related icons

See all 788 general icons