Goeboek design system — Next.js
Import everything from @/design-system. Components never import @/content: data comes through props, sections map
content with src/lib/to-ui.ts. Catalog: /style-guide.
Tokens
Section titled “Tokens”| Token | Where | Values |
|---|---|---|
| Breakpoints | theme.css |
md 810 (tablet) · lg 1200 (laptop) · xl 1440 (desktop); phone is the default |
| Colours | theme.css |
ink #000 · white · soft #525252 (text) · grey #8c8c8c · silver #b7b7b7 (text on the CTA photo) · accent #eb5939 · line #e8e8e8 · snow #fafafa (footer) · danger #ff2244; translucent blacks and whites are opacity modifiers (ink/3 panels and fields, ink/5 label chips and field borders, ink/20 photo veil, ink/70 CTA veil, ink/80 hero arrows, white/60 type tag, white/80 agent chip) |
| Easing | theme.css |
ease-spring duration-spring (Framer’s spring 500 / 60 as linear(), 714 ms) · ease-form (0.44, 0, 0.56, 1; 0.2 s, the submit button) |
| Animations | theme.css |
animate-turn (the submit spinner, 1 s) |
| Text styles | tokens/text.ts |
h1 38/48/64/72 (1.1) · h2 32/34/38/44 · h3 28/30/34/36 · h4 26/28/30/32 · h5 20/22/24/24 · h6 18/19/20/20 · number 36/42/46/54 (all medium, 1.2) · large 18 · body 16 · bodyStrong 16 semibold · small 14 · caption 12 (1.4) · nav 15 medium upper case · button Inter 14 upper case 0.05 em · label Inter 12 upper case |
| Motion | tokens/motion.ts |
spring (500 / 60, every hover) · menuSpring (bounce 0, 0.3 s) · slideSpring (200 / 40) · slideInterval (hero 8 s, testimonials 4 s, card photos 1.5 s) |
| Fonts | app/layout.tsx |
Plus Jakarta Sans (font-sans, Google Fonts; Framer loads the Fontshare cut) and Inter (font-inter), both variable |
panel (components/utils/surface.ts): Framer’s Black 3 % panel with 8px corners.
Components
Section titled “Components”| Component | Group | Props | Framer |
|---|---|---|---|
Logo |
brand | href, src, label, small?, onClick? |
Logo (121 × 40, phone 91 × 30) |
ActionLink |
actions | href, download?, onClick? |
picks <a> or <Link> |
PillButton |
actions | href, label, variant (primary · secondary), small?, onClick?, className (width) |
Button/Primary (Primary, Secondary, Small) |
FlipButton |
actions | href, label, variant (primary · accent · dark · list), current?, className |
Button/Secondary (Primary, Accent White, Black White, List — the filter chips, padding 6 × 8, Label style) |
RollLabel |
actions | label, className |
Misc/Flip Text (the pill’s rolling label) |
TextLink |
actions | href, tone (ink · soft · grey), children |
Framer link styles; put it inside the element with the text style |
NavLink |
navigation | href, label, onClick? |
Button/Menu (line grows on hover) |
MenuButton |
navigation | open, openLabel, closeLabel, controls, onClick |
Button/Hamburger |
Section, Divider |
layout | padding (default · hero · none), bordered?, gap, innerClassName, id?, label?, labelledBy? |
a top-level section (paddings per breakpoint, inner column up to 1440) |
SectionTitle |
layout | label?, title, text?, as, id?, titleStyle, align, tone (light · dark), className |
Title Section |
Label |
layout | children, as? |
Misc/Label |
Stat |
data | value, label |
Number Text (hero facts) |
Rating |
data | value, label? |
Rating (star + score) |
PropertyMeta |
cards | category, location (label, href) |
Meta (pin, category — location) |
PropertyCard |
cards | property (PropertyCardData), labels (size, beds, baths), sizes? |
Card/Property 02 (listings; hover: agent chip, photo slideshow) |
PropertyFeature |
cards | property, labels (PropertyFeatureLabels), preload? |
Card/Property 01 (Home hero slides) |
PostCard |
cards | post (PostCardData), variant? (default · small), sizes? |
Card/Post (Default — excerpt clamped to three lines; Small List, the post page’s Recent posts) |
TestimonialCard |
cards | testimonial, variant (clipped · full · card), ratingLabel? |
Card/Testimonial (Default, Full Quotes, Card) |
AgentCard |
cards | agent (AgentCardData), action?, as?, padding?, imageClassName? |
Card/Agent (photo, name, address, contacts between Lines, the text or a button) |
Slideshow |
media | slides, interval, autoplay?, gap?, dots? (size, inset, backdrop?), arrows? (hover), label?, labels? |
Framer Slideshow (direction left, one item) |
RichText |
patterns | blocks, topLevel?, tone? (soft · ink, the post body) |
CMS rich text (restyle against the post and property dumps) |
ListingFilter |
patterns | title, lead, groups (FilterGroup[]), current?, toggle |
Misc/Filter (Desktop; Phone / Phone Open below 810, the More toggle) |
LoadMore |
patterns | children, pageSize?, label, listClassName |
a CMS list with Button/Load More (100 below the list, the button at its bottom) |
Form, FormField, SubmitButton |
forms | see the files (FormField type: text, email, tel, number, date, textarea, select; defaultValue, unit, and the layout props gap, labelClassName, height, hideLabel) |
form inputs (--framer-input-*, 34.4 tall), Button/Submit (Label text) |
RadioGroup |
forms | name, label, options, className |
radio inputs (--framer-input-boolean-*; Add property) |
MotionProvider, CurrentYear |
providers, utils | — | reduced motion, the default spring |
Shapes shared by the cards: ImageData, LinkData, AgentData, PropertyCardData (components/cards/types.ts).
toPropertyCard(property, { agents, locations, categories }), toPostCard, toTestimonialCard, toAgentCard(agent, labels), toFilterGroups(lookups) in src/lib/to-ui.ts
build them from the collections.
Page patterns
Section titled “Page patterns”- Every block of
<main>is aSection(<section>); inside it usedivs (the layout diff counts sections). - Page titles:
SectionTitlewithas="h1"; the hero title istext.h1. - Grids of cards:
<ul className="grid … gap-[30px]">with<li className="self-start">; hide items per breakpoint with classes (max-md:hidden) where Framer’s lists show fewer, so the markup is the same at every width. - Links in text: the text element carries the style, the
TextLinkinside it the colour (Framer’s inline links). - Sections shared by pages:
components/sections/Cta.tsx(Home, About),SuccessMessage.tsx(the two success pages),PropertyListing.tsx(Properties, Type, Location, Property Category, Agent; helpers inlib/listing.ts),PageTitle.tsx(About, Contact),LatestPosts.tsx(Home’s blog list, the post page’s Related Blog withbordered). - Panels on the property page (agent card, tour form, More in …): Black 3 % with the border drawn inside (
after:), as Framer does — a real border would take 2 px off the content width.