Capsule Horizontal icon
Download the Capsule Horizontal icon as free SVG or PNG. Compare outline and filled styles. Copy React, Vue or Svelte code.
- capsule
- pill
- medicine
- medication
- drug
- pharmacy
- tablet
- health
- pill-shape
- horizontal
Style
Size
Stroke
Filled icons have no stroke
Color
- Category
- objects
- Styles
- Outline, filled
- Component
- IconCapsuleHorizontal
- License
- MIT · Paweł Kuna
Code
Copy it the way you use it
capsule-horizontal.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="M3 12a6 6 0 0 1 6 -6h6a6 6 0 0 1 6 6a6 6 0 0 1 -6 6h-6a6 6 0 0 1 -6 -6" />
</svg> Use the Capsule Horizontal 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 { IconCapsuleHorizontal } from '@tabler/icons-react';
<IconCapsuleHorizontal size={24} stroke={2} />Read the React guideVue example
import { IconCapsuleHorizontal } from '@tabler/icons-vue';
<IconCapsuleHorizontal :size="24" :stroke="2" />Read the Vue guideSvelte 5 example
import { IconCapsuleHorizontal } from '@tabler/icons-svelte-runes';
<IconCapsuleHorizontal size={24} stroke={2} />Read the Svelte guideRelated