ICONYZ
English
Margin Top icon from Boxicons

Margin Top icon

boxicons:margin-top

The Margin Top icon (boxicons:margin-top) is a free SVG icon from the Boxicons set. It is drawn on a 24 × 24 grid. Boxicons 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
Boxicons
Author
Boxicons
License
MIT
Size
24 × 24
Tags
margintop
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="M19.5 10h-15c-.83 0-1.5.67-1.5 1.5v9c0 .83.67 1.5 1.5 1.5h15c.83 0 1.5-.67 1.5-1.5v-9c0-.83-.67-1.5-1.5-1.5M19 20H5v-8h14zm2-16.5c0-.83-.67-1.5-1.5-1.5h-15C3.67 2 3 2.67 3 3.5v3C3 7.33 3.67 8 4.5 8h15c.83 0 1.5-.67 1.5-1.5zM19 6H5V4h14z"/></svg>

How to use the Margin Top icon

React

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

<Icon icon="boxicons:margin-top" width="24" />

Vue

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

<template>
  <Icon icon="boxicons:margin-top" width="24" />
</template>

Svelte

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

<Icon icon="boxicons:margin-top" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[boxicons--margin-top]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/boxicons -->
<div class="i-boxicons:margin-top"></div>

Web component

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

<iconify-icon icon="boxicons:margin-top"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/boxicons/margin-top.svg" alt="Margin Top icon" width="24" height="24">

Related icons in Boxicons

Margin Top icon in other icon sets

Margin Top icon FAQ

Is the Margin Top icon free for commercial use?

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

How do I use the Margin Top icon in React?

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

How do I add the Margin Top icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/boxicons/margin-top.svg" alt="Margin Top icon">, or paste the SVG code inline to style it with CSS.

Browse all Boxicons →