The Blockstack design system, built with React and styled-system.v2.12.1
First we need to install
@blockstack/ui and its various dependencies.
yarn add @blockstack/ui styled-components babel-plugin-styled-components
Please note that you will need to have the styled-components babel plugin set up in your project in order to use the
To use any component from
@blockstack/ui, we need to import the
ThemeProvider into the root component of the app that
will be using Blockstack UI. The ThemeProvider creates a React Context scope
for all of our components to use.
Simply import components by name from the
@blockstack/ui package, as shown
Please see our contribution guidelines to learn how you can contribute to this project.