← Back

Panel Bottom Minimized

Install

npm install @svg-animated-icons/react

CLI

Copy an icon component straight into your project — shadcn-style. Replace {icon} with an icon name like arrow-left.

terminal
npx @svg-animated-icons/cli add {icon} --react
FlagDescription
--dest <dir>Destination directory (default: components/animated-icons)

Or copy the component with the CLI

CLI
npx @svg-animated-icons/cli add panel-bottom-minimized --react

Code

React
// Generated by @svg-animated-icons/cli
// You own this file — edit it freely.

import React from "react";

type Props = {
  disableHover?: boolean;
  className?: string;
};

export function PanelBottomMinimizedIcon({ disableHover, className }: Props) {
  const classes = [
    "ai-panel-bottom-minimized-icon",
    disableHover ? "no-hover" : "",
    className ?? "",
  ]
    .filter(Boolean)
    .join(" ");

  return (
    <>
      <style>{`
.ai-panel-bottom-minimized-icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  cursor: pointer;
  overflow: visible;
}

.ai-panel-bottom-minimized-icon * {
  transform-box: fill-box;
}

.ai-panel-bottom-minimized-icon.no-hover * {
  transform: none;
  opacity: 1;
  animation: none;
}

.ai-panel-bottom-minimized-icon .dash {
  transform-origin: center;
}

.ai-panel-bottom-minimized-icon:not(.no-hover):hover .dash {
  animation: ai-panel-bottom-minimized-slide 700ms ease-in-out;
}

@keyframes ai-panel-bottom-minimized-slide {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1px); }
}
`}</style>
      <svg
        xmlns="http://www.w3.org/2000/svg"
        className={classes}
        viewBox="0 0 15 15"
        fill="none"
      >
        <path className="frame" fillRule="evenodd" d="M1.5 2C0.671573 2 0 2.67157 0 3.5V11.5C0 12.3284 0.671573 13 1.5 13H13.5C14.3284 13 15 12.3284 15 11.5V3.5C15 2.67157 14.3284 2 13.5 2H1.5ZM1.5 3C1.22386 3 1 3.22386 1 3.5V11.5C1 11.77614 1.22386 12 1.5 12H13.5C13.77614 12 14 11.77614 14 11.5V3.5C14 3.22386 13.77614 3 13.5 3H1.5Z" fill="currentColor"/>
        <path className="dash" d="M2.5 9H12.5C12.77614 9 13 9.22386 13 9.5C13 9.77614 12.77614 10 12.5 10H2.5C2.22386 10 2 9.77614 2 9.5C2 9.22386 2.22386 9 2.5 9Z" fill="currentColor"/>
      </svg>
    </>
  );
}