Skip to main content

Access Control Modal

Usage in React​

Use this UI library to allow users to setup custom blockchain based access control. This library can be used in any React app.

https://github.com/LIT-Protocol/lit-access-control-conditions-modal

Usage in Vanilla JS (No React)​

To use this library without React, you can use the following package, which wraps the react library up in vanilla JS.

https://github.com/LIT-Protocol/lit-access-control-conditions-modal-vanilla-js

Usage in NextJS​

Unfortunately, because NextJS forbids importing CSS modules in dependencies, this library cannot be used in NextJS natively. You must use the vanilla js project above, which will work fine with NextJS.

Example​

You can find an example implementation of this modal here: https://github.com/LIT-Protocol/lit-access-control-conditions-modal-example