Rest Api icon
dashicons:rest-api
The Rest Api icon (dashicons:rest-api) is a free SVG icon from the Dashicons set by WordPress. It is drawn on a 20 × 20 grid. Dashicons are released under the GPL license, which allows use in personal and commercial projects; modified versions of the icon files must keep the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Dashicons
- Author
- WordPress
- License
- GPL-2.0-or-later
- Size
- 20 × 20
- Tags
- restapi
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="currentColor" d="M16 13c-1.3 0-2.4.8-2.8 2H9c0-.7-.2-1.3-.5-1.8l7.1-7.3c.3 0 .6.1.9.1C17.9 6 19 4.9 19 3.5S17.9 1 16.5 1S14 2.1 14 3.5c0 .3.1.7.2 1l-7 7.2c-.6-.5-1.4-.7-2.2-.7V6.8C6.2 6.4 7 5.3 7 4c0-1.7-1.3-3-3-3S1 2.3 1 4c0 1.3.8 2.4 2 2.8v4.7c-1.2.7-2 2-2 3.4c0 2.2 1.8 4 4 4c1.5 0 2.8-.8 3.4-2h4.7c.4 1.1 1.5 2 2.8 2c1.6 0 3-1.3 3-3C19 14.3 17.6 13 16 13"/></svg>How to use the Rest Api icon
React
import { Icon } from "@iconify/react";
<Icon icon="dashicons:rest-api" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="dashicons:rest-api" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="dashicons:rest-api" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[dashicons--rest-api]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/dashicons -->
<div class="i-dashicons:rest-api"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="dashicons:rest-api"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/dashicons/rest-api.svg" alt="Rest Api icon" width="24" height="24">Rest Api icon FAQ
Is the Rest Api icon free for commercial use?
Yes. Dashicons are released under the GPL license, which allows use in personal and commercial projects; modified versions of the icon files must keep the same license.
How do I use the Rest Api icon in React?
Install @iconify/react and render <Icon icon="dashicons:rest-api" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Rest Api icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/dashicons/rest-api.svg" alt="Rest Api icon">, or paste the SVG code inline to style it with CSS.