No Preview

Sorry, but you either have no stories or none are selected somehow.

If the problem persists, check the browser console, or the terminal you've run Storybook from.

iFixit React Components

A set of reusable React components built on to of Chakra.

Installation

To get started using iFixit React Components, install the package and its dependencies:

npm install -E @ifixit/react-components @chakra-ui/react @emotion/react @emotion/styled framer-motion

Then you need to extend the Chakra theme with iFixit custom preset and pass it to the Chakra provider:

import { ChakraProvider, extendTheme } from '@chakra-ui/react';
import { theme } from '@ifixit/react-components';

const customTheme = extendTheme(theme);

export function App() {
   return <ChakraProvider theme={customTheme}>...</ChakraProvider>;
}