New
Community Showcase #5Visual test with Chromatic
Star78,967
Back to integrations
Add your integration
Categories
  • ⭐️ Popular
  • 🧩 Essentials
  • 🛠 Code
  • ⚡️ Data & state
  • ✅ Test
  • 💅 Style
  • 🎨 Design
  • ⚙️ Appearance
  • 🗄 Organize
How to install addons Create an addon
Styles On Hover
Click on any storybook element to see the element's type selector, class selector, and ID selector CSS styles
npm install display-element-css
Last updated 4 months ago
20
Downloads per week
Readme View on GitHub

Display Element CSS

This storybook Addon allows users to inspect their story element's type selector, class selector, and ID selector CSS styles.

To enable the Display Element CSS addon, click on the eye icon on the toolbar.

Toolbar

Once enabled, click on any storybook element to see the element's type selector, class selector, and ID selector CSS styles in the panel.

Panel

To go back to seeing the story element's default click behavior, disable the Display Element CSS addon by clicking on the eye icon on the toolbar.

Development scripts

  • yarn start runs babel in watch mode and starts Storybook
  • yarn build build and package your addon code
Join the community
6,191 developers and counting
WhyWhy StorybookComponent-driven UI
Open source software
Storybook

Maintained by
Chromatic
Special thanks to Netlify and CircleCI