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

github.com/storybookjs/solidjs

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/storybookjs/solidjs


Version published
Created
Source

Storybook SolidJS

This is a framework to allow using Storybook with SolidJS.

FeatureState
JS and TS integration with Storybook cli
Fine grained updates in storybook controls
Compatible with @storybook/addon-interactions
Compatible with @storybook/testing-library
Automatic story actions
Full props table with description in docs view mode
Code snippets generation in docs view mode
SolidJS docs in the official Storybook website

Notes about pending features ⏳

  • Automatic story actions: Feature under research. For now actions can be implemented manually by using the @storybook/addon-actions API.

  • Full props table with description in docs view mode: Feature under research. For now, props are rendered partially in the docs view table with a blank description.

  • Code snippets generation in docs view mode: Feature under research. Because solid components lack a virtual dom, a common jsx-parser doesn't work for generating a code snippet from the rendered story. For now, it outputs the original story source code. To output a more complex code implementation, you can use the render key inside a csf story definition.

  • SolidJS docs in the official Storybook website: It's still pending to add documentation about Storybook stories definitions using SolidJS.

Setup

In an existing Solid project, run npx storybook@next init (Storybook 7+ is required)

See the Storybook Docs for the best documentation on getting started with Storybook.

License

MIT License

FAQs

Package last updated on 25 Mar 2023

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