Documentation
How to install?

How to install?

To install, you'll need to use a JavaScript package manager. The documentation below will provide examples for two popular package managers, NPM and Yarn.

Package Managers

You can add react-instastories to your project using npm:

You can install all react-instastories libraries:

npm install @react-instastories/base @react-instastories/external @react-instastories/presets

Peer dependencies

It is important to note that react-instastories expects the following peer dependencies because it is React library:

  • react
  • react-dom

Ensure that these are installed and at the correct version in your project.

Zero dependency

react-instastories is a zero-dependency React library. This means it does not rely on any other third-party packages, making it lightweight and easy to integrate into any project.