React Components
Some bespoke components used in https://blog.robbie.digital and https://robbie.digital. Not recommended for general use.
Demo
Check out the components here: https://reactcomponents.robbie.digital
Context
This component library is primarily used in https://blog.robbie.digital.
Examples
import "bigiron.css/dist/bigiron.min.css";
import { Button } from "@robbie-cook/react-components";
const MyComponent: React.FC = () => {
return (
<Button>Hello!</Button>
)
}
Installation
npm i @robbie-cook/react-components
Also, add this to your html file (e.g. public/index.html in Create React App)
<link
href="https://fonts.googleapis.com/css2?family=Lexend+Peta&family=Vollkorn:ital,wght@0,600;0,700;0,800;0,900;1,700&display=swap"
rel="stylesheet"
/>
and remember to import `bigiron.css` (https://bigiron.robbie.digital) too.
Contributing
Contributions to the component APIs will not be possible at the moment, as this package is core to my blog, and it is very tied to these components.