An open API service indexing awesome lists of open source software.

https://github.com/aholachek/storybook-mobile

[Deprecated] A storybook addon that helps you create truly mobile-friendly components
https://github.com/aholachek/storybook-mobile

deprecated mobile-web reactjs storybook storybook-addon ux

Last synced: 16 days ago
JSON representation

[Deprecated] A storybook addon that helps you create truly mobile-friendly components

Awesome Lists containing this project

README

        

# 📱storybook-mobile

[![No Maintenance Intended](http://unmaintained.tech/badge.svg)](http://unmaintained.tech/) [![npm version](https://badge.fury.io/js/storybook-mobile.svg)](https://badge.fury.io/js/storybook-mobile)

# Deprecated!

**Mobile web best practices are constantly evolving, and I haven't had the time to make the necessary updates to keep the warnings and hints up-to-date.
Please feel free to fork this library. I don't recommend using this add-on for new projects.**

## Original readme:

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.](https://storybook-mobile.netlify.app/?path=/story/signup-form--default)

## Quick Start

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

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

`.storybook/main.js`

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

This addon works best along with the [@storybook/addon-viewport](https://github.com/storybookjs/storybook/tree/next/addons/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!

**NOTE**: While developing this addon locally, if you are using npm