Issue 1534
enhancement: Showcase component page with configuration panels, code and deep links
Back to our planOpen
enhancementfrontenduxpriority: medium
Problem
Each component needs one page that shows everything it can do, compactly, with the code to copy and a link to each configuration.
Proposed fix
/showcase/<component>: its description, then compact configuration panels from its examples file, each with the live example, its source (the kit'sCodeBlock), a one-line purpose, and a permanent link (#<configuration>) that opens the page at that panel.- One interactive panel whose settings come from the component's variants in the index (the generated props), drawing the component live as they change.
- The props table, the places that use it, and links to its knowledge note and source file.
- Built to the approved mockup.
Existing work compared
Searched open and closed issues on 2026-11-26 (showcase, Storybook, gallery, toggle, switch, developer site, examples, theme readiness, usage, side navigation). Part of epic #1528, which replaces #1424 (owner decision 2026-11-26, recorded there). No other issue covers this step.
Acceptance criteria
- Not done: Every configuration in an examples file appears; a deep link opens the page at that panel with it in view
- Not done: The interactive panel offers exactly the variants the code declares (a test compares them)
- Not done: Code shown matches the example's source file
- Not done: Checked at the six widths in light and dark; an axe check; keyboard usable
Files likely touched
src/app/(developer)/showcase/, src/platform/ui/
Must not touch
src/modules/, src/payload.config.ts, scripts/reference/
Open questions
- Waits for the approved mockup, the shell and the examples format.
Area
frontend, ux
Priority
priority: medium
Generated by Claude Code, opens in a new tab