Rock On icon
akar-icons:rock-on
The Rock On icon (akar-icons:rock-on) is a free SVG icon from the Akar Icons set by Arturo Wibawa. It is drawn on a 24 × 24 grid. Akar 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
- Akar Icons
- Author
- Arturo Wibawa
- License
- MIT
- Size
- 24 × 24
- Tags
- rockon
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="2"><path stroke-linecap="round" stroke-linejoin="round" d="m19 16l.87-11.735a2.102 2.102 0 0 0-4.181-.433L15 9m-7 2l-.713-4.279a2.06 2.06 0 0 0-4.083.525L4 16m8-3v-1.5a2 2 0 1 0-4 0V15"/><path stroke-linecap="round" stroke-linejoin="round" d="M16 13v-2a2 2 0 1 0-4 0v2"/><path d="M19 16c-.536 4-3.358 6-7.5 6S4 20 4 16"/><path stroke-linecap="round" stroke-linejoin="round" d="M13.692 17H11a2 2 0 1 1 0-4h4c2.21 0 4.5 2 3.5 5"/></g></svg>How to use the Rock On icon
React
import { Icon } from "@iconify/react";
<Icon icon="akar-icons:rock-on" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="akar-icons:rock-on" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="akar-icons:rock-on" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[akar-icons--rock-on]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/akar-icons -->
<div class="i-akar-icons:rock-on"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="akar-icons:rock-on"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/akar-icons/rock-on.svg" alt="Rock On icon" width="24" height="24">Rock On icon in other icon sets
Rock On icon FAQ
Is the Rock On icon free for commercial use?
Yes. Akar Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Rock On icon in React?
Install @iconify/react and render <Icon icon="akar-icons:rock-on" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Rock On icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/akar-icons/rock-on.svg" alt="Rock On icon">, or paste the SVG code inline to style it with CSS.