nebula-page-stories
Installation
SKILL.md
Example page stories with Storybook
Page stories showcase how components work together in realistic layouts. They should closely mirror what end users will experience in Drupal Canvas, so avoid patterns that won't be available in Canvas.
Location and naming
- Page stories MUST be placed in
src/stories/example-pages/ - Page story files should be named
<page-name>.stories.jsx - The Storybook title MUST use this format:
title: "Example pages/[Page Title]"
Single-story hoisting
Use single-story hoisting for cleaner navigation. Page stories should use Storybook's single-story hoisting feature to avoid unnecessary nesting in the sidebar. This is achieved by: