Docs/Installation

Installation

The package is published on npm and has no required peer dependencies beyond React 18+.

1. Install the package

$npm install react-marketing-popups

Yarn and pnpm work the same way — swap the command prefix for your package manager of choice.

2. Import the component stylesheet

Each component ships its own scoped CSS file so you only pay for the styles you actually use. Import it once, wherever you use the component:

App.tsx
import { Popout } from 'react-marketing-popups'
import 'react-marketing-popups/Popout/style.css'

Continue to Quick Start to render your first popup.