Go To File icon
codicon:go-to-file
The Go To File icon (codicon:go-to-file) 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
- Tags
- goto, tofile, gotofile
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="currentColor"><path fill-rule="evenodd" d="M8.586 1.001c.398 0 .78.158 1.061.44l2.913 2.913c.281.282.441.663.441 1.061v7.586a2 2 0 0 1-2 2h-6a2 2 0 0 1-2-2v-7h1v7a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-7h-2.5a1.5 1.5 0 0 1-1.5-1.5v-2.5l-.028-.072a1.5 1.5 0 0 0-.326-.487l-.44-.441zM9 4.5a.5.5 0 0 0 .5.5h2.293L9 2.207z" clip-rule="evenodd"/><path d="M4.5 0a.5.5 0 0 1 .354.147l2 2A.48.48 0 0 1 7 2.501a.5.5 0 0 1-.147.354l-2 2a.5.5 0 1 1-.708-.708l1.147-1.146H2.5a1.5 1.5 0 0 0-1.5 1.5v1a.501.501 0 1 1-1 0v-1a2.5 2.5 0 0 1 2.5-2.5h2.793L4.146.855A.502.502 0 0 1 4.5 0"/></g></svg>How to use the Go To File icon
React
import { Icon } from "@iconify/react";
<Icon icon="codicon:go-to-file" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="codicon:go-to-file" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="codicon:go-to-file" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[codicon--go-to-file]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/codicon -->
<div class="i-codicon:go-to-file"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="codicon:go-to-file"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/codicon/go-to-file.svg" alt="Go To File icon" width="24" height="24">Related icons in Codicons
Go To File icon FAQ
Is the Go To File 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 Go To File icon in React?
Install @iconify/react and render <Icon icon="codicon:go-to-file" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Go To File icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/codicon/go-to-file.svg" alt="Go To File icon">, or paste the SVG code inline to style it with CSS.