ICONYZ
English
Dollar icon from Prime Icons

Dollar icon

prime:dollar

The Dollar icon (prime:dollar) is a free SVG icon from the Prime Icons set by PrimeTek. It is drawn on a 24 × 24 grid. Prime 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
Prime Icons
Author
PrimeTek
License
MIT
Size
24 × 24
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 20.75a.76.76 0 0 1-.75-.75V4a.75.75 0 0 1 1.5 0v16a.76.76 0 0 1-.75.75"/><path fill="currentColor" d="M13.5 18.75H7a.75.75 0 0 1 0-1.5h6.5A2.54 2.54 0 0 0 16.25 15a2.54 2.54 0 0 0-2.75-2.25h-3A4 4 0 0 1 6.25 9a4 4 0 0 1 4.25-3.75H16a.75.75 0 0 1 0 1.5h-5.5A2.54 2.54 0 0 0 7.75 9a2.54 2.54 0 0 0 2.75 2.25h3A4 4 0 0 1 17.75 15a4 4 0 0 1-4.25 3.75"/></svg>

How to use the Dollar icon

React

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

<Icon icon="prime:dollar" width="24" />

Vue

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

<template>
  <Icon icon="prime:dollar" width="24" />
</template>

Svelte

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

<Icon icon="prime:dollar" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="prime:dollar"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/prime/dollar.svg" alt="Dollar icon" width="24" height="24">

Dollar icon in other icon sets

Dollar icon FAQ

Is the Dollar icon free for commercial use?

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

How do I use the Dollar icon in React?

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

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

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

Browse all Prime Icons →