Storybook
The two Storybook builds: RUI from the rumahl repository and the RWDS Storybook for the website design system.
Two Storybooks
Both are static builds hosted under /design/storybook. Use /design/rwds/components and /design/rui/components to browse individual stories in a custom UI; the full Storybooks remain available for controls, addons and deep inspection. The RWDS Storybook imports the actual website components from components/rwds, including Header, titles, containers, media, image slideshow, docs cards, sidebar and article design. It uses the production website stylesheet, so the reference matches rumahl.com rather than the design microsite.
| Storybook | System | Source |
|---|---|---|
| RUI Storybook | rumahl UI | frontend/packages/storybook in rumahl/rumahl |
| RWDS Storybook | rumahl Web Design System | storybook-rwds in the website repository |
Run locally
# RUI
pnpm --dir frontend install --frozen-lockfile
pnpm --dir frontend storybook
# RWDS
pnpm --dir storybook-rwds install --ignore-workspace
pnpm --dir storybook-rwds storybook
Build
pnpm --dir frontend build-storybook
pnpm --dir storybook-rwds build-storybook
Boundary
Do not merge the two Storybooks into one package. They depend on different surfaces, tokens and release cycles.
Need the implementation? Open the design resources or the source repository.