align center icon
align-center from Unicons Monochrome by Iconscout · Monochrome · Content · Apache-2.0 Free for personal and commercial use.
- Name
- align-center
- Set
- Unicons Monochrome
- Style
- Monochrome
- Category
- Content
- Viewbox
- 24×24
- License
- Apache 2.0
The same icon in other sets
align-center-outlinedAnt Design Iconsalign-centerBootstrap Iconsalign-centerFont Awesome 6 Solidalign-centerFont Awesome Solidalign-centerFeather Iconsalign-center-outlineFlowbite Iconsalign-centercss.ggalign-centerIconoiralign-centerJam Iconsalign-centerLine Awesomealign-centerMaterial Line Iconsalign-centerLucidealign-centerMage Iconsalign-centerMaterial Symbolsalign-centerMaterial Symbols Lightalign-center-fillMingCute Iconalign-centerPixelarticonsalign-centerPrime Iconsalign-centerRadix Iconsalign-centerRemix Iconalign-centerTabler Iconsalign-centerUniconsalign-centerUnicons Solid
More content icons from Unicons Monochrome
alignalign-altalign-center-justifyalign-justifyalign-leftalign-left-justifyalign-letter-rightalign-rightalign-right-justifybarsborder-altborder-bottomborder-clearborder-horizontalborder-innerborder-leftborder-rightborder-topborder-verticaldialpaddialpad-altdocument-layout-centerdocument-layout-leftdocument-layout-right
Use the align center icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M21 7H3a1 1 0 0 1 0-2h18a1 1 0 0 1 0 2m-4 4H7a1 1 0 0 1 0-2h10a1 1 0 0 1 0 2m4 4H3a1 1 0 0 1 0-2h18a1 1 0 0 1 0 2m-4 4H7a1 1 0 0 1 0-2h10a1 1 0 0 1 0 2"/></svg>
React
import type { SVGProps } from "react";
export function UimAlignCenter(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M21 7H3a1 1 0 0 1 0-2h18a1 1 0 0 1 0 2m-4 4H7a1 1 0 0 1 0-2h10a1 1 0 0 1 0 2m4 4H3a1 1 0 0 1 0-2h18a1 1 0 0 1 0 2m-4 4H7a1 1 0 0 1 0-2h10a1 1 0 0 1 0 2"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M21 7H3a1 1 0 0 1 0-2h18a1 1 0 0 1 0 2m-4 4H7a1 1 0 0 1 0-2h10a1 1 0 0 1 0 2m4 4H3a1 1 0 0 1 0-2h18a1 1 0 0 1 0 2m-4 4H7a1 1 0 0 1 0-2h10a1 1 0 0 1 0 2"/></svg> </template>
CSS
.icon-align-center {
width: 24px;
height: 24px;
background-color: currentColor;
-webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M21%207H3a1%201%200%200%201%200-2h18a1%201%200%200%201%200%202m-4%204H7a1%201%200%200%201%200-2h10a1%201%200%200%201%200%202m4%204H3a1%201%200%200%201%200-2h18a1%201%200%200%201%200%202m-4%204H7a1%201%200%200%201%200-2h10a1%201%200%200%201%200%202%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M21%207H3a1%201%200%200%201%200-2h18a1%201%200%200%201%200%202m-4%204H7a1%201%200%200%201%200-2h10a1%201%200%200%201%200%202m4%204H3a1%201%200%200%201%200-2h18a1%201%200%200%201%200%202m-4%204H7a1%201%200%200%201%200-2h10a1%201%200%200%201%200%202%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/uim/align-center.svg?color=%231a73e8&size=48