Description
Reactjs-popup is a simple react popup component that help you create simple and complex Modals, tooltips and Menus for your next React App.
You should consider using reactjs-popup for those couple of reasons :
✅ Modal, Tooltip, Menu : All in one library 🏋️
✅ Very tiny library (3kb) ⚡️
✅ Fully accessible.
✅ Function as children pattern to take control over your popup anywhere in your code. 💪
✅ Easy to use. 🚀
✅ TypeScript Support 👌
✅ IE Support. 🚀
✅ Full style customization 👌 (js, CSS, styled-components)
✅ Support for controlled Modals & Tooltips
✅ Default & Custom Animations
Reactjs-popup alternatives and similar libraries
Based on the "UI Components" category.
Alternatively, view Reactjs-popup alternatives based on common mentions on social networks and blogs.
-
Swiper
Most modern mobile touch slider with hardware accelerated transitions -
slate
A completely customizable framework for building rich text editors. (Currently in beta.) -
react-beautiful-dnd
Beautiful and accessible drag and drop for lists with React -
sortablejs
Reorderable drag-and-drop lists for modern browsers and touch devices. No jQuery or framework required. -
react-table
🤖 Headless UI for building powerful tables & datagrids for TS/JS - React-Table, Vue-Table, Solid-Table, Svelte-Table -
react-virtualized
React components for efficiently rendering large lists and tabular data -
sweetalert2
✨ A beautiful, responsive, highly customizable and accessible (WAI-ARIA) replacement for JavaScript's popup boxes. Zero dependencies. 🇺🇦 -
TinyMCE
The world's #1 JavaScript library for rich text editing. Available for React, Vue and Angular -
react-window
React components for efficiently rendering large lists and tabular data -
react-dates
An easily internationalizable, mobile-friendly datepicker library for the web -
react-content-loader
⚪ SVG-Powered component to easily create skeleton loadings. -
downshift 🏎
🏎 A set of primitives to build simple, flexible, WAI-ARIA compliant React autocomplete, combobox or select dropdown components. -
react-color
:art: Color Pickers from Sketch, Photoshop, Chrome, Github, Twitter & more -
AG Grid
The best JavaScript Data Table for building Enterprise Applications. Supports React / Angular / Vue / Plain JavaScript. -
react-datepicker
A simple and reusable datepicker component for React -
react-sortable-hoc
A set of higher-order components to turn any list into an animated, accessible and touch-friendly sortable list✌️ -
victory
A collection of composable React components for building interactive data visualizations -
react-player
A React component for playing a variety of URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia and DailyMotion -
react-data-grid
Feature-rich and customizable data grid React component -
react-pdf
Display PDFs in your React app as easily as if they were images. -
react-chartjs-2
React components for Chart.js, the most popular charting library -
react-text-mask
Input mask for React, Angular, Ember, Vue, & plain JavaScript -
react-draft-wysiwyg
A Wysiwyg editor build on top of ReactJS and DraftJS. https://jpuri.github.io/react-draft-wysiwyg -
lightGallery
A customizable, modular, responsive, lightbox gallery plugin. -
react-autosuggest
WAI-ARIA compliant React autosuggest component -
react-day-picker
DayPicker is a customizable date picker component for React, with native TypeScript support. -
google-map-react
Google map library for react that allows rendering components as markers :tada: -
react-lazyload
Lazy load your component, image or anything matters the performance. -
react-burger-menu
:hamburger: An off-canvas sidebar component with a collection of effects and styles using CSS transitions and SVG path animations
Appwrite - The open-source backend cloud platform
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Reactjs-popup or a related project?
README
Reactjs-popup
Reactjs-popup is a simple react popup component that helps you create simple and complex Modals, tooltips, and Menus for your next React App.
You should consider using reactjs-popup for those couple of reasons :
- ✅ Modal, Tooltip, Menu : All in one library 🏋️
- ✅ Very tiny library (3kb) ⚡️
- ✅ Fully accessible
- ✅ Function as children pattern to take control over your popup anywhere in your code 💪
- ✅ Easy to use 🚀
- ✅ TypeScript Support 👌
- ✅ IE Support. 🚀
- ✅ Full style customization 👌 (js, CSS, styled-components)
- ✅ Support for controlled Modals & Tooltips
- ✅ Default & Custom Animations
Demo
This is a simple Demo to demonstrate how you can create Modals, Tooltips, Menus using reactjs-popup
.
Installing / Getting started
This package is available in NPM repository as reactjs-popup. It will work correctly with all popular bundlers.
npm install reactjs-popup --save
Using yarn
yarn add reactjs-popup
Include the Component
To start using reactjs popup you just need to import the component from the reactjs-popup package.
import React from 'react';
import Popup from 'reactjs-popup';
import 'reactjs-popup/dist/index.css';
export default () => (
<Popup trigger={<button> Trigger</button>} position="right center">
<div>Popup content here !!</div>
</Popup>
);
Documentation
- Getting Started
- Modals, Tooltips, Menus examples
- Custom Styling
- Controlled Components
- Animations
- Migrating from V1 to V2
Contributing
Clone Repo
Fork and then clone the repo
git clone [email protected]:your-username/reactjs-popup.git
Start Developing
Install all npm scripts:
npm install
or
yarn install
we use storybook to build popup use cases.
To start storybook:
yarn storybook
Run Test in watch mode
yarn test
To make contributing simply you need to create a new story for your use case under stories
directory to demonstrate the new features or the bug fix .
Make Changes 😀.
If you want to contribute check out the help wanted issues for things that need fixing.
Before submitting a pull request run npm run test
to run the unit tests .
Licensing
The code in this project is licensed under MIT license.
Show your support!
Sponsor
if you are interested to Sponsor this library and list your logo in this section, Make sure to contact me.
Show Your Support
That's all, thank you for your attention, please the repo to show your support.
Maintainers
Youssouf EL Azizi
*Note that all licence references and agreements mentioned in the Reactjs-popup README section above
are relevant to that project's source code only.