RC

Rc Drawer

rc-drawer

drawer component for react

Animation
react
react-component
react-drawer
drawer
drawer-menu
rc-drawer-menu
react-drawer-menu
animation
drawer-motion
drawer-animation
Stars
1
Weekly
0
Open issues
0
Bundle
~60 kB

Installation

npm install rc-drawer

Code example

import { motion } from "rc-drawer";

export function Example() {
  return (
    <motion.div
      initial={{ opacity: 0, y: 12 }}
      animate={{ opacity: 1, y: 0 }}
      transition={{ duration: 0.35 }}
    >
      <h2>Animated with Rc Drawer</h2>
    </motion.div>
  );
}

Pros & cons

Pros

  • Actively maintained by 155259966@qq.com
  • 0 weekly downloads. Battle tested
  • First-class TypeScript definitions
  • MIT licensed

Considerations

  • Adds roughly ~60 kB to your bundle
  • Needs client-only rendering in SSR frameworks
  • Not supported in React Native
  • 0 open issues on GitHub

FAQs

Alternatives & similar libraries