1.3.4 • Published 4 months ago

my-animated-components v1.3.4

Weekly downloads
-
License
ISC
Repository
-
Last release
4 months ago

My Animated Components

A comprehensive React component library with built-in animations and customization options. npm downloads

Documentation

For detailed documentation and examples, visit the official documentation.

Support Me!

For Your Support Visit.

Features

  • 🎨 Customizable colors and sizes
  • 🌟 Built-in animations using Framer Motion
  • 📱 Responsive design
  • 🎭 Accessible components
  • 🧩 Easy to use and integrate

Installation

Install the package using npm:

npm install my-animated-components

Or using yarn:

yarn add my-animated-components

Usage

Import the components you need in your React application:

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

Then use them in your components:

function MyComponent() {
  return (
    <Card>
      <h2>Welcome to My App</h2>
      <Button color="primary" motionVariant="fadeIn">
        Click me!
      </Button>
    </Card>
  );
}

Available Components

  • Accordion
  • Alert
  • Avatar
  • Badge
  • Breadcrumb
  • Button
  • Card (with CardBody, CardFooter, CardHeader)
  • Checkbox
  • Container
  • Dropdown
  • FileUpload
  • Flex
  • Grid
  • Heading
  • IconButton
  • Input
  • List (with ListItem)
  • Modal (with ModalBody, ModalFooter, ModalHeader)
  • NavItem
  • Navbar
  • Offcanvas (with OffcanvasBody, OffcanvasHeader)
  • Pagination
  • ProgressBar
  • Radio
  • RangeSlider
  • Select
  • Skeleton
  • Slider
  • Stepper
  • Switch
  • Table (with TableBody, TableCell, TableHead, TableRow)
  • Tabs
  • Text
  • Textarea
  • Tooltip

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')

License

This project is licensed under the ISC License.