Skip to content

Horizontally Centered

The horizontally-centered icon represents a design element used to align and center content horizontally within an interface or layout.

Exports at 24 × 24 px

Horizontally Centered icon from IconPark
Get Pro

Code

Horizontally Centered in your framework

In any framework. Customize it above, and the code follows.

export const HorizontallyCenteredIcon = (props: React.SVGProps<SVGSVGElement>) => (
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 48 48" fill="none" stroke="currentColor" {...props}>
    <g fill="none" stroke="#000" strokeLinecap="round" strokeWidth="4"><rect width="16" height="16" x="16" y="16" fill="#2F88FF" strokeLinejoin="round"/><path d="M5 40L5 8"/><path d="M43 40L43 8"/></g>
  </svg>
);

Other libraries

Horizontally Centered in 3 more libraries

Each library draws it its own way. Open one to compare.

IconPark

Icons that share its tags, in the same style.

  • Horizontal Tidy Up icon from IconPark
  • Vertically Centered icon from IconPark
  • Alignment Top Center icon from IconPark
  • Alignment Top Left icon from IconPark
  • Alignment Top Right icon from IconPark
  • Alignment Vertical Center icon from IconPark
  • Alignment Vertical Left icon from IconPark
  • Alignment Vertical Right icon from IconPark
  • Distribute Horizontal Spacing icon from IconPark
  • Distribute Vertical Spacing icon from IconPark
  • Horizontal Spacing Between Items icon from IconPark
  • Indent Right icon from IconPark
  • Align Bottom icon from IconPark
  • Align Bottom Two icon from IconPark
  • Align Horizontally icon from IconPark
  • Align Left icon from IconPark
  • Align Left One icon from IconPark
  • Align Left Two icon from IconPark
  • Alignment Bottom Center icon from IconPark
  • Alignment Bottom Left icon from IconPark
  • Alignment Bottom Right icon from IconPark
  • Alignment Horizontal Bottom icon from IconPark
  • Alignment Horizontal Center icon from IconPark
  • Alignment Horizontal Top icon from IconPark

Skip the copy and paste. With Pro, your AI agent finds and installs any IconPark icon from a prompt.

Get Pro

Pricing

IconPark MCP, with Pro

Ask for Horizontally Centered or any of 2,658 IconPark icons and your agent installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates. The icons stay free.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

FAQ

Frequently asked questions

What the Horizontally Centered icon means and where it's used, then how to install, style, label and license it.

4.9 out of 5 from 150+ developers

Install Horizontally Centered from a prompt

MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.

Get Pro