@react-ck/modal
TypeScript icon, indicating that this package has built-in type declarations

3.2.29 • Public • Published

React CK | Modal Component

⚠️ WARNING: This component library is being updated frequently and it's currently unstable due to being in it's early stages, we advice you to use only in production environments only after version 2.0.0.

The React Modal component is a versatile and sleek solution for handling modal dialogs within React applications. Whether it's for notifications, alerts, or displaying additional information, this component streamlines the process of creating and managing modal interactions with users.

With the React Modal component, developers can effortlessly introduce modals into their applications, providing a clean and visually appealing way to grab users' attention. This component supports various configurations, allowing developers to create modals with custom content, control their appearance, and define behaviors like dismissibility.

Installation

To integrate the this component into your React apps, you can install it using npm or yarn: npm i --save @react-ck/modal or yarn add @react-ck/modal.

You will also need to set up the manager, install it using npm or yarn: npm i --save @react-ck/manager or yarn add @react-ck/manager.

Wrap your app root with the theme provider and use this component:

import { Manager } from "@react-ck/manager";
import { Modal } from "@react-ck/modal";

const myApp = () => (
    <Manager>
        <Modal>
            <ModalHeader ... />
            ...
            <ModalFooter ... />
        </Modal>
    </Manager>
);

Check the documentation website - react-ck.js.org.

Readme

Keywords

none

Package Sidebar

Install

npm i @react-ck/modal

Weekly Downloads

7

Version

3.2.29

License

none

Unpacked Size

16.6 kB

Total Files

7

Last publish

Collaborators

  • abelflopes