Json icon
codicon:json
The Json icon (codicon:json) is a free SVG icon from the Codicons set by Microsoft Corporation. It is drawn on a 24 × 24 grid. Codicons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Codicons
- Author
- Microsoft Corporation
- License
- CC-BY-4.0
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M5 2a2 2 0 0 0-2 2v2.005c0 .53-.008.794-.09.997c-.062.156-.194.331-.634.55a.5.5 0 0 0 0 .895c.44.22.572.395.635.551c.081.204.089.47.089 1.002v2a2 2 0 0 0 2 2a.5.5 0 0 0 0-1a1 1 0 0 1-1-1V9.941c0-.449 0-.91-.16-1.314A1.7 1.7 0 0 0 3.4 8c.196-.18.342-.384.44-.626C4 6.971 4 6.51 4 6.063V4a1 1 0 0 1 1-1a.5.5 0 0 0 0-1m6 0a2 2 0 0 1 2 2v2.005c0 .53.008.794.09.997c.062.156.194.331.634.55a.5.5 0 0 1 0 .895c-.44.22-.572.395-.635.551c-.081.204-.089.47-.089 1.002v2a2 2 0 0 1-2 2a.5.5 0 0 1 0-1a1 1 0 0 0 1-1V9.941c0-.449 0-.91.16-1.314A1.7 1.7 0 0 1 12.6 8a1.7 1.7 0 0 1-.44-.626C12 6.971 12 6.51 12 6.063V4a1 1 0 0 0-1-1a.5.5 0 0 1 0-1"/></svg>How to use the Json icon
React
import { Icon } from "@iconify/react";
<Icon icon="codicon:json" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="codicon:json" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="codicon:json" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[codicon--json]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/codicon -->
<div class="i-codicon:json"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="codicon:json"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/codicon/json.svg" alt="Json icon" width="24" height="24">Json icon in other icon sets
Json icon FAQ
Is the Json icon free for commercial use?
Yes. Codicons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.
How do I use the Json icon in React?
Install @iconify/react and render <Icon icon="codicon:json" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Json icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/codicon/json.svg" alt="Json icon">, or paste the SVG code inline to style it with CSS.