Skip to content
Cuelark UI

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

Github Octicons icons · GoSquareFill

Square Fill icon

A free square fill icon from Github Octicons 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
MIT license
Project
octicons.github.com
Install with shadcn
npx shadcn@latest add https://ui.cuelark.com/r/icons/github-octicons/square-fill.json
components/icons/github-octicons-square-fill.tsx
import * as React from "react";

/**
 * Square Fill from Github Octicons icons (https://octicons.github.com/), MIT.
 * Via Cuelark UI: ui.cuelark.com/icons/github-octicons/square-fill. Sized in em, colored by currentColor.
 */
export function GoSquareFillIcon(props: React.SVGProps<SVGSVGElement>) {
  return (
    <svg
      aria-hidden="true"
      viewBox="0 0 24 24"
      stroke="currentColor"
      fill="currentColor"
      strokeWidth="0"
      width="1em"
      height="1em"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M7.75 6h8.5c.966 0 1.75.784 1.75 1.75v8.5A1.75 1.75 0 0 1 16.25 18h-8.5A1.75 1.75 0 0 1 6 16.25v-8.5C6 6.784 6.784 6 7.75 6Z"
      />
    </svg>
  );
}
With react-icons
import { GoSquareFill } from "react-icons/go";

export function Example() {
  return <GoSquareFill className="size-5" />;
}
square-fill.svg
<svg
  viewBox="0 0 24 24"
  stroke="currentColor"
  fill="currentColor"
  stroke-width="0"
  width="1em"
  height="1em"
  xmlns="http://www.w3.org/2000/svg"
>
  <path
    d="M7.75 6h8.5c.966 0 1.75.784 1.75 1.75v8.5A1.75 1.75 0 0 1 16.25 18h-8.5A1.75 1.75 0 0 1 6 16.25v-8.5C6 6.784 6.784 6 7.75 6Z"
  />
</svg>
Attribution
"Square Fill" icon from Github Octicons icons (https://octicons.github.com/), licensed under MIT license.

Related icons:

Square Fill icon in other sets