Ever been mesmerised by GitHub's UI? Well you longer need to! GitHub has published all of it's styling, free for anyone to use!
π§ How to use
To get started you want to install the following packages:
π»βconsole
# with npm
npm install @primer/components react react-dom styled-components
# with yarn
yarn add @primer/components react react-dom styled-components
Now you want to import/require the packages in your files:
π»β.tsx
import {Box, Flex} from '@primer/components';
π And that's all you need!
Now, you can use GitHub's UI within your project!
Don't forget to check out πprimer.style documentation for code on specific components, buttons, etc.
π Initially published: 7th of November.