Animals96px 160px 240px +
Animals
Elephant
Front-on head with broad ears and a trunk.
- File
elephant.svg- viewBox
-1.058 7.977 137.583 119.513- Weight
- 12 KB
Use it
React
import { Illustration } from '@ba-icons/react';
import elephant from '@ba-icons/illustrations/animals/elephant';
<Illustration asset={elephant} size={160} />Vue
<script setup>
import { Illustration } from '@ba-icons/vue';
import elephant from '@ba-icons/illustrations/animals/elephant';
</script>
<template>
<Illustration :asset="elephant" :size="160" />
</template>Astro
---
import { Illustration } from '@ba-icons/astro';
import elephant from '@ba-icons/illustrations/animals/elephant';
---
<Illustration asset={elephant} size={160} />HTML
<script src="https://icons.atmosphere.africa/cdn/ba-icons-0.4.0.js" defer></script>
<ba-illustration name="animals/elephant" size="160"></ba-illustration>SVG
<!-- 12 KB of path data: download it, or copy it with the button above. -->
<img src="https://icons.atmosphere.africa/svg/animals/elephant.svg" alt="Elephant" width="160" height="160">From the CDN
Link to the file instead of installing it: for <img>, CSS, emails and docs, with nothing added to your bundle. Served with CORS and cached for an hour.
https://icons.atmosphere.africa/svg/animals/elephant.svg<img src="https://icons.atmosphere.africa/svg/animals/elephant.svg" alt="Elephant" width="160">import { illustrationUrl } from '@ba-icons/illustrations';
illustrationUrl('animals/elephant');
// → https://icons.atmosphere.africa/svg/animals/elephant.svgAs an <img> it draws in black. To give it the text colour, use it as a mask:
.mark {
background-color: currentColor;
mask: url('https://icons.atmosphere.africa/svg/animals/elephant.svg') center / contain no-repeat;
}New to the packages? Point your project at the registry first.