Component Library

MSA Platform Wireframes

← Back to Wireframes

Headings

pageHeading(title, action)

Page Title

ACTION
{{ c.pageHeading("Page Title", { label: "ACTION", href: "#" }) }}

heroHeader(title, action, description)

Hero Title

Create New

Optional description text goes here

{{ c.heroHeader("Hero Title", { label: "Create New", href: "#" }, "Description") }}

sectionHeading(title, id)

Section Heading

{{ c.sectionHeading("Section Heading", "section-id") }}

Buttons

{{ c.buttonPrimary("Label", "#href") }}
{{ c.buttonSecondary("Label", "#href") }}
{{ c.buttonLink("Label", "#href", destructive) }}
{{ c.buttonText("Label", "#href", "bg-gray-100") }}

Forms

fieldText(label, value, optional, link)

John
john@example.com
{{ c.fieldText("First Name", "John") }}
{{ c.fieldText("Email", "john@example.com", true, true) }}

inputText(placeholder, name, value, fullWidth)

{{ c.inputText("Enter your name...", "name", "", true) }}

fieldCheckbox(label, checked, name)

{{ c.fieldCheckbox("Option label", true, "name") }}

fieldGrid(cols, content)

Value 1
Value 2
{{ c.fieldGrid(2, content) }}

Layout

card(content, classes)

This is card content. Cards are generic white bordered containers.

{{ c.card('

Content here

', 'extra-classes') }}

settingsSection(id, title, content)

Preferences

{{ c.settingsSection("id", "Title", content) }}

grid(content, columns)

42
Users
128
Courses
1.2K
Completions
{{ c.grid(content, 3) }}

Data Display

statCard(value, label)

1,234
Total Users
89%
Completion Rate
$12.5K
Revenue
{{ c.statCard("1,234", "Total Users") }}

tableHeader + tableRow

Name Email Status
John Doe john@example.com Active
Jane Smith jane@example.com Pending
{{ c.tableHeader(["Col1", "Col2"]) }}
{{ c.tableRow(["data", "data"]) }}

UI Elements

avatar(size, hasBadge, badgeColor)

{{ c.avatar("w-12 h-12", true, "bg-green-500") }}

statusBadge(label, status)

Active Pending Inactive
{{ c.statusBadge("Active", "active") }}

registrationStatus(status)

COMPLETED PENDING CANCELLED REFUNDED
{{ c.registrationStatus("completed") }}

badge(count)

Notifications 5 Messages 12
{{ c.badge(5) }}

Banners

learningJourneyBanner

Learning Journey Title

Optional description for the learning journey goes here.

Duration: 8 weeks
In Partnership With
Partner Logo

courseBanner

ONLINE COURSE

Course Title Here

A brief tagline for the course

Full description of the course content and what students will learn.

TIME: 2 hours SKILL LEVEL: Beginner
In Progress: 45%
Continue Course: Module 3: Key Concepts
Course Image

workshopBannerSimple

IN PERSON WORKSHOP

Workshop Title

DATES: Oct 13-15, 2025 LOCATION: Columbia, SC

Cards

contentCard

Card Title

Description text for this card.

12 items

Another Card

More description here.

{{ c.contentCard(image, title, description, metadata, actions) }}

courseCard

Course Title

Visibility Public
Availability Open
Total Sign Ups 45
Total Completed 12
{{ c.courseCard(title, visibility, availability, signUps, completed, href) }}

learningCourseCard

Course Title

In Progress: 45%

Course description explaining what the student will learn.

5 Modules Continue
{{ c.learningCourseCard(title, description, modules, status, progress, href) }}

userCard

John Doe

john@example.com
Acme Corp
Tier: Gold
Points: 500-1000
Last login: 2 days ago
{{ c.userCard(name, email, organization, tier, pointRange, lastLogin, href) }}

revenueCard

Updated Jan 15, 2025
$12,500
125 Registrants
{{ c.revenueCard(title, href, updated, revenue, registrants) }}

Course Modules

courseModuleSection + courseModuleItem

{{ c.courseModuleSection("Title") }}
  {{ c.courseModuleItem("Item", "#", "document", completed) }}
{{ c.courseModuleSectionEnd() }}

scheduleEventMilestone

Milestone

Registration Deadline

Dates Oct 1, 2025

Complete your registration before this date.

{{ c.scheduleEventMilestone(title, dates, description, isPast) }}

scheduleEventVideoConference

Video Conference

Kickoff Meeting

Date & Time Oct 15, 2025 at 2:00 PM ET | Duration 1 hour

Join us for the program kickoff.

+ MORE INFORMATION
{{ c.scheduleEventVideoConference(title, dateTime, duration, description, showMoreInfo, isPast) }}

learningObjective

  • Understanding Basics
    Learn the fundamental concepts and terminology.
  • Practical Application
    Apply concepts to real-world scenarios.
{{ c.learningObjective("Title", "Description") }}