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.
components/ui/ButtonLink.tsxTop bar
Name on the left, page links and the Resume button on the right. Collapses into a menu on phones.
components/Nav.tsxFooter
The 'Want to work with me?' line with a button, then copyright and links. The line is hidden on Contact.
components/Footer.tsxSection intro
Label and serif headline on the left, short text and a button on the right. The home page opening.
components/ui/SectionIntro.tsxPage header
Label, serif title, optional subtitle and lede. Opens every inner page.
components/ui/PageHeader.tsxProject card
Image, then platform icon and label, title and one-line summary.
components/ProjectCard.tsxProject grid
Three columns of project cards; two on tablets, one on phones.
components/ProjectGrid.tsxFilter chips
Single-choice row of buttons for filtering a list.
components/ui/FilterChips.tsxPlayground 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.
components/playground/PlaygroundCard.tsxView toggle
Two-button switch between list and grid layouts. Remembers the visitor's choice.
components/ui/ViewToggle.tsxProject 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.
components/playground/ProjectWindow.tsxWater 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.
components/effects/WaterRipple.tsxYour-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.
components/design/VisitorThemePill.tsxBack link
Small '‹ Parent' link at the top of a nested page.
components/ui/BackLink.tsxContact links
Icon links to reach Ridhwan directly: email (opens the visitor's mail app), X and GitHub.
components/ui/ContactLinks.tsxContact form
Name, email and message; opens the visitor's mail app with the message ready.
app/contact/ContactForm.tsxType tester
Size, weight and tracking controls, editable sample text and the character grid for KoreanFirst.
components/type/TypeTester.tsxLogo 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.
components/ui/LogoMarquee.tsxSay hi
The end of every page except Contact: an invitation, the email address and the email and X icons.
components/ui/SayHi.tsxCase 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.
components/study/Study.tsx