Skip to content
Cuelark UI

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

BoxIcons · BiCollapseAlt

Collapse Alt icon

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

/**
 * Collapse Alt from BoxIcons (https://github.com/atisawd/boxicons), MIT.
 * Via Cuelark UI: ui.cuelark.com/icons/boxicons/collapse-alt. Sized in em, colored by currentColor.
 */
export function BiCollapseAltIcon(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="M2 15h7v7h2v-9H2v2zM15 2h-2v9h9V9h-7V2z" />
    </svg>
  );
}
With react-icons
import { BiCollapseAlt } from "react-icons/bi";

export function Example() {
  return <BiCollapseAlt className="size-5" />;
}
collapse-alt.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="M2 15h7v7h2v-9H2v2zM15 2h-2v9h9V9h-7V2z" />
</svg>
Attribution
"Collapse Alt" icon from BoxIcons (https://github.com/atisawd/boxicons), licensed under MIT license.

Related icons: chevron, caret, angle, arrow