Rock icon
icon-park:rock
The Rock icon (icon-park:rock) is a free SVG icon from the IconPark set by ByteDance. It is drawn on a 48 × 48 grid. IconPark 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
- IconPark
- Author
- ByteDance
- License
- Apache-2.0
- Size
- 48 × 48
- Category
- Hands
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><g fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="4"><path d="M23.5 20.4998C22.3462 20.4998 19.1521 20.3312 15.1138 24.9463C12.7115 27.6919 12.2869 31.0329 12.4644 33.3563C12.5487 34.4608 13.6689 35.0696 14.6977 34.659C15.4421 34.3619 16.2574 33.9912 16.8445 33.5998C18.5752 32.446 17.9983 31.2922 18.5752 29.5615C19.1521 27.8308 21.4597 26.677 23.7673 27.2539C26.0748 27.8308 26.957 29.583 27.2286 31.2922C27.5 32.9999 26.5 34.9999 24.3442 35.9074C21.9663 36.9084 20.8828 35.9074 17.9983 35.3305C16.4951 35.0299 14.992 36.3448 14.1267 37.2981C13.6367 37.8379 13.5842 38.6235 14.0092 39.2157C14.2979 39.6179 14.6703 40.0792 15.1138 40.5226C16.2676 41.6764 20.8828 45.1378 25.498 44.5609C30.1131 43.984 34.1514 40.5226 35.8821 36.4843C37.6128 32.446 37 26.9999 33 23.9999"/><path d="M33.0005 23.9998L23.1283 4.24016C22.8984 3.78013 22.3524 3.56306 21.9065 3.81927C20.8655 4.41745 19.6474 5.54195 20.0432 7.28675C20.5537 9.53717 25.5812 27.0483 27 29.9998"/><path d="M36 27L35.0522 7.69008C35.0277 7.19096 34.637 6.77864 34.1383 6.81033C32.9368 6.88668 31.3235 7.35813 30.913 9.11686C30.3885 11.3641 30.0139 14.7253 30 18"/></g></svg>How to use the Rock icon
React
import { Icon } from "@iconify/react";
<Icon icon="icon-park:rock" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="icon-park:rock" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="icon-park:rock" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[icon-park--rock]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/icon-park -->
<div class="i-icon-park:rock"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="icon-park:rock"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/icon-park/rock.svg" alt="Rock icon" width="24" height="24">Related icons in IconPark
Rock icon in other icon sets
Rock icon FAQ
Is the Rock icon free for commercial use?
Yes. IconPark icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.
How do I use the Rock icon in React?
Install @iconify/react and render <Icon icon="icon-park:rock" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Rock icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/icon-park/rock.svg" alt="Rock icon">, or paste the SVG code inline to style it with CSS.