npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

my-animated-components

v2.0.1

Published

A comprehensive React component library with built-in Framer Motion animations, Tailwind CSS styling, and full TypeScript support.

Readme

My Animated Components

A comprehensive React component library with built-in Framer Motion animations, Tailwind CSS styling, and full TypeScript support.

npm downloads

Documentation

For detailed documentation and examples, visit the official documentation.

Support Me!

For Your Support Visit.

Features

  • 🎨 Customizable colors, sizes, and variants
  • 🌟 Built-in animations using Framer Motion (80+ motion variants)
  • 📱 Responsive design with Tailwind CSS
  • 🎭 Accessible components with ARIA attributes
  • 🧩 Easy to use and integrate
  • 📦 Tree-shakeable with ESM support
  • 🔧 Full TypeScript support with exported prop types
  • ♿ Keyboard navigation support
  • 🏗️ forwardRef on all form components
  • ✅ Error/validation states on form fields

Installation

npm install my-animated-components

Or using yarn:

yarn add my-animated-components

Peer Dependencies

This library requires the following peer dependencies:

npm install react react-dom framer-motion tailwindcss

Usage

import { Button, Card, Modal, Input } from 'my-animated-components';

function MyComponent() {
  return (
    <Card>
      <h2>Welcome to My App</h2>
      <Input
        label="Email"
        type="email"
        placeholder="Enter your email"
        error="Invalid email"
        helperText="We'll never share your email"
      />
      <Button
        color="primary"
        motionVariant="fadeIn"
        loading={isSubmitting}
        leftIcon={<SendIcon />}
      >
        Submit
      </Button>
    </Card>
  );
}

TypeScript

All prop types are exported for full IntelliSense support:

import type { ButtonProps, InputProps, ModalProps } from 'my-animated-components';

Available Components

UI Components

  • Accordion
  • Alert
  • Avatar
  • Badge
  • Breadcrumb
  • Button (with loading, leftIcon, rightIcon, fullWidth)
  • Card (with CardBody, CardFooter, CardHeader)
  • Dropdown (with DropdownItem)
  • IconButton
  • Modal (with ModalBody, ModalFooter, ModalHeader)
  • Navbar (with NavItem)
  • Offcanvas (with OffcanvasBody, OffcanvasHeader)
  • Pagination
  • ProgressBar
  • Skeleton
  • Stepper
  • Table (with TableBody, TableCell, TableHead, TableRow — striped, hoverable, bordered)
  • Tabs
  • Tooltip (with delay, keyboard support)

Form Components (with forwardRef)

  • Checkbox (with error/helperText)
  • FileUpload (with maxSize validation)
  • Input (with label, error, helperText)
  • Radio (with error/helperText)
  • Select (with placeholder, error, helperText)
  • Switch (with size variants)
  • Textarea (with resize, charCount, error)

Layout

  • Container
  • Flex
  • Grid

Typography

  • Heading
  • Text

Media

  • Carousel (with autoplay, swipe, thumbnails, keyboard navigation)
  • ImageEditor

Utilities

  • List (with ListItem)
  • RangeSlider
  • Slider

Customization

Most components accept props for customization, including:

  • color: Choose from 'primary', 'secondary', 'success', 'danger', 'warning', 'info'
  • size: Usually 'xs', 'sm', 'md', 'lg', 'xl'
  • motionVariant: Animation variant (e.g., 'fadeIn', 'slideUp', 'zoomIn', 'bounce')
  • variant: Visual style ('solid', 'outline', 'ghost')
  • unstyled: Bypass all default styling for full customization
  • useAnimation: Toggle animations on/off
  • disabled: Disable interactive components
  • error / helperText: Form validation states

Motion Variants

80+ built-in animation variants including:

fadeIn, slideUp, slideDown, slideLeft, slideRight, bounce, rotateIn, flip, pulse, shake, zoomIn, zoomOut, scaleUp, and many more with fast/slow variations.

import { motionVariants } from 'my-animated-components';

// Use with any component
<Button motionVariant="bounce">Click me!</Button>
<Card motionVariant="slideUp">Content</Card>

License

This project is licensed under the ISC License.