Animals

Animals

Zebra

Front-on head with striped coat and upright mane.

File
zebra.svg
viewBox
19.168 -1.058 97.13 137.583
Weight
24 KB
96px
160px
240px +

Use it

Download SVG

React

import { Illustration } from '@ba-icons/react';
import zebra from '@ba-icons/illustrations/animals/zebra';

<Illustration asset={zebra} size={160} />

Vue

<script setup>
import { Illustration } from '@ba-icons/vue';
import zebra from '@ba-icons/illustrations/animals/zebra';
</script>

<template>
  <Illustration :asset="zebra" :size="160" />
</template>

Astro

---
import { Illustration } from '@ba-icons/astro';
import zebra from '@ba-icons/illustrations/animals/zebra';
---

<Illustration asset={zebra} size={160} />

HTML

<script src="https://icons.atmosphere.africa/cdn/ba-icons-0.4.0.js" defer></script>

<ba-illustration name="animals/zebra" size="160"></ba-illustration>

SVG

<!-- 24 KB of path data: download it, or copy it with the button above. -->
<img src="https://icons.atmosphere.africa/svg/animals/zebra.svg" alt="Zebra" 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/zebra.svg
<img src="https://icons.atmosphere.africa/svg/animals/zebra.svg" alt="Zebra" width="160">
import { illustrationUrl } from '@ba-icons/illustrations';

illustrationUrl('animals/zebra');
// → https://icons.atmosphere.africa/svg/animals/zebra.svg

As 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/zebra.svg') center / contain no-repeat;
}

New to the packages? Point your project at the registry first.