Align Horizontal Justify Center icon
boxicons:align-horizontal-justify-center
The Align Horizontal Justify Center icon (boxicons:align-horizontal-justify-center) 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M21 16V8c0-.55-.45-1-1-1h-4c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h4c.55 0 1-.45 1-1m-2-1h-2V9h2zM3 5v14c0 .55.45 1 1 1h4c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1m2 1h2v12H5zm6-4h2v20h-2z"/></svg>How to use the Align Horizontal Justify Center icon
React
import { Icon } from "@iconify/react";
<Icon icon="boxicons:align-horizontal-justify-center" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="boxicons:align-horizontal-justify-center" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="boxicons:align-horizontal-justify-center" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[boxicons--align-horizontal-justify-center]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/boxicons -->
<div class="i-boxicons:align-horizontal-justify-center"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="boxicons:align-horizontal-justify-center"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/boxicons/align-horizontal-justify-center.svg" alt="Align Horizontal Justify Center icon" width="24" height="24">Related icons in Boxicons
Align Horizontal Justify Center icon in other icon sets
Align Horizontal Justify Center icon FAQ
Is the Align Horizontal Justify Center 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 Align Horizontal Justify Center icon in React?
Install @iconify/react and render <Icon icon="boxicons:align-horizontal-justify-center" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Align Horizontal Justify Center icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/boxicons/align-horizontal-justify-center.svg" alt="Align Horizontal Justify Center icon">, or paste the SVG code inline to style it with CSS.