Responsive Sidebar Dashboard Prompt
Create a dashboard interface with clear navigation, keyboard behavior and an explicit mobile sidebar state.
What this prompt does
Navigation structure
Map real route groups and the active page.
Mobile state
Define how the sidebar opens, closes and manages focus.
Interaction checks
Include keyboard and responsive acceptance cases.
What to provide & what you get
- Input
- Navigation groups, representative dashboard data, active route and the required stack.
- Expected output
- A dashboard prototype or scoped implementation with desktop/mobile navigation states and acceptance checks.
How to use
- Provide routes, representative data and the required stack.
- Run the returned code or inspect the scoped patch.
- Test desktop/mobile navigation, active state and keyboard focus.
Check the result: Every navigation action and sidebar state should be understandable and reachable by keyboard.
Copy. Paste. Run.
v1.0.0-gas1Edit the inputs below, then copy into your AI tool with the requested source material.
Before you start
- Navigation groups, representative dashboard data, active route and the required stack.
Worked example · Editorial fixture
Turn a two-group navigation tree into focus checks
Original fictional inputs and a prepared editorial answer. This reusable prompt was not run against the fixture. Use the files and case-specific checks to review your own result.
Example input
Fictional repair dashboard. Plain HTML/CSS/JS. Routes: Jobs → Open (/jobs/open), Ready (/jobs/ready); Reports → Daily (/reports/daily). Active: /jobs/open. Demo data: job J17, ready. Desktop sidebar; below 760px an explicitly opened panel.
Prepared output
DESKTOP: Jobs and Reports are labeled groups; links remain links. Mark Open with aria-current="page". Group-toggle buttons expose aria-expanded. NARROW SCREEN: Menu button controls the navigation; opening moves focus to the first visible link. Escape closes it and returns focus to Menu. Tab cycles within the open modal navigation. A backdrop closes it. Resizing clears transient open state. DOWNLOAD: dashboard.html is a prepared editorial prototype with these states, not a model run. ACCEPTANCE: open, close, Escape, tab order, active link and 760px breakpoint. Its route links are illustrative and do not implement application pages. Physical mobile and cross-browser checks remain unperformed.
What to check in this case
- Prototype contains real state buttons, semantic links, a current-page label and focus handling; no fake route backend is claimed.
- Desktop and narrow-layout checks are recorded separately; presence of a media query alone is not reported as device testing.
Keep in mind
- Generated code has not been executed in this review.
- Accessibility and cross-browser behavior require inspection of the actual implementation.



