Idea: Storybook specimens
See original GitHub issueI’ve been wondering lately if Catalog is able to leverage stories written for storybook as part of writing documentation. Storybook has a rich ecosystem of addons and integrations (https://github.com/oblador/loki) that can improve test and development workflows greatly.
Proposed usage:
```storybook
kind: Forms
story: Validations
```
It will be important for the Storybook specimen to be able to pull the code for a story and render it alongside the demo as with the React specimen today.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Sample Book Topic Ideas | Studentreasures Publishing
Studentreasures Publishing offers a collection of sample books and book topic ideas to inspire students to create their own classbooks. Check out this...
Read more >40 Type Specimen Books ideas - Pinterest
Feb 17, 2014 - Explore Christian's board "Type Specimen Books" on Pinterest. See more ideas about specimen, books, typography.
Read more >22+ Storybook Illustration Ideas 2022 - 99Designs
We've collected thousands of examples of creative and custom storybook illustrations ... Find inspiration to start your storybook illustration project today!
Read more >How to Find Story Ideas for Your Novel: 8 Story Idea Generators
For some lucky people, novel ideas and short story ideas flow ... Enter your email and we'll send you some samples of our...
Read more >Storybook Samples - Memoirs by Maureen
This storybook sample gives you an idea of how your story can look when you merge the power of imagery with your written...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Cool!
It’s already possible to add custom Specimens. It’s just not documented yet 😅
The simplest form of it is this:
The YAML/JSON config from the Specimen inside the Markdown maps directly to a Specimen’s props.
There’s a Specimen higher-order component to provide layout and theme info to custom Specimens. You may not need to use that to prototype something.
What’s not really possible yet is to hook into the Catalog CLI’s build system. If you need to do that, let me know what would be useful to add there.
Closing in favor of #423