space

Ufo icon

Ufo is an original glyphfox icon from the space set, drawn on the 24 by 24 grid with 7 shapes. Its closed shapes also give it a solid style, generated at build time. Tags: ufo, flying saucer, alien, sci-fi, abduction.

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
Duotone
Solid
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 { UfoIcon } from 'glyphfox/react';

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

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

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

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

<glyph-fox name="ufo"></glyph-fox>
index.html
<span class="gf-ufo" aria-hidden="true"></span>
ufo.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-ufo" aria-hidden="true"><ellipse cx="12" cy="11.5" rx="9.5" ry="3.5"/><path d="M7.5 8.42a4.5 4.5 0 0 1 9 0"/><path d="M7.5 11.5h.01"/><path d="M12 12h.01"/><path d="M16.5 11.5h.01"/><path d="M9.5 18l-2 4"/><path d="M14.5 18l2 4"/></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-ufo' aria-hidden='true'%3E%3Cellipse cx='12' cy='11.5' rx='9.5' ry='3.5'/%3E%3Cpath d='M7.5 8.42a4.5 4.5 0 0 1 9 0'/%3E%3Cpath d='M7.5 11.5h.01'/%3E%3Cpath d='M12 12h.01'/%3E%3Cpath d='M16.5 11.5h.01'/%3E%3Cpath d='M9.5 18l-2 4'/%3E%3Cpath d='M14.5 18l2 4'/%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-ufo"></use>
</svg>
index.html
<!-- main.js: import 'glyphfox/runtime'; -->
<i data-glyph="ufo"></i>
icon.js
import { renderToString } from 'glyphfox/core';
import iconUfo from 'glyphfox/icons/ufo';

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

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

Details

Nameufo
React, Vue and Svelte componentUfoIcon
Icon data exporticonUfo
Categoriesspace
Tagsufo flying saucer alien sci-fi abduction
StylesOutline, Duotone (fill of the closed shapes), Solid
Shapes7
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.

ufo+check
ufo+plus
ufo+x
ufo+alert

Use it in your stack

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