Ant Design / Published template

Subscription Cohort Analysis Workspace

An analysis workspace for comparing subscription cohorts with explicit metric definitions, date ranges, and data-quality context.

Prompt reference v1
Subscription Cohort Analysis Workspace interface structure preview

Structure blueprint

Data-driven fallback
Ant DesignStructure v1

Metric and date controls frame a cohort matrix, supporting trend view, definition panel, and a compact record of active filters.

Analytics DashboardData DenseUnderstated

Composition principles

Keep metric definition, unit, date range, and cohort basis visible. Use aligned tables for exact comparison and reserve charts for patterns that the table alone cannot show.

Behavior and access

Filter changes announce updated scope, legends remain keyboard accessible, table cells have row and column headers, and export actions preserve the visible definition context.

Engineering boundaries

Query aggregated metrics through a typed service. Do not calculate authoritative retention or revenue in UI components, cap result size, and show freshness and suppressed-data rules.

Ant Design token ledger

Structure v1

The open-source enterprise design system maintained by Ant Group contributors.

Color roles

model
role-based
requiredRoles
background, surface, primary, success, warning, error

Typography

approach
hierarchical type scale
requirements
readable data labels, distinct page and section headings

Spacing

approach
compact enterprise rhythm
baseUnitPx
4

Component rules

forms
Pair labels, help text, and validation messages with their controls.
tables
Keep column labels persistent and expose sorting state.

Where this template fits