@pantheon-systems/react-kit

0.2.4 • Public • Published

Pantheon Systems React Kit

React components built with DaisyUI, a Tailwindcss library, for use in metaframework packages like nextjs-kit and gatsby-kit, or on its own.

Installation

To install this package to use in your application, install it and its peer dependencies:

npm install @pantheon-systems/react-kit react react-dom
npm install tailwindcss daisyui -D

Usage

Modules can be imported or required from the @pantheon-systems/react-kit package. For example, to use the Button component:

import { Button } from '@pantheon-systems/react-kit/Button';

API Reference

To see the API reference for @pantheon-systems/react-kit, visit our docs site

Contributing

Please see the Contributing guide in our monorepo

Development Notes

  • the rk prefix is used for tailwindcss and daisyui classes
  • New components should be added to the src/components directory. Ensure new components are also added to the react-kit options in the web/generateTypeDocOptions.js file so that all components have their own page in the API reference.

Readme

Keywords

none

Package Sidebar

Install

npm i @pantheon-systems/react-kit

Weekly Downloads

5

Version

0.2.4

License

GPL-3.0-or-later

Unpacked Size

95.1 kB

Total Files

60

Last publish

Collaborators

  • mel-miller
  • cat.kaethler
  • zzyou
  • cobypear
  • backlineint
  • pantheon-npm