AI UI Designer Logo
AI UI Designer

X (Twitter) Icon

Social#000000

High-quality X (Twitter) transparent PNG for web & print.

Optimized X (Twitter) SVG vector code for developers.

Ready-to-use X (Twitter) React icon component.

Use X (Twitter) in a generated UI

Turn this icon into a login page, dashboard, landing page, or integration screen.

How to use the X (Twitter) Icon

Copy the X (Twitter) icon as inline SVG, React code, HTML embed, or CSS mask.

Inline SVG

Paste the X (Twitter) SVG directly into HTML or JSX.

React Component

Use X (Twitter) as a typed React icon component.

import React from 'react';

export const XTwitterIcon = ({ className = "w-6 h-6" }: { className?: string }) => (
  
);

HTML Embed

Use a hosted X (Twitter) icon URL with attribution.

CSS Mask

Use X (Twitter) as a colorable CSS mask icon.

.x-icon {
  display: inline-block;
  width: 32px;
  height: 32px;
  background-color: #000000;
  mask: url("https://www.aiuidesigner.com/icons/x.svg") center / contain no-repeat;
  -webkit-mask: url("https://www.aiuidesigner.com/icons/x.svg") center / contain no-repeat;
}

X (Twitter) Icon Details

Brand color

#000000

Category

Social

Formats

SVG, PNG, React, HTML, CSS mask

SVG viewBox

0 0 24 24

SVG file

299 B · 1 path

License

Check brand guidelines

Source

x.com

Brand guidelines

about.x.com

Aliases

Twitter

About the X (Twitter) Icon

The X (Twitter) icon is available here as a brand icon asset in SVG format. It is categorized under Social and uses the brand color #000000. You can download it as a transparent PNG, copy the inline SVG, copy a React component, or embed it with HTML.

Use the source and brand guideline links on this page to verify current trademark usage rules before using the X (Twitter) logo in commercial projects, documentation, UI mockups, or marketing pages.

Tags:socialtwitternetwork

X (Twitter) Icon Frequently Asked Questions

Design a UI with the X (Twitter) icon

Generate a complete page that already uses this icon, color, and brand context.

X (Twitter) Related Icons