Captions icon
keyline-icons:captions
The Captions icon (keyline-icons:captions) is a free SVG icon from the Keyline Icons set. It is drawn on a 24 × 24 grid. Keyline Icons 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
- Keyline Icons
- Author
- Keyline Icons
- License
- MIT
- Size
- 24 × 24
- Tags
- caption
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 4L19 4C20.65685 4 22 5.34315 22 7L22 17C22 18.65685 20.65685 20 19 20L5 20C3.34315 20 2 18.65685 2 17L2 7C2 5.34315 3.34315 4 5 4ZM10 10C9.56726 9.67544 9.04093 9.5 8.5 9.5C7.11929 9.5 6 10.61929 6 12C6 13.38071 7.11929 14.5 8.5 14.5C9.04093 14.5 9.56726 14.32456 10 14M18 10C17.56726 9.67544 17.04093 9.5 16.5 9.5C15.11929 9.5 14 10.61929 14 12C14 13.38071 15.11929 14.5 16.5 14.5C17.04093 14.5 17.56726 14.32456 18 14"/></svg>How to use the Captions icon
React
import { Icon } from "@iconify/react";
<Icon icon="keyline-icons:captions" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="keyline-icons:captions" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="keyline-icons:captions" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[keyline-icons--captions]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/keyline-icons -->
<div class="i-keyline-icons:captions"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="keyline-icons:captions"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/keyline-icons/captions.svg" alt="Captions icon" width="24" height="24">Related icons in Keyline Icons
captions-duotone
captions-fill
captions-off
captions-off-duotone
captions-off-fill
captions-off-sharp
captions-off-sharp-duotone
captions-off-sharp-fill
captions-off-sharp-two-tone
captions-off-two-tone
captions-sharp
captions-sharp-duotone
captions-sharp-fill
captions-sharp-two-tone
captions-sparkles
captions-sparkles-duotone
captions-sparkles-fill
captions-sparkles-sharp
captions-sparkles-sharp-duotone
captions-sparkles-sharp-fill
captions-sparkles-sharp-two-tone
captions-sparkles-two-tone
captions-two-tone
Captions icon in other icon sets
Captions icon FAQ
Is the Captions icon free for commercial use?
Yes. Keyline Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Captions icon in React?
Install @iconify/react and render <Icon icon="keyline-icons:captions" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Captions icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/keyline-icons/captions.svg" alt="Captions icon">, or paste the SVG code inline to style it with CSS.