0.20.0 • Published 5 months ago

free-bee v0.20.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

Free Bee

free-bee

Demo link:

Access our site at free-bee-design-systems.netlify.app Access our site at Free Bee

Table of Content:

About The App

free-bee is a react + storybook + typescript + rollup app which is being built around to experiment with design systems. We don;t have a precise plan yet but soon we will have one.

Screenshots

Uploading...

Technologies/Plugins

We've used React, Typescript, Storybook, Rollup, Tailwind, clsx, class variance autority(cva) and other stuff mentioned in package.json. Feel free to checkout.

Why are we using these technologies/plugins?

Loading...

Setup

  • download or clone the repository
  • Go to main branch
  • run npm install or npm i
  • check scripts in package.json to run a command to run the app, run storybook, build the app etc.

Setup a new design system

  • download the repository
  • Go to boilerplate/v1 branch
  • add git remote to this downloaded code
  • push your first commit

Approach

We've kept it very simple and will be following Atlassian's design system and develop some of their components.

  • Add Atlassian's coloring system in tailwind here.
  • Add Atlassian's typography system in tailwind here.
  • Add Popup, Button, Flags like components here.
  • Keep adding components until we have a minimal design system ready to implement atleast one of Atlassian's product like JIRA or Confluence.
  • Peiodically rollout npm package for same to be used externally.

Tailwind Configuration

At src/utility/theme.json we have theme configurations, and we make use of this file in tailwind config to set most of the theming values. We will discuss about each here. NOTE: We will be mentioning only those values which are being used in this project. In future we will be covering those config as well once we start using them.

  1. Background color: background property in theme.json has different kinds of colors which is used to determine background color of different components like button, labels, progress etc. Checkout src/components/Button folder for a good intuitive usage of same. NOTE: There are some un-used values which starts after a space.

  2. Theme color: theme_color is used at multiple places.

  3. Text color: text_color is also being used in the same way background is being used.
  4. Spacing tokens have been added which can be found in tailwind.config.js which can be used as a shorthands in various components.

Status

ComponentsStatus
ButtonCompleted
FlagsCompleted
Multiple selectCompleted
LozengesCompleted
ModalCompleted
AvatarsCompleted
Input FieldCompleted
TagsCompleted
BannerCompleted
Text FieldCompleted
CheckboxCompleted
RadioCompleted
ToggleCompleted
TabsCompleted
MenuCompleted
Dropdown MenuCompleted
NavigationIn Progress
LoaderIn Progress
TooltipIn Progress
PopUpIn Progress
CommentsIn Progress
BreadcrumbsIn Progress
Group CheckboxNot Started
Dropdown Menu with CheckboxNot Started
Dropdown Menu with Radio ButtonNot Started

Storybook Deployment to github pages

  • run npm run build-storybook.
  • run npm run buildcss.
  • run npm run buildcss-minify.
  • run npm run deploy-storybook.

Publish to NPM

  • run npm publish.

Credits

List of contriubutors:

License

MIT license

Thanks to all below

  1. Creating a React component library using Storybook
  2. Writing an awesome Readmeđź“„ for your side projects