Hover the icon or press Play. Suggested motion: pop. Pick another to preview it and update the animated code:
Collapse icon
A free collapse 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
npx shadcn@latest add https://ui.cuelark.com/r/icons/boxicons/collapse.jsonimport * as React from "react";
/**
* Collapse from BoxIcons (https://github.com/atisawd/boxicons), MIT.
* Via Cuelark UI: ui.cuelark.com/icons/boxicons/collapse. Sized in em, colored by currentColor.
*/
export function BiCollapseIcon(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="M16.121 6.465 14 4.344V10h5.656l-2.121-2.121 3.172-3.172-1.414-1.414zM4.707 3.293 3.293 4.707l3.172 3.172L4.344 10H10V4.344L7.879 6.465zM19.656 14H14v5.656l2.121-2.121 3.172 3.172 1.414-1.414-3.172-3.172zM6.465 16.121l-3.172 3.172 1.414 1.414 3.172-3.172L10 19.656V14H4.344z"
/>
</svg>
);
}import { BiCollapse } from "react-icons/bi";
export function Example() {
return <BiCollapse className="size-5" />;
}<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="M16.121 6.465 14 4.344V10h5.656l-2.121-2.121 3.172-3.172-1.414-1.414zM4.707 3.293 3.293 4.707l3.172 3.172L4.344 10H10V4.344L7.879 6.465zM19.656 14H14v5.656l2.121-2.121 3.172 3.172 1.414-1.414-3.172-3.172zM6.465 16.121l-3.172 3.172 1.414 1.414 3.172-3.172L10 19.656V14H4.344z"
/>
</svg>"Collapse" icon from BoxIcons (https://github.com/atisawd/boxicons), licensed under MIT license.Related icons: chevron, caret, angle, arrow
- collapse alt
- collapse horizontal
- collapse vertical
- arrow back
- arrow from bottom
- arrow from left
- arrow from right
- arrow from top
- arrow to bottom
- arrow to left
- arrow to right
- arrow to top
- caret down
- caret down circle
- caret down square
- caret left
- caret left circle
- caret left square
- caret right
- caret right circle
- caret right square
- caret up
- caret up circle
- caret up square