Base Components
An atomic component library by Overdose.
Documentation
Visit the the docs site for more detailed usage.
Components
Check out the component library at components.overdose.digital.
Basic usage
1. Install
yarn add @overdose/components
2. Import the stylesheet
Import the stylesheet into your App
file. When using Nextjs this is the _app.tsx
file.
import '@overdose/components/build/esm/styles.css'
3. Import a component
import { Typography } from '@overdose/components';
const MyComponent = () => (
<Typography tag="p">
What's up, Doc?
</Typography>
);
4. Theme
Component are highly themable both globally and locally. See the theming docs for details on how to theme the components with the @overdose/theme package.
Development and contribution
Check out the component library at components.overdose.digital.