Skip to content
shadcn.io

Text Align Center

The text-align-center icon represents the text alignment option for centering text.

Add shadcn.io to your AI agent. · Pro It installs Text Align Center, or any of 294k icons, from a prompt, with Pro.

Set up MCP

Exports at 24 × 24 px

Text Align Center icon from Phosphor
Get Pro

9,161 in PhosphorMIT license (opens in a new tab)Free to copy and download

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 256 256" {...props}>
    <path fill="currentColor" d="M32 64a8 8 0 0 1 8-8h176a8 8 0 0 1 0 16H40a8 8 0 0 1-8-8m32 32a8 8 0 0 0 0 16h128a8 8 0 0 0 0-16Zm152 40H40a8 8 0 0 0 0 16h176a8 8 0 0 0 0-16m-24 40H64a8 8 0 0 0 0 16h128a8 8 0 0 0 0-16"/>
  </svg>
);

Other libraries

Text Align Center in 8 more libraries

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

  • Text Align Center icon from Huge Icons
  • Text Align Center icon from Myna UI Icons
  • Text Align Center icon from Carbon
  • Text Align Center icon from Lucide
  • Text Align Center icon from Majesticons
  • Text Align Center icon from Lineicons
  • Text Align Center icon from Gravity UI Icons
  • Text Align Center icon from coolicons

Phosphor

Icons that share its tags, in the same style.

  • Align Left icon from Phosphor
  • Paragraph icon from Phosphor
  • Text A Underline icon from Phosphor
  • Text Outdent icon from Phosphor
  • Align Left Simple icon from Phosphor
  • Align Right icon from Phosphor
  • Align Right Simple icon from Phosphor
  • Quotes icon from Phosphor
  • Text Aa icon from Phosphor
  • Text Align Left icon from Phosphor
  • Text Align Right icon from Phosphor
  • Text H Six icon from Phosphor
  • Text H Three icon from Phosphor
  • Text Indent icon from Phosphor
  • Text Italic icon from Phosphor
  • Text Strikethrough icon from Phosphor
  • Align Center Vertical Simple icon from Phosphor
  • Pencil Simple Line icon from Phosphor
  • Text Columns icon from Phosphor
  • Text H icon from Phosphor
  • Text H One icon from Phosphor
  • Text H Two icon from Phosphor
  • Text Subscript icon from Phosphor
  • Text Superscript icon from Phosphor

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

Get Pro

Tags

Browse by tag

Text Align Center is tagged typography, text, format and 2 more. Related tags follow; each opens its icons from every library.

Pricing

Phosphor MCP, with Pro

Ask for Text Align Center or any of 9,161 Phosphor 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.

Billed once a year in USD. Cancel anytime.

Individual

For personal projects & open source

$32instead of $49/mo

$389 billed yearly

  • How many people can use the license.Seats: 1 seat
  • Client work, SaaS products and anything you charge for.Commercial use: Personal & open source only
  • Production-ready React sections: hero, pricing, features, dashboards and more.Pro blocks: 6,000+ blocks
  • Complete multi-page sites you can ship as they are.Templates: All 14 templates
  • React icons from every major library, installable with one command.React icons: 294k+ icons
  • Presets that restyle every block, in light and dark.Themes: All 59 themes
  • Lets your AI editor search, preview and install blocks for you.MCP server: Basic usage
  • Priority requests are answered first.Support: Standard

Team

Most popular

For freelancers, agencies & startups

$66instead of $99/mo

$789 billed yearly · ≈ $13/dev/mo

Everything in Individual, plus

  • How many people can use the license.Seats: Up to 5 seats
  • Client work, SaaS products and anything you charge for.Commercial use: Included
  • Lets your AI editor search, preview and install blocks for you.MCP server: High usage
  • Priority requests are answered first.Support: Priority

Organization

For companies with larger teams

$132instead of $199/mo

$1,589 billed yearly

Everything in Team, plus

  • How many people can use the license.Seats: Unlimited seats
  • Lets your AI editor search, preview and install blocks for you.MCP server: Unlimited usage
  • 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 and license it.

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