Design studio page
A bold one-page site for a small studio: giant stretched name, scrolling services ribbon, work grid and services list with hover reveals.
"use client";
import { useEffect, useRef } from "react";
import "./studio-page.css";
type Work = { title: string; client: string; image: string; tone: string };
const WORK: Work[] = [
{
title: "A bakery that opens at 5am",
client: "Brand identity, Ruta Bakehouse",
image: "/images/landing-studio-work-01.jpg",
tone: "#ff5a1f",
},
{
title: "Wayfinding for a city library",
client: "Signage system, Eastgate Library",
image: "/images/landing-studio-work-02.jpg",
tone: "#2b35ff",
},
];
const SERVICES = [
{
name: "Brand identity",
text: "Names, logos, type and color systems that hold up for years.",
},
{
name: "Websites",
text: "Fast, accessible sites your team can update without us.",
},
{
name: "Packaging",
text: "Boxes, labels and bags people keep after the product is gone.",
},
{
name: "Motion",
text: "Logo animations, launch films and interface motion.",
},
];
/** Image with a colored placeholder underneath. If the file is missing, the placeholder shows. */
function Shot({ src, alt, tone }: { src: string; alt: string; tone: string }) {
const img = useRef<HTMLImageElement>(null);
// The image may have failed before React loaded, so check once on mount too.
useEffect(() => {
const el = img.current;
if (el && el.complete && el.naturalWidth === 0) el.style.display = "none";
}, []);
return (
<div className="gu-studio__shot" style={{ ["--tone" as string]: tone }}>
<img
ref={img}
src={src}
alt={alt}
loading="lazy"
onError={(e) => (e.currentTarget.style.display = "none")}
/>
</div>
);
}
/**
* StudioPage: a one-page site for a design studio ("Northfield").
* Edit WORK and SERVICES above, swap the images in /public/images.
*/
export function StudioPage() {
return (
<div className="gu-studio">
<nav className="gu-studio__nav" aria-label="Main">
<a href="#">Northfield®</a>
<a href="#studio-contact" className="gu-studio__nav-cta">
Start a project
</a>
</nav>
<header className="gu-studio__hero">
<p className="gu-studio__intro">
An independent design studio for brands that would rather be
remembered than liked.
</p>
<h1 className="gu-studio__name" aria-label="Northfield">
{"NORTHFIELD".split("").map((ch, i) => (
<span key={i} aria-hidden="true" style={{ ["--i" as string]: i }}>
{ch}
</span>
))}
</h1>
</header>
<div className="gu-studio__ribbon" aria-hidden="true">
<div className="gu-studio__ribbon-track">
{[0, 1].map((copy) => (
<span key={copy}>
{SERVICES.map((s) => (
<span key={s.name}>
{s.name} <b>✶</b>{" "}
</span>
))}
</span>
))}
</div>
</div>
<section className="gu-studio__work" aria-label="Selected work">
{WORK.map((w) => (
<a key={w.title} href="#" className="gu-studio__card">
<Shot src={w.image} alt={w.title} tone={w.tone} />
<h2>{w.title}</h2>
<p>{w.client}</p>
</a>
))}
</section>
<section
className="gu-studio__services"
aria-labelledby="gu-studio-services"
>
<h2 id="gu-studio-services">What we do</h2>
<ul>
{SERVICES.map((s) => (
<li key={s.name}>
<span className="gu-studio__service-name">{s.name}</span>
<span className="gu-studio__service-text">{s.text}</span>
</li>
))}
</ul>
</section>
<section id="studio-contact" className="gu-studio__contact">
<p>Have something worth making?</p>
<a href="mailto:hello@example.com">hello@example.com</a>
</section>
</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: Design studio page
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 bold, light one-page website for a small design studio ("Northfield"). Sections: nav, hero with a short intro and the studio name stretched edge to edge, a tilted orange ribbon of services scrolling sideways, a two-project work grid with photos, a services list that reveals details on hover, and a dark contact block with a huge email link.
## Palette
Background #f3eee3, text #0e0e10, muted #57534b, lines rgba(14,14,16,0.16), accent #ff5a1f. Second project placeholder tone #2b35ff.
## Layout
- Use container queries (container-type: inline-size on the root). 20px side padding.
- Nav: name left (weight 800), "Start a project" outlined pill right (44px tall, fills with ink on hover).
- Hero: intro (max 30ch, weight 600, clamp(1.1rem, 2.4cqi, 1.5rem)), then the name "NORTHFIELD" at font-size 13.4cqi, weight 900, line-height 0.8, letter-spacing -0.06em, each letter its own span spread with justify-content: space-between so the word fills the width.
- Ribbon: orange band rotated -2deg and scaled 1.05, 14px vertical padding, service names in 26px weight 900 separated by ✶, scrolling left forever (24s, two copies, translateX -50%).
- Work: two cards; at ≥760px columns 1.2fr / 1fr aligned to bottom. Images have 20px radius, ratios 4:3 and 4:5, object-fit cover. Under each: 22px title and muted client line.
- Image placeholder: before the real photo exists, the frame shows the project's tone as a radial gradient with faint diagonal stripes; the <img> hides itself on load error.
- Services: muted small heading, then rows with a top hairline; service name clamp(1.8rem, 6cqi, 3.6rem) weight 900, description muted.
- Contact: ink block, cream text, "Have something worth making?" then the email at clamp(1.8rem, 8cqi, 5.5rem) weight 900 with an orange 6px underline that grows from 0 to 100% on hover.
## Motion
- Name letters rise from 60% below with fade, 0.9s, staggered 40ms. Hovering a letter (mouse) turns it orange and lifts it 6% with an overshooting spring.
- Work images scale to 1.05 on hover or tap over 0.9s.
- Service rows on hover: indent 16px, name turns orange, description expands (max-height + opacity). On touch devices descriptions are always visible.
## Accessibility
- The h1 has aria-label "Northfield" and the letter spans are aria-hidden. Ribbon is aria-hidden (the same services are listed below). Images have descriptive alt text. Focus: 2px orange outline.
- prefers-reduced-motion: no ribbon scroll, no letter rise, no image zoom.
## 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.
### StudioPage.tsx
```tsx
"use client";
import { useEffect, useRef } from "react";
import "./studio-page.css";
type Work = { title: string; client: string; image: string; tone: string };
const WORK: Work[] = [
{
title: "A bakery that opens at 5am",
client: "Brand identity, Ruta Bakehouse",
image: "/images/landing-studio-work-01.jpg",
tone: "#ff5a1f",
},
{
title: "Wayfinding for a city library",
client: "Signage system, Eastgate Library",
image: "/images/landing-studio-work-02.jpg",
tone: "#2b35ff",
},
];
const SERVICES = [
{
name: "Brand identity",
text: "Names, logos, type and color systems that hold up for years.",
},
{
name: "Websites",
text: "Fast, accessible sites your team can update without us.",
},
{
name: "Packaging",
text: "Boxes, labels and bags people keep after the product is gone.",
},
{
name: "Motion",
text: "Logo animations, launch films and interface motion.",
},
];
/** Image with a colored placeholder underneath. If the file is missing, the placeholder shows. */
function Shot({ src, alt, tone }: { src: string; alt: string; tone: string }) {
const img = useRef<HTMLImageElement>(null);
// The image may have failed before React loaded, so check once on mount too.
useEffect(() => {
const el = img.current;
if (el && el.complete && el.naturalWidth === 0) el.style.display = "none";
}, []);
return (
<div className="gu-studio__shot" style={{ ["--tone" as string]: tone }}>
<img
ref={img}
src={src}
alt={alt}
loading="lazy"
onError={(e) => (e.currentTarget.style.display = "none")}
/>
</div>
);
}
/**
* StudioPage: a one-page site for a design studio ("Northfield").
* Edit WORK and SERVICES above, swap the images in /public/images.
*/
export function StudioPage() {
return (
<div className="gu-studio">
<nav className="gu-studio__nav" aria-label="Main">
<a href="#">Northfield®</a>
<a href="#studio-contact" className="gu-studio__nav-cta">
Start a project
</a>
</nav>
<header className="gu-studio__hero">
<p className="gu-studio__intro">
An independent design studio for brands that would rather be
remembered than liked.
</p>
<h1 className="gu-studio__name" aria-label="Northfield">
{"NORTHFIELD".split("").map((ch, i) => (
<span key={i} aria-hidden="true" style={{ ["--i" as string]: i }}>
{ch}
</span>
))}
</h1>
</header>
<div className="gu-studio__ribbon" aria-hidden="true">
<div className="gu-studio__ribbon-track">
{[0, 1].map((copy) => (
<span key={copy}>
{SERVICES.map((s) => (
<span key={s.name}>
{s.name} <b>✶</b>{" "}
</span>
))}
</span>
))}
</div>
</div>
<section className="gu-studio__work" aria-label="Selected work">
{WORK.map((w) => (
<a key={w.title} href="#" className="gu-studio__card">
<Shot src={w.image} alt={w.title} tone={w.tone} />
<h2>{w.title}</h2>
<p>{w.client}</p>
</a>
))}
</section>
<section
className="gu-studio__services"
aria-labelledby="gu-studio-services"
>
<h2 id="gu-studio-services">What we do</h2>
<ul>
{SERVICES.map((s) => (
<li key={s.name}>
<span className="gu-studio__service-name">{s.name}</span>
<span className="gu-studio__service-text">{s.text}</span>
</li>
))}
</ul>
</section>
<section id="studio-contact" className="gu-studio__contact">
<p>Have something worth making?</p>
<a href="mailto:hello@example.com">hello@example.com</a>
</section>
</div>
);
}
```
### studio-page.css
```css
.gu-studio {
--bg: #f3eee3;
--text: #0e0e10;
--muted: #57534b;
--line: rgb(14 14 16 / 0.16);
--accent: #ff5a1f;
container-type: inline-size;
overflow: hidden;
background: var(--bg);
color: var(--text);
font-family: system-ui, sans-serif;
}
.gu-studio a {
color: inherit;
text-decoration: none;
}
.gu-studio a:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 4px;
}
.gu-studio__nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
font-weight: 800;
}
.gu-studio__nav-cta {
display: inline-flex;
align-items: center;
min-height: 44px;
padding: 0 18px;
border: 2px solid var(--text);
border-radius: 999px;
transition:
background-color 0.25s,
color 0.25s;
}
.gu-studio__nav-cta:hover {
background: var(--text);
color: var(--bg);
}
/* Hero: the name stretches to the full width of the container. */
.gu-studio__hero {
padding: 40px 20px 0;
}
.gu-studio__intro {
max-width: 30ch;
margin: 0 0 32px;
font-size: clamp(1.1rem, 2.4cqi, 1.5rem);
font-weight: 600;
line-height: 1.3;
}
.gu-studio__name {
display: flex;
justify-content: space-between;
margin: 0;
font-size: 13.4cqi;
font-weight: 900;
line-height: 0.8;
letter-spacing: -0.06em;
}
.gu-studio__name span {
display: inline-block;
animation: gu-studio-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
animation-delay: calc(var(--i) * 40ms);
transition:
color 0.2s,
transform 0.4s cubic-bezier(0.34, 1.6, 0.5, 1);
}
@media (hover: hover) {
.gu-studio__name span:hover {
color: var(--accent);
transform: translateY(-6%);
}
}
@keyframes gu-studio-rise {
from {
transform: translateY(60%);
opacity: 0;
}
}
/* Services ribbon */
.gu-studio__ribbon {
margin: 40px 0;
padding: 14px 0;
overflow: hidden;
background: var(--accent);
transform: rotate(-2deg) scale(1.05);
}
.gu-studio__ribbon-track {
display: flex;
width: max-content;
animation: gu-studio-scroll 24s linear infinite;
font-size: 1.6rem;
font-weight: 900;
letter-spacing: -0.03em;
white-space: nowrap;
}
.gu-studio__ribbon-track > span {
padding-right: 0.5em;
}
.gu-studio__ribbon b {
margin: 0 0.4em;
}
@keyframes gu-studio-scroll {
to {
transform: translateX(-50%);
}
}
/* Work grid */
.gu-studio__work {
display: grid;
gap: 32px 20px;
padding: 40px 20px;
}
@container (min-width: 760px) {
.gu-studio__work {
grid-template-columns: 1.2fr 1fr;
align-items: end;
}
}
.gu-studio__shot {
position: relative;
overflow: hidden;
aspect-ratio: 4 / 3;
border-radius: 20px;
/* Placeholder: a tone-colored field with soft stripes, shown until the photo exists */
background:
repeating-linear-gradient(
135deg,
rgb(255 255 255 / 0.14) 0 2px,
transparent 2px 18px
),
radial-gradient(
120% 90% at 20% 10%,
color-mix(in srgb, var(--tone) 70%, #fff),
var(--tone)
);
}
.gu-studio__card:nth-child(2) .gu-studio__shot {
aspect-ratio: 4 / 5;
}
.gu-studio__shot img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.gu-studio__card:hover .gu-studio__shot img,
.gu-studio__card:active .gu-studio__shot img {
transform: scale(1.05);
}
.gu-studio__card h2 {
margin: 16px 0 4px;
font-size: 1.4rem;
letter-spacing: -0.03em;
}
.gu-studio__card p {
margin: 0;
color: var(--muted);
}
/* Services list */
.gu-studio__services {
padding: 56px 20px;
}
.gu-studio__services h2 {
margin: 0 0 20px;
font-size: 1rem;
color: var(--muted);
}
.gu-studio__services ul {
margin: 0;
padding: 0;
list-style: none;
}
.gu-studio__services li {
display: grid;
gap: 6px;
padding: 20px 0;
border-top: 1px solid var(--line);
transition: padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.gu-studio__service-name {
font-size: clamp(1.8rem, 6cqi, 3.6rem);
font-weight: 900;
line-height: 1;
letter-spacing: -0.05em;
}
.gu-studio__service-text {
color: var(--muted);
}
/* With a mouse, details reveal on hover. On touch they're always visible. */
@media (hover: hover) {
.gu-studio__service-text {
max-height: 0;
opacity: 0;
overflow: hidden;
transition:
max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1),
opacity 0.3s;
}
.gu-studio__services li:hover {
padding-left: 16px;
}
.gu-studio__services li:hover .gu-studio__service-name {
color: var(--accent);
}
.gu-studio__services li:hover .gu-studio__service-text {
max-height: 4em;
opacity: 1;
}
}
/* Contact */
.gu-studio__contact {
padding: 72px 20px 88px;
background: var(--text);
color: var(--bg);
}
.gu-studio__contact p {
margin: 0 0 12px;
font-weight: 600;
}
.gu-studio__contact a {
font-size: clamp(1.8rem, 8cqi, 5.5rem);
font-weight: 900;
letter-spacing: -0.05em;
word-break: break-all;
background: linear-gradient(var(--accent), var(--accent)) left bottom / 0% 6px
no-repeat;
transition: background-size 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.gu-studio__contact a:hover {
background-size: 100% 6px;
}
@media (prefers-reduced-motion: reduce) {
.gu-studio__ribbon-track,
.gu-studio__name span {
animation: none;
}
.gu-studio__shot img {
transition: none;
transform: none !important;
}
}
```
You might also want
Next piece: Designer portfolioBoutique hotel page with a sun-path day
Landing pages, advanced
Music festival page with a timetable planner
Landing pages, advanced
Agency page with stacking cases
Landing pages, intermediate

