Code View icon
ri:code-view
The Code View icon (ri:code-view) is a free SVG icon from the Remix Icon set by Remix Design. It is drawn on a 24 × 24 grid. Remix Icon icons are released under the Apache 2.0 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
- Remix Icon
- Author
- Remix Design
- License
- Apache-2.0
- Size
- 24 × 24
- Category
- Editor
- Tags
- codeview
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="m16.95 8.465l1.414-1.415l4.95 4.95l-4.95 4.95l-1.414-1.414L20.485 12zm-9.9 0L3.515 12l3.535 3.536l-1.414 1.414L.686 12l4.95-4.95z"/></svg>How to use the Code View icon
React
import { Icon } from "@iconify/react";
<Icon icon="ri:code-view" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="ri:code-view" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="ri:code-view" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[ri--code-view]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/ri -->
<div class="i-ri:code-view"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="ri:code-view"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/ri/code-view.svg" alt="Code View icon" width="24" height="24">Related icons in Remix Icon
Code View icon FAQ
Is the Code View icon free for commercial use?
Yes. Remix Icon icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.
How do I use the Code View icon in React?
Install @iconify/react and render <Icon icon="ri:code-view" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Code View icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/ri/code-view.svg" alt="Code View icon">, or paste the SVG code inline to style it with CSS.