InfinityModules
InfinityModules is a CSS module-based styling library that provides a range of components for your React projects. Inspired by MaterialUI and ReactBootstrap, it offers a versatile set of components that are easy to implement and customize.
Installation
npm install bjossi-joe-infinity-modules
Components
- Modal
A floating dialog component that can be opened and closed using provided props. Props
isOpen: boolean (default: false)
onClose: function
- Carousel
A basic image slider with two arrows (left and right) for navigation. Props
images: array of image URLs
size: 'small' | 'medium' | 'large' (default: 'medium')
- Row
A container for Col components. Props
children: ReactNode
- Col
A column component that resides within a Row. Up to twelve Col components with a combined size of 12 can be added per row. Props
size: number (default: 1)
- DatePicker
A visual date picker component similar to Material-UI Date Picker. Props
onDatePick: function
locale: string (default: 'is-IS')
- CartoonNetworkSpinner
A spinner component that cycles through Cartoon Network character images at a specified interval. Props
interval: number (representing seconds, default: 3)