UX Planning Pack

A toolkit for documenting user personas, writing Agile user stories, and mapping user journeys — all as web components you can drop into any HTML page.

TypeFunctional
Version1.0.0
JSpacks/ux-planning.full.js

What's Included

Components

Loading

Component Interaction

The six components are designed to cross-reference each other on the same page. Personas define the "who," empathy maps capture the "why," stories define the "what," journeys map the "how," impact/effort matrices prioritize the "when," and story maps organize the "where."

Set the id attribute on your <user-persona> elements and use matching persona-id values on <user-journey> and <empathy-map> to create navigable anchor links. Story IDs set on <user-story> via story-id are referenced by <user-journey> through the story-ids attribute and per-phase storyIds arrays in the JSON data. Use <user-story> elements as draggable children inside <impact-effort> and <story-map> for rich, interactive planning boards.

Full Planning Page Example

A complete UX planning page using all six components together:

Recipes

These planning surfaces are built entirely from existing VB primitives — no additional components needed. Copy the markup pattern and adapt it to your project.

Kanban Board

A sprint board using <drag-surface> columns with <user-story> cards. Drag stories between Backlog, In Progress, Review, and Done. Column counts update automatically on transfer.

Retrospective Board

A 3-column retro board with color-tinted columns for What Went Well, What Didn't Go Well, and Action Items. Freeform <article> cards with a bottom-of-column form to add new items.

SWOT Analysis

A 2×2 strategic planning grid mapping Strengths, Weaknesses, Opportunities, and Threats across Internal/External and Helpful/Harmful axes. Pure CSS layout with semantic sections and color-tinted quadrants.

Stakeholder Map

A Power/Interest matrix using four <drag-surface> quadrants. Stakeholder cards are plain <article> elements with name and role. You can also use <user-persona compact> as children for richer stakeholder representation.

Decision Matrix

A weighted scoring table built on <data-table>. Criteria columns carry weights; cells show raw and weighted scores. Sort by Total to rank options. Adjust weights interactively with the form below the table.

Risk Register

A risk tracking table using <data-table> with expandable rows for mitigation details. Score is computed as Likelihood × Impact. Status badges use data attributes for color styling. Sort, filter, and paginate out of the box.

When to Use

Load the UX Planning pack when you are building sprint planning pages, design documentation, stakeholder presentations, or any page that needs structured Agile artifacts. All components support a compact attribute for dashboard-style layouts where space is limited. The recipes above demonstrate how existing VB primitives cover kanban boards, retrospective boards, SWOT analysis, stakeholder mapping, decision matrices, and risk registers without additional components. For general-purpose sites that do not need UX planning artifacts, skip this pack entirely.

Roadmap

Gantt Chart — a timeline visualization with range bars, grouped rows, and milestone markers is planned as a future addition. It requires a time-axis rendering system not currently covered by existing primitives and will be built after the recipe patterns above have been validated in production use.