@storybook/addon-outline
Outline all elements with CSS to help with layout placement and alignment
Last updated 4 years ago by shilman .
MIT · Repository · Bugs · Original npm
$ cnpm install @storybook/addon-outline 
SYNC missed versions from official npm registry.

Storybook Addon Outline

Storybook Addon Outline can be used for visually debugging CSS layout and alignment inside the preview in Storybook. Based on Pesticide, it draws outlines around every single element in the preview pane.

React Storybook Screenshot

Usage

Requires Storybook 6.1 or later. Outline is part of essentials and so is installed in all new Storybooks by default. If you need to add it to your Storybook, you can run:

npm i -D @storybook/addon-outline

Then, add following content to .storybook/main.js:

module.exports = {
  addons: ['@storybook/addon-outline'],
};

You can now click on the outline button in the toolbar to toggle the outlines.

Current Tags

  • 7.0.26                                ...           latest (2 years ago)
  • 7.1.0-beta.0                                ...           next (2 years ago)

16 Versions

  • 6.5.17-alpha.0                                ...           2 years ago
  • 7.1.0-beta.0                                ...           2 years ago
  • 7.0.26                                ...           2 years ago
  • 7.1.0-alpha.29                                ...           2 years ago
  • 6.5.16                                ...           3 years ago
  • 6.5.0-beta.8                                ...           3 years ago
  • 6.4.22                                ...           3 years ago
  • 6.5.0-alpha.38                                ...           4 years ago
  • 6.4.18                                ...           4 years ago
  • 6.5.0-alpha.23                                ...           4 years ago
  • 6.4.14                                ...           4 years ago
  • 6.5.0-alpha.18                                ...           4 years ago
  • 6.4.13                                ...           4 years ago
  • 6.4.12                                ...           4 years ago
  • 6.4.0-alpha.27                                ...           4 years ago
  • 6.4.0-beta.0                                ...           4 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (9)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org