# buffet **Repository Path**: mirrors_strapi/buffet ## Basic Information - **Project Name**: buffet - **Description**: Buffet.js — React Components Library made with styled-components - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-01-05 - **Last Updated**: 2026-04-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README


React Components Library made with styled-components

Monthly download on NPM Travis Build Status Strapi on Slack

## Getting Started ### Installation Using yarn ```bash yarn add @buffetjs/core @buffetjs/hooks @buffetjs/styles # Install the required dependencies yarn add lodash prop-types react react-dom react-router-dom styled-components ``` or npm ```bash npm install @buffetjs/core @buffetjs/styles @buffetjs/hooks --save # Install the required dependencies npm install lodash prop-types react react-dom react-router-dom styled-components --save ``` ### Example Import buffet.js into your project as follows: ```js import React from 'react'; import { Enumeration, } from '@buffetjs/core'; const Page = () => { const [state, setState] = React.useState('milk'); return (

Title

setState(value)} options={[ { value: 'flour', label: 'Flour', }, { value: 'milk', label: 'Milk', }, { value: 'butter', label: 'Butter', }, ]} value={state} />
); } export default Page; ``` ## Documentation See the documentation at [buffetjs.io/storybook](https://buffetjs.io/storybook) for more informations.