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

Index Zero icon

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

/**
 * Index Zero from VS Code Icons (https://github.com/microsoft/vscode-codicons), CC BY 4.0.
 * Via Cuelark UI: ui.cuelark.com/icons/vscode-codicons/index-zero. Sized in em, colored by currentColor.
 */
export function VscIndexZeroIcon(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="M8 4C6.346 4 5 5.346 5 7V9C5 10.654 6.346 12 8 12C9.654 12 11 10.654 11 9V7C11 5.346 9.654 4 8 4ZM10 9C10 10.103 9.103 11 8 11C6.897 11 6 10.103 6 9V7C6 5.897 6.897 5 8 5C9.103 5 10 5.897 10 7V9ZM2 3.5V12.5C2 12.776 2.225 13 2.5 13H3C3.276 13 3.5 13.224 3.5 13.5C3.5 13.776 3.276 14 3 14H2.5C1.673 14 1 13.327 1 12.5V3.5C1 2.673 1.673 2 2.5 2H3C3.276 2 3.5 2.224 3.5 2.5C3.5 2.776 3.276 3 3 3H2.5C2.225 3 2 3.224 2 3.5ZM15 3.5V12.5C15 13.327 14.327 14 13.5 14H13C12.724 14 12.5 13.776 12.5 13.5C12.5 13.224 12.724 13 13 13H13.5C13.775 13 14 12.776 14 12.5V3.5C14 3.224 13.775 3 13.5 3H13C12.724 3 12.5 2.776 12.5 2.5C12.5 2.224 12.724 2 13 2H13.5C14.327 2 15 2.673 15 3.5Z"
      />
    </svg>
  );
}
With react-icons
import { VscIndexZero } from "react-icons/vsc";

export function Example() {
  return <VscIndexZero className="size-5" />;
}
index-zero.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="M8 4C6.346 4 5 5.346 5 7V9C5 10.654 6.346 12 8 12C9.654 12 11 10.654 11 9V7C11 5.346 9.654 4 8 4ZM10 9C10 10.103 9.103 11 8 11C6.897 11 6 10.103 6 9V7C6 5.897 6.897 5 8 5C9.103 5 10 5.897 10 7V9ZM2 3.5V12.5C2 12.776 2.225 13 2.5 13H3C3.276 13 3.5 13.224 3.5 13.5C3.5 13.776 3.276 14 3 14H2.5C1.673 14 1 13.327 1 12.5V3.5C1 2.673 1.673 2 2.5 2H3C3.276 2 3.5 2.224 3.5 2.5C3.5 2.776 3.276 3 3 3H2.5C2.225 3 2 3.224 2 3.5ZM15 3.5V12.5C15 13.327 14.327 14 13.5 14H13C12.724 14 12.5 13.776 12.5 13.5C12.5 13.224 12.724 13 13 13H13.5C13.775 13 14 12.776 14 12.5V3.5C14 3.224 13.775 3 13.5 3H13C12.724 3 12.5 2.776 12.5 2.5C12.5 2.224 12.724 2 13 2H13.5C14.327 2 15 2.673 15 3.5Z"
  />
</svg>
Attribution
"Index Zero" icon from VS Code Icons (https://github.com/microsoft/vscode-codicons), licensed under CC BY 4.0 license.