Skip to content
Cuelark UI

Hover the icon or press Play. Suggested motion: pop. Pick another to preview it and update the animated code:

VS Code Icons · VscTwitter

Twitter icon

A free twitter icon from VS Code Icons, ready for React. Use it static or animated: both versions are below, copy-paste or one shadcn command away. Sized in em and colored by currentColor.

License
CC BY 4.0 license
Project
github.com
Install with shadcn
npx shadcn@latest add https://ui.cuelark.com/r/icons/vscode-codicons/twitter.json
components/icons/vscode-codicons-twitter.tsx
import * as React from "react";

/**
 * Twitter from VS Code Icons (https://github.com/microsoft/vscode-codicons), CC BY 4.0.
 * Via Cuelark UI: ui.cuelark.com/icons/vscode-codicons/twitter. Sized in em, colored by currentColor.
 */
export function VscTwitterIcon(props: React.SVGProps<SVGSVGElement>) {
  return (
    <svg
      aria-hidden="true"
      viewBox="0 0 16 16"
      stroke="currentColor"
      fill="currentColor"
      strokeWidth="0"
      width="1em"
      height="1em"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M9.23677 7.004L14.0763 1.49939H12.9295L8.72732 6.27897L5.37105 1.49939H1.5L6.57533 8.72696L1.5 14.4994H2.64688L7.08449 9.45199L10.6289 14.4994H14.5L9.23648 7.004H9.23677ZM7.66595 8.79063L7.15172 8.07093L3.06012 2.34418H4.82166L8.12363 6.96585L8.63787 7.68555L12.93 13.693H11.1685L7.66595 8.79091V8.79063Z"
      />
    </svg>
  );
}
With react-icons
import { VscTwitter } from "react-icons/vsc";

export function Example() {
  return <VscTwitter className="size-5" />;
}
twitter.svg
<svg
  viewBox="0 0 16 16"
  stroke="currentColor"
  fill="currentColor"
  stroke-width="0"
  width="1em"
  height="1em"
  xmlns="http://www.w3.org/2000/svg"
>
  <path
    d="M9.23677 7.004L14.0763 1.49939H12.9295L8.72732 6.27897L5.37105 1.49939H1.5L6.57533 8.72696L1.5 14.4994H2.64688L7.08449 9.45199L10.6289 14.4994H14.5L9.23648 7.004H9.23677ZM7.66595 8.79063L7.15172 8.07093L3.06012 2.34418H4.82166L8.12363 6.96585L8.63787 7.68555L12.93 13.693H11.1685L7.66595 8.79091V8.79063Z"
  />
</svg>
Attribution
"Twitter" icon from VS Code Icons (https://github.com/microsoft/vscode-codicons), licensed under CC BY 4.0 license.

Twitter icon in other sets