Skip to content

Wrap current API to extend it to align with Atomic Design #161

@travi

Description

@travi

I am a big fan of the idea behind atomic design and the pattern lab tools that have been built around it. React components fit this model incredibly well, but there is no implementation of pattern lab for React components (yet at least).

When I came across this project, pattern lab for React was the first thing that came to mind. Most of my desires for such an implementation are covered well by react-storybook, so I first want to say thank you very much for the work you've put into such a helpful tool.

The feature that I think would take react-storybook to the next level as a tool that would compare to pattern lab would be the ability to group stories into categories, like atoms, molecules, organisms, templates, and pages. The last bullet under the Basic API heading mentions prefixing a story with a ., but does not explain what to expect as a result. My hope was that this was syntax that would enable grouping, but I did not notice any change in the handling of a story that I applied this to.

Is there a plan to add the ability to group stories like I describe? Was the dot notation intended for something along these lines?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions