🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@pinwheel/react-modal

Package Overview
Dependencies
Maintainers
18
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pinwheel/react-modal

React package for Pinwheel modal

latest
Source
npmnpm
Version
3.5.0
Version published
Maintainers
18
Created
Source

@pinwheel/react-modal

React package for Pinwheel modal

NPM JavaScript Style Guide

Install

npm install --save @pinwheel/react-modal

Usage

import PinwheelModal from '@pinwheel/react-modal'

const App = () => {
  return <PinwheelModal open={true} linkToken={token} onEvent={console.log} />
}

In order to utilize the pinwheel iframe with the security policies enforced. (Recommended for production)

import PinwheelModal from '@pinwheel/react-modal'

const App = () => {
  return (
    <PinwheelModal
      open={true}
      useSecureOrigin
      linkToken={token}
      onEvent={console.log}
    />
  )
}

All available React props are listed here.

Please consult our docs for more information.

Quick Start

You may want to explore the usage of the modal locally.

Start by going to the customer dashboard to create a token. Copy the token string. Then

# Build the @pinwheel/react-modal package
npm i
npm run build
# Run the example app
cd example
npm i
npm start
# Go to localhost:9000?token=<PASTE YOUR GENERATED TOKEN HERE>

License

MIT Š Pinwheel React Modal is available under the MIT license. See the LICENSE file for more info.

FAQs

Package last updated on 04 Dec 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts