Landing Page Card

Design System - Landing Page component

The Landing Page Card component serves as a navigational entry point, combining visual elements, summary data, and contextual menus. Built on principles of clarity, responsiveness, and customizability, this component helps users explore modules efficiently while displaying key actions and metrics upfront.

// Sample code

  <CheckBox
    label="Label"
    onChange={(e)=>{console.log(e.target.checked}}
  />

Anatomy

Variants


Default

Displays a card with module title, optional icon, metrics, and a list of menu actions. It supports responsiveness across desktop, tablet, and mobile viewports.

Properties

Icon Supports both filled and unfilled icon styles, customizable based on visual priority or branding needs.

Icon Alignment Icons can be aligned either on the left (standard) or right (for visual distinction or emphasis).

Metrics Cards can optionally show numerical data summaries to give quick insights.

Custom Content Custom text or widgets (like contextual notes) can be injected into the card to enrich the layout.

Menu Items Actionable items like Create User, Edit User, or Delete User can be toggled based on user roles or module-specific permissions.

Property Configuration Table

Each design component offers a range of configurable options. These options are intentionally platform-agnostic, allowing implementations to adapt and tailor them to align with the specific requirements of the chosen framework.

Property
Value
Default

icon

text

-

moduleName

text

-

moduleAlignment

yes/no

no

metrics

yes/no

no

metricAlignment

-

links

yes/no

-

className

yes/no

no

style

yes/no

no

index

number

no

hideDivider

yes/no

no

iconBg

yes/no

no

buttonSize

yes/no

no

onMetricClick

yes/no

no

centreChildren

yes/no

no

endChildren

yes/no

no

Usage Guide


Hierarchical structure

Enable tree selection for complex apps where submodules need to be grouped contextually.

Don’t flatten deep hierarchies if users need to frequently access child modules—it hinders navigation efficiency.

Change log


Date
Number
Notes

Design Checklist


All interactive states

Accessible use of colours

Accessible contrast for text

Accessible contrast for UI components

Keyboard interactions

Last updated

Was this helpful?