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 🙏

© 2025 – Pkg Stats / Ryan Hefner

rts-react-components--testing-branch

v0.0.1

Published

*** :construction: <b>In beta:</b> This project is still in an unstable, beta stage. See Issues to know what's upcoming. :construction: ***

Downloads

17

Readme


:construction: In beta: This project is still in an unstable, beta stage. See Issues to know what's upcoming. :construction:


RTS React Components

A library of style-agnostic React components to be reused across projects.

Installation

If you want to start using a boilerplate project instead checkout the rts-react-boilerplate git.

Step 1 - Download

Option 1 - Contribute

Use this option if you plan on contributing to this repo.

  1. Submodule the rts-react-components repository. The below command will put the submodule into the src folder. git submodule add [email protected]:rtslabs/rts-react-components.git src/rts-react-components

Option 2 - Non-contribute

Use this option if you don't want to contribute to this repo.

  1. Create a Personal Access Token
  • Check repo section
  • run npm install git+https://<token-from-github>:[email protected]/rtslabs/rts-react-components.git --prefix ./src ** Don't save your key in the package.json file **
  • move rts-react-components outside of new node_modules folder & delete the node_modules folder

Step 2 - Dependencies

:warning: This section will soon be deprecated.

  • run npm install [email protected] --save
  • add import 'bootstrap/dist/css/bootstrap.css'; to your index.js file.
  • copy theme.js file from rts-react-components to your src folder.
  • add import Typography from './rts-react-components/typography'; to the top of your App.js file, and add <Typography/> to the top of your render.

Usage

Prop Names

:warning: This section will soon be deprecated.

All components, as well as their nested items use a universal set of prop names. If you think a component should support one of these props, but it doesn't, make a request to add it.

| Name| Class | Type | Description |---|---|---|---| | theme | | array | Optionally pass in theme JSON | className | forward | string | Forwards prop | style | forward | object | Forwards prop | onClick | forward | func | Forwards prop | bgColor | color | string | Background color | textColor | color | string | Text Color | dark | color | bool | Easy way to theme | borderColor | color | bool | Border Color | text | text | string | Text content | subText | text | string | Small text below main text | textRight | text | string | Text content aligned right | subTextRight | text | string | Small text below aligned right text | link | link | string | linkIcon | link | string | img | image | string | Image | header | content | object | Defines header for component | footer | content | object | Defines footer for component | items | content | array | Array of items which support these prop names | item | content | object | Custom item to add to an array | height | size | number | width | size | number | container | size | bool | Add container within outer bg wrapper | icon | icon | string | iconSize | icon | number | iconRight | icon | string | iconRightSize | icon | number | iconTop | icon | string | iconTopSize | icon | number

Maintainers

The front end team on @rtslabs/hsa is responsible for updates.

Main contacts:

See contributors for other contacts.