ICONYZ
English
Surprise icon from Unicons

Surprise icon

uil:surprise

The Surprise icon (uil:surprise) is a free SVG icon from the Unicons set by Iconscout. It is drawn on a 24 × 24 grid. Unicons are released under the Apache 2.0 license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Unicons
Author
Iconscout
License
Apache-2.0
Size
24 × 24
Category
Emoji
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2m0 18a8 8 0 1 1 8-8a8 8 0 0 1-8 8M10 9a1 1 0 1 0-1 1a1 1 0 0 0 1-1m5-1a1 1 0 1 0 1 1a1 1 0 0 0-1-1m-3 3a3.39 3.39 0 0 0-3.25 3.5A3.39 3.39 0 0 0 12 18a3.39 3.39 0 0 0 3.25-3.5A3.39 3.39 0 0 0 12 11m0 5a1.39 1.39 0 0 1-1.25-1.5A1.39 1.39 0 0 1 12 13a1.39 1.39 0 0 1 1.25 1.5A1.39 1.39 0 0 1 12 16"/></svg>

How to use the Surprise icon

React

import { Icon } from "@iconify/react";

<Icon icon="uil:surprise" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="uil:surprise" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="uil:surprise" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[uil--surprise]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/uil -->
<div class="i-uil:surprise"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="uil:surprise"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/uil/surprise.svg" alt="Surprise icon" width="24" height="24">

Surprise icon in other icon sets

Surprise icon FAQ

Is the Surprise icon free for commercial use?

Yes. Unicons are released under the Apache 2.0 license, which allows use in personal and commercial projects.

How do I use the Surprise icon in React?

Install @iconify/react and render <Icon icon="uil:surprise" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Surprise icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/uil/surprise.svg" alt="Surprise icon">, or paste the SVG code inline to style it with CSS.

Browse all Unicons →