Animals

Animals

Lion

Front-on head with a full mane.

File
lion.svg
viewBox
-1.058 -0.134 137.583 135.735
Weight
15 KB
96px
160px
240px +

Use it

Download SVG

React

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

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

Vue

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

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

Astro

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

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

HTML

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

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

SVG

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

illustrationUrl('animals/lion');
// → https://icons.atmosphere.africa/svg/animals/lion.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/lion.svg') center / contain no-repeat;
}

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