New
Automatic visual tests in Storybook, plus 2.2x faster build times for React+TSVisual test with Chromatic
Star80,460
Back to integrations
Add your integration
Categories
  • ⭐️ Popular
  • 🧩 Essentials
  • 🛠 Code
  • ⚡️ Data & state
  • ✅ Test
  • 💅 Style
  • 🎨 Design
  • ⚙️ Appearance
  • 🗄 Organize
How to install addons Create an addon
arcade-storybook-addon-rtl
An addon that adds an RTL toggle to the Storybook top toolbar.
npm install arcade-storybook-addon-rtl
Last updated over 2 years ago
14
Downloads per week
Readme View on GitHub

Arcade Storybook Addon RTL

An addon that adds an RTL toggle to the Storybook top toolbar.

The only purpose of this addon is to switch dir attribute on the <body> tag from ltr to rtl and back.

Using the addon

Install the package:

yarn add --dev arcade-storybook-addon-rtl

Add the addon to your storybook main.js file:

module.exports = {
    stories: [...],
    addons: [
        'arcade-storybook-addon-rtl'
    ],
};

Enjoy :)

Join the community
6,319 developers and counting
WhyWhy StorybookComponent-driven UI
Open source software
Storybook

Maintained by
Chromatic
Special thanks to Netlify and CircleCI