One-page résumé
A one-page résumé on a paper sheet: roles open for details, and Save as PDF prints a clean A4 with everything expanded.
"use client";
import { useState } from "react";
import "./resume-page.css";
/**
* ResumePage: a one-page résumé that reads well on a screen and prints cleanly on A4.
* Its signature: the experience timeline opens each role for details, and
* "Save as PDF" uses the browser's print dialog with a dedicated print layout.
* Edit the data below; no images are needed.
*/
const ROLES = [
{
title: "Senior product designer",
org: "Fernweh Maps",
place: "Berlin",
from: "2023",
to: "Now",
summary:
"Lead designer for routing and offline maps, used by 6 million people a month.",
points: [
"Redesigned offline downloads; support tickets about storage fell by 40%.",
"Built the design system's motion and accessibility guidelines with two engineers.",
"Mentor to three designers, two of them promoted in 2025.",
],
},
{
title: "Product designer",
org: "Tidemark",
place: "Amsterdam",
from: "2020",
to: "2023",
summary:
"Second designer at an invoicing start-up, from 300 to 4,000 paying studios.",
points: [
"Designed automatic payment reminders, now the product's most-used feature.",
"Ran fortnightly customer interviews and kept the research library.",
],
},
{
title: "Junior designer",
org: "Northfield Studio",
place: "Lisbon",
from: "2018",
to: "2020",
summary: "Websites and brand work for cultural clients.",
points: [
"Designed and built the Eastgate Library website with the studio's developer.",
],
},
];
const SKILLS = [
{
group: "Design",
items: [
"Product and interaction design",
"Design systems",
"Prototyping",
"Motion",
],
},
{
group: "Research",
items: ["Interviews", "Usability testing", "Analytics"],
},
{
group: "Build",
items: ["HTML and CSS", "React basics", "Figma and Framer"],
},
];
const LANGS = [
{ name: "English", level: "Fluent" },
{ name: "Spanish", level: "Native" },
{ name: "German", level: "Working (B2)" },
];
export function ResumePage() {
const [open, setOpen] = useState<number | null>(0);
return (
<div className="gu-cv">
<div className="gu-cv__paper">
<header className="gu-cv__head">
<span className="gu-cv__mono" aria-hidden="true">
SR
</span>
<div>
<h1>Sofía Reyes</h1>
<p className="gu-cv__role">Senior product designer</p>
</div>
<p className="gu-cv__status">
<span aria-hidden="true" />
Open to new roles from March 2027
</p>
</header>
<ul className="gu-cv__contact" aria-label="Contact">
<li>Berlin, Germany</li>
<li>
<a href="mailto:sofia@example.com">sofia@example.com</a>
</li>
<li>
<a href="#">sofiareyes.example</a>
</li>
</ul>
<div className="gu-cv__actions">
<button type="button" onClick={() => window.print()}>
Save as PDF
</button>
<a href="mailto:sofia@example.com">Email me</a>
</div>
<p className="gu-cv__intro">
I design maps, money and the small moments in between. Eight years
making complicated products feel calm, with a habit of sitting next to
engineers until it ships.
</p>
<section className="gu-cv__section" aria-labelledby="gu-cv-exp">
<h2 id="gu-cv-exp">Experience</h2>
<ol className="gu-cv__roles">
{ROLES.map((r, i) => {
const isOpen = open === i;
return (
<li key={r.org} className={isOpen ? "is-open" : ""}>
<p className="gu-cv__years">
{r.from} to {r.to}
</p>
<div>
<h3>
<button
type="button"
aria-expanded={isOpen}
aria-controls={`gu-cv-role-${i}`}
onClick={() => setOpen(isOpen ? null : i)}
>
{r.title}, {r.org}
<span className="gu-cv__chev" aria-hidden="true" />
</button>
</h3>
<p className="gu-cv__where">
{r.place}. {r.summary}
</p>
<div id={`gu-cv-role-${i}`} className="gu-cv__points">
<ul>
{r.points.map((p) => (
<li key={p}>{p}</li>
))}
</ul>
</div>
</div>
</li>
);
})}
</ol>
</section>
<div className="gu-cv__cols">
<section className="gu-cv__section" aria-labelledby="gu-cv-skills">
<h2 id="gu-cv-skills">Skills</h2>
<dl className="gu-cv__skills">
{SKILLS.map((s) => (
<div key={s.group}>
<dt>{s.group}</dt>
<dd>{s.items.join(", ")}</dd>
</div>
))}
</dl>
</section>
<section className="gu-cv__section" aria-labelledby="gu-cv-edu">
<h2 id="gu-cv-edu">Education</h2>
<p>
<b>BA Communication Design</b>
<br />
University of Lisbon, 2014 to 2018
</p>
<h2 className="gu-cv__h2-gap">Languages</h2>
<ul className="gu-cv__langs">
{LANGS.map((l) => (
<li key={l.name}>
<b>{l.name}</b> {l.level}
</li>
))}
</ul>
</section>
</div>
</div>
</div>
);
}
Paste this into ChatGPT, Claude, Cursor, v0, Lovable or Bolt. It describes the layout, motion, colors and accessibility and includes the code, so the AI can rebuild it in any framework.
# Build this UI piece: One-page résumé
You are a senior front-end engineer. Recreate the piece below in my project. If I don't say which framework I use, ask once, then build it in that framework (React, Vue, Svelte, Angular, Astro, plain HTML/CSS/JS or anything else). Keep the behavior, motion, colors, spacing and accessibility exactly as described. Keep the code clean and commented for beginners.
## What it is
A one-page résumé ("Sofía Reyes, senior product designer") shown as a sheet of paper on a warm background. It reads well on a screen and prints cleanly on A4. Its signature: the experience timeline opens each role for details, and "Save as PDF" opens the browser's print dialog with a dedicated print layout (every role open, no buttons, white paper). Sections: header (monogram, name, role, an availability badge), contact line, two buttons, a short intro, experience, then skills beside education and languages. No images.
## Palette
Page background #e9e2d3, paper #fbf8f2, text #0e0e10, muted #57534b, lines rgba(14,14,16,0.14), accent #ff5a1f (monogram, bullet dashes), lime #d7ff3a (availability badge, with ink text), focus #2b35ff.
## Layout
- Root uses container queries (container-type: inline-size) with 4% padding. The paper is max 820px wide, centered, 7% padding, 6px radius and a soft two-layer shadow.
- Header: a 64px orange monogram circle, the name (up to 3.4rem, weight 900), the role below; the lime "Open to new roles" pill sits beside them from 700px and wraps under them on phones.
- Contact: a wrapping row (place, email, site) above a hairline. Buttons: "Save as PDF" (solid ink) and "Email me" (outlined), both 44px pills.
- Experience: an ordered list; from 600px each role has a 7.5em years column and a content column. The title line is a full-width button with a chevron. The place and a one-line summary are always visible; the bullet points open below.
- Skills (a definition list by group) and Education plus Languages sit in two columns from 640px.
## Motion
- Role details open with a height transition using grid-template-rows from 0fr to 1fr (0.45s). The chevron rotates from down to up.
## Print
- @page A4 with 14mm margins; white background, no shadow, no padding.
- Buttons and chevrons are hidden; every role's points are forced open and visible; the badge and monogram keep their colors (print-color-adjust: exact); roles and sections avoid breaking across pages.
## Accessibility
- Each role's title is a button with aria-expanded and aria-controls; closed points are visibility: hidden, so they are skipped by screen readers and the keyboard.
- The monogram is aria-hidden; the contact list has an aria-label.
- prefers-reduced-motion: details and chevron change without transitions.
## Reference implementation
The original is written in React with one plain CSS file. Dependencies: none (plain React and CSS). Translate it faithfully; do not add new libraries unless my framework needs them.
### ResumePage.tsx
```tsx
"use client";
import { useState } from "react";
import "./resume-page.css";
/**
* ResumePage: a one-page résumé that reads well on a screen and prints cleanly on A4.
* Its signature: the experience timeline opens each role for details, and
* "Save as PDF" uses the browser's print dialog with a dedicated print layout.
* Edit the data below; no images are needed.
*/
const ROLES = [
{
title: "Senior product designer",
org: "Fernweh Maps",
place: "Berlin",
from: "2023",
to: "Now",
summary:
"Lead designer for routing and offline maps, used by 6 million people a month.",
points: [
"Redesigned offline downloads; support tickets about storage fell by 40%.",
"Built the design system's motion and accessibility guidelines with two engineers.",
"Mentor to three designers, two of them promoted in 2025.",
],
},
{
title: "Product designer",
org: "Tidemark",
place: "Amsterdam",
from: "2020",
to: "2023",
summary:
"Second designer at an invoicing start-up, from 300 to 4,000 paying studios.",
points: [
"Designed automatic payment reminders, now the product's most-used feature.",
"Ran fortnightly customer interviews and kept the research library.",
],
},
{
title: "Junior designer",
org: "Northfield Studio",
place: "Lisbon",
from: "2018",
to: "2020",
summary: "Websites and brand work for cultural clients.",
points: [
"Designed and built the Eastgate Library website with the studio's developer.",
],
},
];
const SKILLS = [
{
group: "Design",
items: [
"Product and interaction design",
"Design systems",
"Prototyping",
"Motion",
],
},
{
group: "Research",
items: ["Interviews", "Usability testing", "Analytics"],
},
{
group: "Build",
items: ["HTML and CSS", "React basics", "Figma and Framer"],
},
];
const LANGS = [
{ name: "English", level: "Fluent" },
{ name: "Spanish", level: "Native" },
{ name: "German", level: "Working (B2)" },
];
export function ResumePage() {
const [open, setOpen] = useState<number | null>(0);
return (
<div className="gu-cv">
<div className="gu-cv__paper">
<header className="gu-cv__head">
<span className="gu-cv__mono" aria-hidden="true">
SR
</span>
<div>
<h1>Sofía Reyes</h1>
<p className="gu-cv__role">Senior product designer</p>
</div>
<p className="gu-cv__status">
<span aria-hidden="true" />
Open to new roles from March 2027
</p>
</header>
<ul className="gu-cv__contact" aria-label="Contact">
<li>Berlin, Germany</li>
<li>
<a href="mailto:sofia@example.com">sofia@example.com</a>
</li>
<li>
<a href="#">sofiareyes.example</a>
</li>
</ul>
<div className="gu-cv__actions">
<button type="button" onClick={() => window.print()}>
Save as PDF
</button>
<a href="mailto:sofia@example.com">Email me</a>
</div>
<p className="gu-cv__intro">
I design maps, money and the small moments in between. Eight years
making complicated products feel calm, with a habit of sitting next to
engineers until it ships.
</p>
<section className="gu-cv__section" aria-labelledby="gu-cv-exp">
<h2 id="gu-cv-exp">Experience</h2>
<ol className="gu-cv__roles">
{ROLES.map((r, i) => {
const isOpen = open === i;
return (
<li key={r.org} className={isOpen ? "is-open" : ""}>
<p className="gu-cv__years">
{r.from} to {r.to}
</p>
<div>
<h3>
<button
type="button"
aria-expanded={isOpen}
aria-controls={`gu-cv-role-${i}`}
onClick={() => setOpen(isOpen ? null : i)}
>
{r.title}, {r.org}
<span className="gu-cv__chev" aria-hidden="true" />
</button>
</h3>
<p className="gu-cv__where">
{r.place}. {r.summary}
</p>
<div id={`gu-cv-role-${i}`} className="gu-cv__points">
<ul>
{r.points.map((p) => (
<li key={p}>{p}</li>
))}
</ul>
</div>
</div>
</li>
);
})}
</ol>
</section>
<div className="gu-cv__cols">
<section className="gu-cv__section" aria-labelledby="gu-cv-skills">
<h2 id="gu-cv-skills">Skills</h2>
<dl className="gu-cv__skills">
{SKILLS.map((s) => (
<div key={s.group}>
<dt>{s.group}</dt>
<dd>{s.items.join(", ")}</dd>
</div>
))}
</dl>
</section>
<section className="gu-cv__section" aria-labelledby="gu-cv-edu">
<h2 id="gu-cv-edu">Education</h2>
<p>
<b>BA Communication Design</b>
<br />
University of Lisbon, 2014 to 2018
</p>
<h2 className="gu-cv__h2-gap">Languages</h2>
<ul className="gu-cv__langs">
{LANGS.map((l) => (
<li key={l.name}>
<b>{l.name}</b> {l.level}
</li>
))}
</ul>
</section>
</div>
</div>
</div>
);
}
```
### resume-page.css
```css
/* ResumePage: change these colors to match your brand. */
.gu-cv {
--bg: #e9e2d3;
--paper: #fbf8f2;
--text: #0e0e10;
--muted: #57534b;
--line: rgb(14 14 16 / 0.14);
--accent: #ff5a1f;
--volt: #d7ff3a;
--focus: #2b35ff;
--ease: cubic-bezier(0.16, 1, 0.3, 1);
container-type: inline-size;
padding: 4% 4%;
background: var(--bg);
color: var(--text);
font-family: system-ui, sans-serif;
}
.gu-cv a {
color: inherit;
}
.gu-cv :focus-visible {
outline: 2px solid var(--focus);
outline-offset: 3px;
}
.gu-cv h1,
.gu-cv h2,
.gu-cv h3,
.gu-cv p,
.gu-cv dl,
.gu-cv dd {
margin: 0;
}
/* The page itself: an A4-proportioned sheet */
.gu-cv__paper {
max-width: 820px;
margin: 0 auto;
padding: 7% 7% 8%;
border-radius: 6px;
background: var(--paper);
box-shadow:
0 1px 2px rgb(14 14 16 / 0.08),
0 30px 60px -30px rgb(14 14 16 / 0.35);
}
.gu-cv__head {
display: grid;
grid-template-columns: auto 1fr;
align-items: center;
gap: 16px 20px;
}
@container (min-width: 700px) {
.gu-cv__head {
grid-template-columns: auto 1fr auto;
}
}
.gu-cv__mono {
display: grid;
place-items: center;
width: 64px;
height: 64px;
border-radius: 50%;
background: var(--accent);
font-size: 1.4rem;
font-weight: 900;
letter-spacing: -0.04em;
}
.gu-cv__head h1 {
font-size: clamp(2rem, 6cqi, 3.4rem);
font-weight: 900;
line-height: 0.95;
letter-spacing: -0.05em;
}
.gu-cv__role {
margin-top: 4px !important;
font-weight: 600;
color: var(--muted);
}
.gu-cv__status {
grid-column: 1 / -1;
justify-self: start;
display: inline-flex;
align-items: center;
gap: 8px;
padding: 6px 12px;
border-radius: 999px;
background: var(--volt);
font-size: 0.85rem;
font-weight: 700;
}
@container (min-width: 700px) {
.gu-cv__status {
grid-column: auto;
}
}
.gu-cv__status span {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--text);
}
.gu-cv__contact {
display: flex;
flex-wrap: wrap;
gap: 6px 22px;
margin: 24px 0 0;
padding: 16px 0 0;
border-top: 1px solid var(--line);
list-style: none;
font-size: 0.95rem;
color: var(--muted);
}
.gu-cv__contact a {
color: var(--text);
font-weight: 600;
text-underline-offset: 3px;
}
.gu-cv__actions {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 20px;
}
.gu-cv__actions button,
.gu-cv__actions a {
display: inline-flex;
align-items: center;
min-height: 44px;
padding: 0 18px;
border: 0;
border-radius: 999px;
font: inherit;
font-weight: 800;
text-decoration: none;
cursor: pointer;
}
.gu-cv__actions button {
background: var(--text);
color: var(--paper);
}
.gu-cv__actions a {
box-shadow: inset 0 0 0 2px var(--text);
}
.gu-cv__intro {
max-width: 52ch;
margin-top: 28px !important;
font-size: 1.15rem;
line-height: 1.5;
}
.gu-cv__section {
margin-top: 36px;
}
.gu-cv__section h2 {
margin-bottom: 14px;
font-size: 0.85rem;
font-weight: 700;
color: var(--muted);
}
.gu-cv__h2-gap {
margin-top: 24px !important;
}
/* Experience timeline */
.gu-cv__roles {
margin: 0;
padding: 0;
list-style: none;
}
.gu-cv__roles > li {
display: grid;
gap: 4px 20px;
padding: 14px 0;
border-top: 1px solid var(--line);
}
@container (min-width: 600px) {
.gu-cv__roles > li {
grid-template-columns: 7.5em 1fr;
}
}
.gu-cv__years {
padding-top: 3px;
font-size: 0.88rem;
font-variant-numeric: tabular-nums;
color: var(--muted);
}
.gu-cv__roles h3 {
font-size: 1.08rem;
}
.gu-cv__roles h3 button {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
width: 100%;
min-height: 32px;
padding: 0;
border: 0;
background: none;
color: inherit;
font: inherit;
font-weight: 800;
text-align: left;
cursor: pointer;
}
.gu-cv__chev {
flex: none;
width: 9px;
height: 9px;
border-right: 2px solid currentColor;
border-bottom: 2px solid currentColor;
transform: rotate(45deg) translateY(-3px);
transition: transform 0.35s var(--ease);
}
.gu-cv__roles li.is-open .gu-cv__chev {
transform: rotate(-135deg) translateY(-3px);
}
.gu-cv__where {
color: var(--muted);
line-height: 1.5;
}
/* Details open with a height transition (grid rows 0fr → 1fr) */
.gu-cv__points {
display: grid;
grid-template-rows: 0fr;
transition: grid-template-rows 0.45s var(--ease);
}
.gu-cv__roles li.is-open .gu-cv__points {
grid-template-rows: 1fr;
}
.gu-cv__points ul {
overflow: hidden;
margin: 0;
padding: 0;
list-style: none;
}
.gu-cv__points li {
position: relative;
padding: 8px 0 0 18px;
line-height: 1.5;
}
.gu-cv__points li::before {
content: "";
position: absolute;
left: 2px;
top: 17px;
width: 7px;
height: 2px;
background: var(--accent);
}
.gu-cv__roles li:not(.is-open) .gu-cv__points ul {
visibility: hidden;
}
.gu-cv__cols {
display: grid;
gap: 0 40px;
}
@container (min-width: 640px) {
.gu-cv__cols {
grid-template-columns: 1.4fr 1fr;
}
}
.gu-cv__skills {
display: grid;
gap: 12px;
}
.gu-cv__skills dt {
font-weight: 800;
}
.gu-cv__skills dd {
margin-top: 2px;
line-height: 1.5;
color: var(--muted);
}
.gu-cv__section > p {
line-height: 1.5;
color: var(--muted);
}
.gu-cv__section > p b,
.gu-cv__langs b {
color: var(--text);
}
.gu-cv__langs {
display: grid;
gap: 4px;
margin: 0;
padding: 0;
list-style: none;
color: var(--muted);
}
@media (prefers-reduced-motion: reduce) {
.gu-cv__points,
.gu-cv__chev {
transition: none;
}
}
/* Print: one clean A4 sheet with every role open and no buttons */
@media print {
@page {
size: A4;
margin: 14mm;
}
.gu-cv {
padding: 0;
background: #fff;
}
.gu-cv__paper {
max-width: none;
padding: 0;
box-shadow: none;
background: #fff;
}
.gu-cv__actions,
.gu-cv__chev {
display: none;
}
.gu-cv__points {
grid-template-rows: 1fr !important;
}
.gu-cv__points ul {
visibility: visible !important;
}
.gu-cv__status,
.gu-cv__mono {
print-color-adjust: exact;
-webkit-print-color-adjust: exact;
}
.gu-cv__roles > li,
.gu-cv__section {
break-inside: avoid;
}
}
```
You might also want
Next piece: One-time code inputDeveloper portfolio
Portfolios, intermediate
Interior designer portfolio with a floor plan
Portfolios, advanced
Motion designer portfolio
Portfolios, advanced