Skip to content

Center To Fit

The center-to-fit icon represents a symbol used to adjust the position or alignment of an object within a given space.

Exports at 24 × 24 px

Center To Fit icon from Carbon
Get Pro

Code

Center To Fit in your framework

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

export const CenterToFitIcon = (props: React.SVGProps<SVGSVGElement>) => (
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 32 32" {...props}>
    <path fill="currentColor" d="M8 2H2v6h2V4h4zm16 0h6v6h-2V4h-4zM8 30H2v-6h2v4h4zm16 0h6v-6h-2v4h-4zm0-6H8a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2M8 10v12h16V10z"/>
  </svg>
);

Carbon

Icons that share its tags, in the same style.

  • Fit To Height icon from Carbon
  • Fit To Screen icon from Carbon
  • Fit To Width icon from Carbon
  • Align Box Bottom Center icon from Carbon
  • Align Box Middle Center icon from Carbon
  • Distribute Horizontal Center icon from Carbon
  • Distribute Vertical Center icon from Carbon
  • Zoom Fit icon from Carbon
  • Align Box Bottom Left icon from Carbon
  • Align Box Bottom Right icon from Carbon
  • Align Box Middle Left icon from Carbon
  • Align Box Middle Right icon from Carbon
  • Align Vertical Bottom icon from Carbon
  • Align Vertical Top icon from Carbon
  • Distribute Horizontal Left icon from Carbon
  • Distribute Horizontal Right icon from Carbon
  • Distribute Vertical Bottom icon from Carbon
  • Distribute Vertical Top icon from Carbon
  • Shrink Screen icon from Carbon
  • Text Align Center icon from Carbon
  • Align Box Top Center icon from Carbon
  • Align Horizontal Center icon from Carbon
  • Align Vertical Center icon from Carbon
  • Arrange icon from Carbon

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

Get Pro

Pricing

Carbon MCP, with Pro

Ask for Center To Fit or any of 2,547 Carbon 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 Center To Fit 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 Center To Fit from a prompt

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

Get Pro