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 · VscWhitespace

Whitespace icon

A free whitespace 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/whitespace.json
components/icons/vscode-codicons-whitespace.tsx
import * as React from "react";

/**
 * Whitespace from VS Code Icons (https://github.com/microsoft/vscode-codicons), CC BY 4.0.
 * Via Cuelark UI: ui.cuelark.com/icons/vscode-codicons/whitespace. Sized in em, colored by currentColor.
 */
export function VscWhitespaceIcon(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
        fillRule="evenodd"
        clipRule="evenodd"
        d="M7 2H11.5C11.776 2 12 2.224 12 2.5C12 2.776 11.776 3 11.5 3H11V13.5C11 13.776 10.776 14 10.5 14C10.224 14 10 13.776 10 13.5V3H9V13.5C9 13.776 8.776 14 8.5 14C8.224 14 8 13.776 8 13.5V9H7C5.067 9 3.5 7.433 3.5 5.5C3.5 3.567 5.067 2 7 2ZM7 8H8V3H7C5.619 3 4.5 4.119 4.5 5.5C4.5 6.881 5.619 8 7 8Z"
      />
    </svg>
  );
}
With react-icons
import { VscWhitespace } from "react-icons/vsc";

export function Example() {
  return <VscWhitespace className="size-5" />;
}
whitespace.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
    fill-rule="evenodd"
    clip-rule="evenodd"
    d="M7 2H11.5C11.776 2 12 2.224 12 2.5C12 2.776 11.776 3 11.5 3H11V13.5C11 13.776 10.776 14 10.5 14C10.224 14 10 13.776 10 13.5V3H9V13.5C9 13.776 8.776 14 8.5 14C8.224 14 8 13.776 8 13.5V9H7C5.067 9 3.5 7.433 3.5 5.5C3.5 3.567 5.067 2 7 2ZM7 8H8V3H7C5.619 3 4.5 4.119 4.5 5.5C4.5 6.881 5.619 8 7 8Z"
  />
</svg>
Attribution
"Whitespace" icon from VS Code Icons (https://github.com/microsoft/vscode-codicons), licensed under CC BY 4.0 license.