npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

react-ribbit-connect

v1.0.22

Published

React implementation for RIBBIT CONNECT

Downloads

49

Readme

react-ribbit-connect

React component for integrating RIBBIT CONNECT into your webpage

Don't use react? Here are a few more implementation methods we provide:

  1. Pure JavaScript
  2. Angular (coming soon)
  3. React Native (coming soon)

Install

With npm:

npm install --save react-ribbit-connect

With yarn:

yarn add react-ribbit-connect

Documentation

Please refer to the official RIBBIT CONNECT docs for more information.

Usage

import  {  RIBBITConnect  }  from  "react-ribbit-connect";

const App extends React.Component {
    // ...
    render() {
        return (
            <RIBBITConnect
            token={this.state.token} // see documentation on how to get a token
            settings={{
                curtainColor: 'rgba(0,0,0,0.5)',
            }}
            onComplete={this.onComplete}
            // onLaunch={...} // fired on ready
            // onMessage={...}
            // onExit={...}
            />
        );
    }
}

All Props

| Name | Type | Default | Description | | ------- | ----- | --------- | --------| | token | string | | Token recieved from /CONNECT/session/ endpoint | open | boolean | false | Whether or not CONNECT should be open or not | language | string | en | Optional language to be displayed to the user (Translation must be added within CONNECT settings. More coming soon.) | style | object | | Optional styles to be applied to the CONNECT container | className | string | | Optional class to be added to the CONNECT container | inline | boolean | false | Whether or not CONNECT should display inline (default is popup) | fullscreen | boolean | false | Whether or not CONNECT should display in full-screen mode (for native/mobile app implementation) | settings | object | | Additional settings (see below) | getContext | function | | Can be used to get the RIBBIT CONNECT context | onMessage | function | | Generic message handler that fires for every one of the events below function(eventName, eventData) => void
| onLaunch | function | | function(eventData) => void
| onExit | function | | function(eventData) => void
| onComplete | function | | function(eventData) => void
| onBankLoginSelected | function | | function(eventData) => void
| onManualEnrollmentSelected | function | | function(eventData) => void
| onNoAccountsFound | function | | function(eventData) => void
| onBankNotFound | function | | function(eventData) => void
| onBankLogin | function | | function(eventData) => void
| onLinkOpen | function | | function(eventData) => void

Settings

| Name | Type | Default | Description | | ------- | ----- | --------- | --------| | curtainColor | string | | Color of the popup background curtain. Examples: #FFF and rgba(0,0,0,0.5) | curtainAllowClose | boolean | true | Whether or not the user clicking on the popup background curtain should close the CONNECT popup | closeButton | boolean | false | Whether a close button should display in the top right corner of the widget. (on click fires the onExit method)