Getting Started

Frigobar is a simple component library built with React and styled-components.


You can install Frigobar using either of the methods below.

For npm users:

npm install @frigobar/core styled-components --save

For Yarn users:

yarn add @frigobar/core styled-components

styled-components is a peerDependency of all frigobar packages, so, make sure to install styled-components aswell.


It’s very easy to start using frigobar in your react application:

import React from 'react';
import ReactDOM from 'react-dom';
import { ThemeProvider } from 'styled-components';
import { theme, Button } from '@frigobar/core';
function App() {
return (
<ThemeProvider theme={theme}>
ReactDOM.render(<App />, document.getElementById('root'));