ICONYZ
English
Rocks icon from @icons

Rocks icon

at-icons:rocks

The Rocks icon (at-icons:rocks) is a free SVG icon from the @icons set by Valentin Fossati. It is drawn on a 24 × 24 grid. @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
@icons
Author
Valentin Fossati
License
MIT
Size
24 × 24
Tags
rock
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="currentColor"><path d="M10.48 9.297a1 1 0 0 1 1.027.02l2.54 1.587a1 1 0 0 1 .25 1.473l-.996 1.248a1 1 0 0 1-.781.375H9.618a1 1 0 0 1-.894-.553l-.801-1.6a1 1 0 0 1 .398-1.316z"/><path d="M8.726 2.08a1 1 0 0 1 .945.407l3.887 5.398a1 1 0 0 1-.03 1.207l-.164.206l-1.327-.83a2 2 0 0 0-2.053-.04L7.825 9.662A2 2 0 0 0 6.912 12H3.74a1 1 0 0 1-.94-.656L1.215 7.008a1 1 0 0 1 .219-1.037l2.965-3.087a1 1 0 0 1 .587-.3z"/></g></svg>

How to use the Rocks icon

React

import { Icon } from "@iconify/react";

<Icon icon="at-icons:rocks" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="at-icons:rocks" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="at-icons:rocks" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[at-icons--rocks]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/at-icons -->
<div class="i-at-icons:rocks"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="at-icons:rocks"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/at-icons/rocks.svg" alt="Rocks icon" width="24" height="24">

Rocks icon FAQ

Is the Rocks icon free for commercial use?

Yes. @icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Rocks icon in React?

Install @iconify/react and render <Icon icon="at-icons:rocks" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Rocks icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/at-icons/rocks.svg" alt="Rocks icon">, or paste the SVG code inline to style it with CSS.

Browse all @icons →