Happy icon
rivet-icons:happy
The Happy icon (rivet-icons:happy) is a free SVG icon from the Rivet Icons set by Indiana University. It is drawn on a 24 × 24 grid. Rivet Icons are released under the BSD 3-Clause 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
- Rivet Icons
- Author
- Indiana University
- License
- BSD-3-Clause
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="currentColor"><path d="M10 7a1 1 0 1 0 0-2a1 1 0 0 0 0 2M7 6a1 1 0 1 1-2 0a1 1 0 0 1 2 0M4.86 8.732a1 1 0 0 1 1.398.116l.005.005q.014.016.062.06c.064.057.169.142.315.23c.287.172.736.357 1.36.357s1.073-.185 1.36-.357a2 2 0 0 0 .377-.29l.005-.005a1 1 0 0 1 1.526 1.292l-.001.002l-.001.001l-.003.004l-.007.008l-.018.02a2.4 2.4 0 0 1-.225.224c-.145.13-.352.296-.623.459A4.6 4.6 0 0 1 8 11.5a4.6 4.6 0 0 1-2.39-.643a4 4 0 0 1-.795-.624l-.053-.057l-.018-.021l-.007-.008l-.003-.004v-.001l-.002-.001a1 1 0 0 1 .128-1.41Z"/><path d="M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0M2 8a6 6 0 1 1 12 0A6 6 0 0 1 2 8"/></g></svg>How to use the Happy icon
React
import { Icon } from "@iconify/react";
<Icon icon="rivet-icons:happy" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="rivet-icons:happy" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="rivet-icons:happy" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[rivet-icons--happy]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/rivet-icons -->
<div class="i-rivet-icons:happy"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="rivet-icons:happy"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/rivet-icons/happy.svg" alt="Happy icon" width="24" height="24">Related icons in Rivet Icons
Happy icon in other icon sets
Happy icon FAQ
Is the Happy icon free for commercial use?
Yes. Rivet Icons are released under the BSD 3-Clause license, which allows use in personal and commercial projects.
How do I use the Happy icon in React?
Install @iconify/react and render <Icon icon="rivet-icons:happy" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Happy icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/rivet-icons/happy.svg" alt="Happy icon">, or paste the SVG code inline to style it with CSS.