ICONYZ
English
Gym icon from Health Icons

Gym icon

healthicons:gym

The Gym icon (healthicons:gym) is a free SVG icon from the Health Icons set by Resolve to Save Lives. It is drawn on a 48 × 48 grid. Health 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
Health Icons
Author
Resolve to Save Lives
License
MIT
Size
48 × 48
Category
Specialties
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path fill="currentColor" fill-rule="evenodd" d="M9 6a3 3 0 0 0-3 3v30a3 3 0 0 0 3 3h30a3 3 0 0 0 3-3V9a3 3 0 0 0-3-3zm23 10h-3v16h3zm2 3h3v4h1v2h-1v4h-3zM16 32h3V16h-3zm-2-3h-3v-4h-1v-2h1v-4h3zm7-4h6v-2h-6z" clip-rule="evenodd"/></svg>

How to use the Gym icon

React

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

<Icon icon="healthicons:gym" width="24" />

Vue

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

<template>
  <Icon icon="healthicons:gym" width="24" />
</template>

Svelte

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

<Icon icon="healthicons:gym" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[healthicons--gym]"></span>

UnoCSS

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

Web component

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

<iconify-icon icon="healthicons:gym"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/healthicons/gym.svg" alt="Gym icon" width="24" height="24">

Related icons in Health Icons

Gym icon in other icon sets

Gym icon FAQ

Is the Gym icon free for commercial use?

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

How do I use the Gym icon in React?

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

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

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

Browse all Health Icons →