Skip to content

Text Align Center

The text-align-center icon represents centered text alignment in word processors and content editors.

Exports at 24 × 24 px

Text Align Center icon from Lucide
Get Pro

Code

Text Align Center in your framework

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

export const TextAlignCenterIcon = (props: React.SVGProps<SVGSVGElement>) => (
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" {...props}>
    <path fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d="M21 5H3m14 7H7m12 7H5"/>
  </svg>
);

Other libraries

Text Align Center in 8 more libraries

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

Lucide

Icons that share its tags, in the same style.

  • Text Align End icon from Lucide
  • Text Align Start icon from Lucide
  • Type icon from Lucide
  • Text Align Justify icon from Lucide
  • Italic icon from Lucide
  • Baseline icon from Lucide
  • Clipboard Type icon from Lucide
  • Heading icon from Lucide
  • Letter Text icon from Lucide
  • Pilcrow icon from Lucide
  • Underline icon from Lucide
  • Wrap Text icon from Lucide
  • A Large Small icon from Lucide
  • Align Justify icon from Lucide
  • Align Left icon from Lucide
  • Align Right icon from Lucide
  • Ampersand icon from Lucide
  • Bold icon from Lucide
  • Book Type icon from Lucide
  • Pen Line icon from Lucide
  • Pilcrow Right icon from Lucide
  • Ampersands icon from Lucide
  • Between Horizontal End icon from Lucide
  • Case Lower icon from Lucide

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

Get Pro

Pricing

Lucide MCP, with Pro

Ask for Text Align Center or any of 1,655 Lucide 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 Text Align Center 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 Text Align Center from a prompt

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

Get Pro