ICONYZ
English
Pin icon from OpenSearch UI

Pin icon

oui:pin

The Pin icon (oui:pin) is a free SVG icon from the OpenSearch UI set by OpenSearch Contributors. It is drawn on a 24 × 24 grid. OpenSearch UI icons 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
OpenSearch UI
Author
OpenSearch Contributors
License
Apache-2.0
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" fill-rule="evenodd" d="M8 11h4.5a.5.5 0 1 0 0-1h-10a.5.5 0 0 0 0 1H7v4.25c0 .414.224.75.5.75s.5-.336.5-.75zM4 4h1v6H4zm6 0h1v6h-1zM4.286 2C4.08 2 4 2.063 4 2v1c0-.063.08 0 .286 0h6.428C10.92 3 11 2.937 11 3V2c0 .063-.08 0-.286 0zm0-1h6.428C11.424 1 12 1.448 12 2v1c0 .552-.576 1-1.286 1H4.286C3.576 4 3 3.552 3 3V2c0-.552.576-1 1.286-1"/></svg>

How to use the Pin icon

React

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

<Icon icon="oui:pin" width="24" />

Vue

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

<template>
  <Icon icon="oui:pin" width="24" />
</template>

Svelte

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

<Icon icon="oui:pin" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="oui:pin"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/oui/pin.svg" alt="Pin icon" width="24" height="24">

Related icons in OpenSearch UI

Pin icon in other icon sets

Pin icon FAQ

Is the Pin icon free for commercial use?

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

How do I use the Pin icon in React?

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

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

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

Browse all OpenSearch UI icons →