macpro-ux-lib
Common UI/UX Library built on USWDS 3.0 and packaged for easier distribution throughout CMS.
Storybook for a preview of the component library.
See theOverview
This is a React implementation of USWDS 3.0 in conjuction with some MACPRO theming. This library is meant to be consumed for implementing a USWDS compliant web application in React. For more information about USWDS and their design principles refer to the below link.
Usage and Getting Started
To install the package run the following command:
npm install @enterprise-cmcs/macpro-ux-lib
or
yarn add @enterprise-cmcs/macpro-ux-lib
After installing the package in the root level of your project include this import statement
import "@enterprise-cmcs/macpro-ux-lib/build/assets/css/index.css";
This will include the css required for the styles to be applied to any components that are used.
With the project now set up you can import any of the components in your code and use them. Refer to the StoryBook for implementation details on each component.
Contributing
Found a bug, want to help with updating the docs or maybe you want to help add a feature. Refer to our contribution documentation for more information: Documentation
Examples
You can view and example implementation of the app here
License
See LICENSE for full details.