Design system

Components

The reusable building blocks of the site. Each one is styled only by tokens, so it stays consistent wherever it appears. Open one to see it live, edit its tokens, and read how it ties to the rest.

Button

Solid or outline button, as a link. Outline buttons get the ↗ arrow. External links open in a new tab.

8 tokenscomponents/ui/ButtonLink.tsx

Top bar

Name on the left, page links and the Resume button on the right. Collapses into a menu on phones.

15 tokenscomponents/Nav.tsx

Footer

The 'Want to work with me?' line with a button, then copyright and links. The line is hidden on Contact.

15 tokenscomponents/Footer.tsx

Section intro

Label and serif headline on the left, short text and a button on the right. The home page opening.

10 tokenscomponents/ui/SectionIntro.tsx

Page header

Label, serif title, optional subtitle and lede. Opens every inner page.

10 tokenscomponents/ui/PageHeader.tsx

Project card

Image, then platform icon and label, title and one-line summary.

8 tokenscomponents/ProjectCard.tsx

Project grid

Three columns of project cards; two on tablets, one on phones.

2 tokenscomponents/ProjectGrid.tsx

Filter chips

Single-choice row of buttons for filtering a list.

8 tokenscomponents/ui/FilterChips.tsx

Playground row

A Playground project. The image comes alive on hover (or when scrolled into view on phones): KoreanFirst sweeps through its weights, clips play over covers, and projects without images get a drawn app window. 'Try it' opens the project in a window. A row in list view, a tile in grid view.

11 tokenscomponents/playground/PlaygroundCard.tsx

View toggle

Two-button switch between list and grid layouts. Remembers the visitor's choice.

7 tokenscomponents/ui/ViewToggle.tsx

Project window

A desktop-style window that opens over the page so visitors can use a project without leaving: KoreanFirst's type tester, or any site set in the Notion 'Embed' field. Full-screen on phones; Esc closes it.

8 tokenscomponents/playground/ProjectWindow.tsx

Water ripple

A sheet of water over every page. The mouse drops ripples and the page bends where they pass (Chromium browsers; others get soft light rings). Clickable things never start ripples; project cards float like lily pads.

2 tokenscomponents/effects/WaterRipple.tsx

Your-version pill

Appears at the bottom of every page while a visitor browses with their own design-system changes, with Edit and Reset. Their changes vanish when they reload or leave.

2 tokenscomponents/design/VisitorThemePill.tsx

Back link

Small '‹ Parent' link at the top of a nested page.

2 tokenscomponents/ui/BackLink.tsx

Contact links

Icon links to reach Ridhwan directly: email (opens the visitor's mail app), X and GitHub.

5 tokenscomponents/ui/ContactLinks.tsx

Contact form

Name, email and message; opens the visitor's mail app with the message ready.

14 tokensapp/contact/ContactForm.tsx

Type tester

Size, weight and tracking controls, editable sample text and the character grid for KoreanFirst.

6 tokenscomponents/type/TypeTester.tsx

Logo row

An endless row of client logos in black and white; hovering brings back their colour, and each links to the client's site. Pauses on hover and stays still for reduced motion.

2 tokenscomponents/ui/LogoMarquee.tsx

Say hi

The end of every page except Contact: an invitation, the email address and the email and X icons.

5 tokenscomponents/ui/SayHi.tsx

Case study layout

Hero with a meta row, then numbered sections (TL;DR, context, discovery, users, ideation, a step-by-step final design, outcomes on a dark band, learnings), reusable blocks (stats, quotes, before/after, problem lists, decision grids, alternating features, personas, pain/fix rows, journey tables, reflections), then 'Next case study' and 'Say hi!' with the email and X icons. Content lives in lib/studies; each project only sets its accent colour.

6 tokenscomponents/study/Study.tsx