Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@storybook/ui

Package Overview
Dependencies
Maintainers
5
Versions
1135
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@storybook/ui

Core Storybook UI

  • 7.0.0-alpha.34
  • future
  • Source
  • npm
  • Socket score

Version published
Maintainers
5
Created

What is @storybook/ui?

The @storybook/ui package is a part of the Storybook ecosystem, which is an open-source tool for developing UI components in isolation for React, Vue, Angular, and many other frameworks. It provides the UI for Storybook, allowing developers to browse a component library, view the different states of each component, and interactively develop and test components.

What are @storybook/ui's main functionalities?

Customizable UI

This feature allows developers to customize the Storybook UI according to their preferences or branding requirements by applying a custom theme.

import { addons } from '@storybook/addons';
import yourTheme from './yourTheme';

addons.setConfig({
  theme: yourTheme,
});

Navigation and Layout

Developers can configure the layout and navigation of the Storybook UI, including fullscreen mode, visibility of navigation and panels, panel positioning, sidebar animations, and keyboard shortcuts.

import { addons } from '@storybook/addons';

addons.setConfig({
  isFullscreen: false,
  showNav: true,
  showPanel: true,
  panelPosition: 'bottom',
  sidebarAnimations: true,
  enableShortcuts: true,
});

Toolbar and Tool Configuration

This allows for the configuration of the toolbar and tools within the Storybook UI, including setting a default panel and applying a theme from the Storybook theming package.

import { addons } from '@storybook/addons';
import { themes } from '@storybook/theming';

addons.setConfig({
  selectedPanel: 'storybook/actions/panel',
  theme: themes.dark,
});

Other packages similar to @storybook/ui

Keywords

FAQs

Package last updated on 27 Sep 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc