ICONYZ
English
Baseball Bat icon from Material Design Icons

Baseball Bat icon

mdi:baseball-bat

The Baseball Bat icon (mdi:baseball-bat) is a free SVG icon from the Material Design Icons set by Pictogrammers. It is drawn on a 24 × 24 grid. Material Design 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
Material Design Icons
Author
Pictogrammers
License
Apache-2.0
Size
24 × 24
Category
Sport
Tags
sport, baseballbat
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M20 2c-.28 0-.5.11-.71.29l-9.5 9.5c-.04.04-.07.08-2.56 3.56L4 18.59l-.29-.3C3.5 18.1 3.26 18 3 18c-.56 0-1 .44-1 1c0 .26.1.5.29.71l2 2c.39.4 1.02.41 1.42.03c.4-.39.41-1.02 0-1.45l-.3-.29l3.23-3.23l3.57-2.56l9.5-9.5c.39-.39.39-1.03 0-1.42l-1-1C20.5 2.1 20.26 2 20 2m-1.5 11a2.5 2.5 0 0 0-2.5 2.5a2.5 2.5 0 0 0 2.5 2.5a2.5 2.5 0 0 0 2.5-2.5a2.5 2.5 0 0 0-2.5-2.5"/></svg>

How to use the Baseball Bat icon

React

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

<Icon icon="mdi:baseball-bat" width="24" />

Vue

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

<template>
  <Icon icon="mdi:baseball-bat" width="24" />
</template>

Svelte

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

<Icon icon="mdi:baseball-bat" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[mdi--baseball-bat]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/mdi -->
<div class="i-mdi:baseball-bat"></div>

Web component

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

<iconify-icon icon="mdi:baseball-bat"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/mdi/baseball-bat.svg" alt="Baseball Bat icon" width="24" height="24">

Related icons in Material Design Icons

Baseball Bat icon in other icon sets

Baseball Bat icon FAQ

Is the Baseball Bat icon free for commercial use?

Yes. Material Design Icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.

How do I use the Baseball Bat icon in React?

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

How do I add the Baseball Bat icon to a web page?

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

Browse all Material Design Icons →