Rivet-react is a library of React components that implement the Rivet Software Design System. The components are implemented in TypeScript and can be used by any Javascript application.
Rivet-react resources:
Branch | Build | Code Coverage |
---|---|---|
master | ||
develop |
To install the rivet-react package from NPM,
npm install rivet-react
Or with yarn,
yarn add rivet-react
Once installed you can use the components in your project. The Rivet styles are included as a dependency of rivet-react but they are not bundled into the components, so you'll need to import them as well.
import * as React from 'react'
import 'rivet-uits/css/rivet.min.css'
import { Alert } from 'rivet-react'
<Alert variant="info">A very important message for you!</Alert>
Check out the Component Documentation and Style Guide for comprehensive component documentation and examples.
Rivet-react is open source and maintained by members of the Indiana University organization on GitHub. If you have questions about the library or encounter problems please file an issue. If you wish to contribute, pull requests are welcome! Please review our Contribution Guidelines.