@autoguru/sdk-client-components
v0.1.0-alpha.1
Published
AutoGuru Client Web Components is a set of UI components for integration with AutoGuru platform in WebComponents standards.
Downloads
5
Readme
Overdrive is a product component library, and design system for AutoGuru. Built with React, TypeScript, Vanilla Extract, and Storybook.
Usage
yarn add @autoguru/overdrive \
react react-dom
Import reset
import '@autoguru/overdrive/reset';
Import and configure the
OverdriveProvider
complete with the theme you're wanting to use.// It is important that the reset import happens before any of this. import { baseTheme } from '@autoguru/overdrive/lib/themes'; import { OverdriveProvider, Button } '@autoguru/overdrive'; <OverdriveProvider theme={baseTheme}> <Button variant="primary"> Hello World </Button> </OverdriveProvider>
Thanks
Chromatic for providing component screenshot testing.
License
MIT © AutoGuru