1. @storybook/icons
Icon library from the Storybook team
@storybook/icons
Package: @storybook/icons
Created by: storybookjs
Last modified: Thu, 02 May 2024 09:11:00 GMT
Version: 1.2.9
License: MIT
Downloads: 2,945,417
Repository: https://github.com/storybookjs/icons

Install

npm install @storybook/icons
yarn add @storybook/icons

Icons

This library contains the icons used in Storybook and Chromatic apps and marketing sites. They are 14x14. To view the list of all available icons please go to https://main--64b56e737c0aeefed9d5e675.chromatic.com/

Install

 yarn add @storybook/icons

To Do

  • [x] Export every single icons instead of a single component
  • [x] Add stories for each components

Generating new icons from Figma

This command will fetch all icons from Figma locally and create react components + stories automatically

 yarn generate-icons

Inpired from this article.

Developing

Watch and rebuild code with tsup and runs Storybook to preview your UI during development.

 yarn storybook

Building

Build package with tsup for production.

 yarn build

Dependencies

RELATED POST

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin