Skip to content
Cuelark UI

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

BoxIcons · BiSolidRectangle

Solid Rectangle icon

A free solid rectangle icon from BoxIcons, 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
github.com
Install with shadcn
npx shadcn@latest add https://ui.cuelark.com/r/icons/boxicons/solid-rectangle.json
components/icons/boxicons-solid-rectangle.tsx
import * as React from "react";

/**
 * Solid Rectangle from BoxIcons (https://github.com/atisawd/boxicons), MIT.
 * Via Cuelark UI: ui.cuelark.com/icons/boxicons/solid-rectangle. Sized in em, colored by currentColor.
 */
export function BiSolidRectangleIcon(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="M3 20h18a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1z" />
    </svg>
  );
}
With react-icons
import { BiSolidRectangle } from "react-icons/bi";

export function Example() {
  return <BiSolidRectangle className="size-5" />;
}
solid-rectangle.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="M3 20h18a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1z" />
</svg>
Attribution
"Solid Rectangle" icon from BoxIcons (https://github.com/atisawd/boxicons), licensed under MIT license.

Related icons: