Built with MagicPath

MagicPath Challenge - Design Library

Cat

Cat Leung

Verified

Overview

This project showcases how I developed a modular component library in MagicPath - from individual building blocks to a fully functional site. The goal was to create a scalable, flexible system that allows creators to compose entire pages efficiently while maintaining consistent design and usability.

1. Single Component – The Foundation

I began by designing single components - the smallest, atomic elements of the library. These included basic UI parts such as buttons, headings, and image blocks. Each component was crafted with flexible sizing, accessible contrast, and clean spacing to ensure they could adapt seamlessly across layouts.

2. Variations – Same Structure, Different Styles

Next, I explored variations: using the same base structure but applying different visual treatments. For example, card components shared identical layouts but varied in tone, typography, and hover states.

3. Carousel / Row Components – Dynamic Grouping

After refining individual and variant components, I moved into carousel or row components. These dynamic groupings displayed multiple cards or media elements within interactive, horizontally scrollable layouts.

4. Section Blocks – Building the Page Skeleton

Once I had stable row components, I expanded them into section blocks—larger templates designed to hold multiple rows. Sections like “Hero,” “Highlights,” or “Testimonials” became the building blocks of entire page layouts.

💡 Pro Tip: Naming System Like Figma

When creating components, I use a Figma-style naming convention to make reuse effortless—especially when typing “@” in MagicPath.
I always start with the component type first (e.g., Card, Button, Hero), followed by variation or status (e.g., Card / Highlight, Button / Primary / Disabled).
This structure keeps everything searchable and predictable, saving tons of time as the library grows.
“A good naming system is like a design language"
Like this project

Posted Nov 6, 2025

This project showcases how I developed a modular component library in MagicPath—from individual building blocks to a fully functional site.

Likes

2

Views

1

Timeline

Oct 23, 2025 - Oct 24, 2025

Clients

Contra