Align Horizontal Center icon
hugeicons:align-horizontal-center
The Align Horizontal Center icon (hugeicons:align-horizontal-center) 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
- alignhorizontal, horizontalcenter, alignhorizontalcenter
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M12 19v3m0-12v4m0-12v3M8 7.5c0-.844-.083-1.818.75-2.299C9.098 5 9.566 5 10.5 5h3c.935 0 1.402 0 1.75.201c.834.481.75 1.455.75 2.299s.084 1.818-.75 2.299c-.348.201-.815.201-1.75.201h-3c-.934 0-1.402 0-1.75-.201C7.917 9.318 8 8.344 8 7.5m-4 9c0-.844-.083-1.818.75-2.299C5.098 14 5.566 14 6.5 14h11c.935 0 1.402 0 1.75.201c.834.481.75 1.455.75 2.299s.084 1.818-.75 2.299c-.348.201-.815.201-1.75.201h-11c-.934 0-1.402 0-1.75-.201C3.917 18.318 4 17.344 4 16.5"/></svg>How to use the Align Horizontal Center icon
React
import { Icon } from "@iconify/react";
<Icon icon="hugeicons:align-horizontal-center" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="hugeicons:align-horizontal-center" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="hugeicons:align-horizontal-center" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[hugeicons--align-horizontal-center]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/hugeicons -->
<div class="i-hugeicons:align-horizontal-center"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="hugeicons:align-horizontal-center"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/hugeicons/align-horizontal-center.svg" alt="Align Horizontal Center icon" width="24" height="24">Related icons in Huge Icons
Align Horizontal Center icon in other icon sets
Align Horizontal Center icon FAQ
Is the Align Horizontal Center 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 Align Horizontal Center icon in React?
Install @iconify/react and render <Icon icon="hugeicons:align-horizontal-center" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Align Horizontal Center icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/hugeicons/align-horizontal-center.svg" alt="Align Horizontal Center icon">, or paste the SVG code inline to style it with CSS.