animals

Whale icon

Whale is an original glyphfox icon from the animals set, drawn on the 24 by 24 grid with 8 shapes. It is an open line drawing, so the solid style keeps the outline look. Tags: sea, ocean, animal, mammal.

Sizes, weights and styles

Every glyphfox icon renders along three axes. The stroke grows a little below 24 px so small icons keep their presence.

Sizes

16 px
20 px
24 px
32 px
48 px

Weights

weight 1
weight 1.5
weight 2
weight 2.5
weight 3

Styles

Outline
sharp corners

Copy the code

Pick a format. Each snippet uses the package entry point for that stack; the props work the same everywhere.

Code formats
App.jsx
import { WhaleIcon } from 'glyphfox/react';

<WhaleIcon />
App.vue
<script setup>
import { WhaleIcon } from 'glyphfox/vue';
</script>

<template>
  <WhaleIcon />
</template>
App.svelte
<script>
  import { WhaleIcon } from 'glyphfox/svelte';
</script>

<WhaleIcon />
app.component
import { GlyphFoxIcon, provideGlyphFox } from 'glyphfox-angular';

<gf-icon name="whale"></gf-icon>
index.html
<glyph-fox name="whale"></glyph-fox>
index.html
<script src="https://cdn.jsdelivr.net/npm/glyphfox@1"></script>

<glyph-fox name="whale"></glyph-fox>
index.html
<span class="gf-whale" aria-hidden="true"></span>
whale.svg
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="glyphfox glyphfox-whale" aria-hidden="true"><path d="M2.5 14.5c0-3 3.5-5 8-5 3.6 0 6.2 1.6 7.4 4.1 .5 1.1 1.5 1.1 2-.4L21 9.5"/><path d="M21 9.5l-2.5-1.5"/><path d="M21 9.5l.5-3"/><path d="M2.5 14.5c0 2.5 3.2 4.5 7.5 4.5 4.4 0 7.2-1.6 7.9-4.9"/><path d="M6.5 13.5h.01"/><path d="M9.5 5.5V3.5"/><path d="M5.5 6L4 4.5"/><path d="M13.5 6L15 4.5"/></svg>
data URI
data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='glyphfox glyphfox-whale' aria-hidden='true'%3E%3Cpath d='M2.5 14.5c0-3 3.5-5 8-5 3.6 0 6.2 1.6 7.4 4.1 .5 1.1 1.5 1.1 2-.4L21 9.5'/%3E%3Cpath d='M21 9.5l-2.5-1.5'/%3E%3Cpath d='M21 9.5l.5-3'/%3E%3Cpath d='M2.5 14.5c0 2.5 3.2 4.5 7.5 4.5 4.4 0 7.2-1.6 7.9-4.9'/%3E%3Cpath d='M6.5 13.5h.01'/%3E%3Cpath d='M9.5 5.5V3.5'/%3E%3Cpath d='M5.5 6L4 4.5'/%3E%3Cpath d='M13.5 6L15 4.5'/%3E%3C/svg%3E
index.html
<!-- copy node_modules/glyphfox/dist/sprite.svg to your public folder -->
<svg width="24" height="24" aria-hidden="true">
  <use href="/sprite.svg#gf-whale"></use>
</svg>
index.html
<!-- main.js: import 'glyphfox/runtime'; -->
<i data-glyph="whale"></i>
icon.js
import { renderToString } from 'glyphfox/core';
import iconWhale from 'glyphfox/icons/whale';

const svg = renderToString(iconWhale, { size: 24 });

// or, with every icon registered by name:
// import { toSvg } from 'glyphfox';
// toSvg('whale', { size: 24 });

Details

Namewhale
React, Vue and Svelte componentWhaleIcon
Icon data exporticonWhale
Categoriesanimals
Tagssea ocean animal mammal
StylesOutline
Shapes8
LicenseMIT

With a modifier badge

Add a badge in any corner with modifier or the name syntax. The icon is cut around the badge, so the result still passes the icon rules.

whale+check
whale+plus
whale+x
whale+alert

Use it in your stack

Guides with the install, the props and the pitfalls for each stack: