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

@perxhealth/react-ui

v3.1.1

Published

![Perx Health](https://user-images.githubusercontent.com/4101096/163123610-9dfa9263-1518-4f5d-8839-9ddc142a513e.png)

Readme

Perx Health

Build Status Build Status

Perx Health's standard React user interface component library, helping us bring behavioral science for better health to users across our platform, powered by :sparkles: Chakra UI :sparkles:

About the project

We are on a mission to bring our proven chronic condition management program to everyone. We have heavily invested in React to build our user interfaces to help accomplish this.

We ship multiple interfaces to multiple types of consumers every day, and we want to standardise the components of which those interfaces are comprised.

This is important for two primary reasons.

  1. Speeding up development by reducing duplication.
  2. Developing a familiar and comfortable visual experience across our platform.

This library stands on the shoulders of Chakra UI and as such all accessibility and speed advantages also apply here. As such, Chakra UI must also be installed.

Usage & Examples

Visit our Storybook to see a list of available components along with examples and instructions for use.

Installation

Install the package from the npm registry, using npm, yarn or pnpm.

npm

If you're using npm

$ npm install @perxhealth/react-ui

yarn

If you're using Yarn

$ yarn install @perxhealth/react-ui

PNPM

If you're using pnpm, like us!

$ pnpm install @perxhealth/react-ui

Chakra UI

The only required peer dependency of Perx React UI is Chakra UI and its immediate dependencies.

$ pnpm add @chakra-ui/react @emotion/react@^11 @emotion/styled@^11 framer-motion@^6

Setup

Now that you've installed the package, you'll need to wrap your application in a ChakraProvider and pass in Perx's theme.

import { ChakraProvider } from "@chakra-ui/react"
import { extendedTheme } from "@perxhealth/react-ui"

export const App = () => {
  return (
    <ChakraProvider theme={extendedTheme}>
      <YourApp />
    </ChakraProvider>
  )
}

Now, you can use any of the components provided by @perxhealth/react-ui in your component tree

Development

Thinking of contributing? Fantastic! Follow the below steps in sequence to get up and running with a local development copy.

Clone the repository

$ git clone [email protected]:perxhealth/react-ui.git
$ cd react-ui

Setup system dependencies

We provide a .tool-versions dotfile indicating which version of Node and PNPM should be in use. There are various version managers which support this format, however in this case we recommend using asdf.

Once you have asdf installed, ensure you also have its nodejs and pnpm plugins installed.

$ asdf plugin add nodejs
$ asdf plugin add pnpm

Once you have the plugins installed, you can instruct asdf to download and install the correct versions with a single command.

$ asdf install

Install app dependencies

As you may have guessed, the next step is to install node dependencies with PNPM using the following command.

$ pnpm install

Testing

Ensure you write tests to cover any code or behaviour you introduce. Tests are run via Jest and can be invoked with the following command.

$ pnpm test

You can pass arguments to the underlying Jest invocation using double-dash syntax. For example, the below will tell Jest to start in watch mode instead of running the entire suite and exiting.

$ pnpm test -- --watchAll