storybook-mobile-addon

3.0.1 • Public • Published

📱storybook-mobile-addon

  • 2.x Requires storybook >=7.0.0
  • 3.x Requires storybook >=8.0.0

This addon offers suggestions on how you can improve the HTML, CSS and UX of your components to be more mobile-friendly.

To see all available suggestions, check out a live storybook demo here.

Quick Start

yarn add -D storybook-mobile-addon or npm install --save-dev storybook-mobile-addon

Next, add storybook-mobile-addon to your list of addons:

.storybook/main.js

module.exports = {
  // other config goes here
  addons: [
+    'storybook-mobile-addon'
  ],
}

This addon works best along with the @storybook/addon-viewport addon, so please install that as well if you don't have it already.

Contributing

If you have any suggestions or find any bugs, please make an issue or a pr!

Package Sidebar

Install

npm i storybook-mobile-addon

Weekly Downloads

690

Version

3.0.1

License

MIT

Unpacked Size

113 kB

Total Files

15

Last publish

Collaborators

  • stevensacks