ICONYZ
English
Rubber Duck icon from Huge Icons

Rubber Duck icon

hugeicons:rubber-duck

The Rubber Duck icon (hugeicons:rubber-duck) is a free SVG icon from the Huge Icons set by Hugeicons. It is drawn on a 24 × 24 grid. Huge Icons are released under the MIT 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
Huge Icons
Author
Hugeicons
License
MIT
Size
24 × 24
Tags
rubberduck
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-width="1.5"><path stroke-linejoin="round" d="M4.627 6a4.002 4.002 0 0 1 7.874 1a4 4 0 0 1-1.354 3h5.832C18.357 10 19 8.88 19 7.5c3.5 3.5 2.969 7.5 2.969 7.5c0 3.5-3.469 6-8.969 6H8.99a5.495 5.495 0 0 1-5.49-5.5a5.5 5.5 0 0 1 3.126-4.965A4 4 0 0 1 5.037 9m-.41-3L2.001 7c.19 1 1.063 2 3.035 2m-.409-3l.587.855A1.7 1.7 0 0 1 5.036 9"/><path stroke-linejoin="round" d="M11.001 18h1.5c2.21 0 5-2.79 5-5h-6.5a2.5 2.5 0 0 0 0 5"/><path d="M8.25 6.25h.124m.125 0a.25.25 0 1 0-.5 0a.25.25 0 0 0 .5 0Z"/></g></svg>

How to use the Rubber Duck icon

React

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

<Icon icon="hugeicons:rubber-duck" width="24" />

Vue

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

<template>
  <Icon icon="hugeicons:rubber-duck" width="24" />
</template>

Svelte

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

<Icon icon="hugeicons:rubber-duck" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[hugeicons--rubber-duck]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/hugeicons -->
<div class="i-hugeicons:rubber-duck"></div>

Web component

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

<iconify-icon icon="hugeicons:rubber-duck"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/hugeicons/rubber-duck.svg" alt="Rubber Duck icon" width="24" height="24">

Rubber Duck icon in other icon sets

Rubber Duck icon FAQ

Is the Rubber Duck icon free for commercial use?

Yes. Huge Icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Rubber Duck icon in React?

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

How do I add the Rubber Duck icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/hugeicons/rubber-duck.svg" alt="Rubber Duck icon">, or paste the SVG code inline to style it with CSS.

Browse all Huge Icons →