Skip to content
Sign inJoin waitlist

Kendi design system — Next.js

Content-free building blocks of the Kendi template. Import everything from @/design-system; components never import @/content (sections map content with src/lib/to-ui.ts). The live catalog is /style-guide (noindex, not in the sitemap). The values come from the published Framer template (measured 2026-11-03); the motion numbers are in tokens/motion.ts.

File Holds
theme.css colours black, grey (#3d3d3d), white, paper (#f5f5f5, the page), line (#dedede), charcoal (#333, the submit hover), error, focus (#5a5a5a, a focused field’s hairline), spinner (#999, the list loader’s ring); translucent blacks as opacity modifiers (bg-black/50, /30, /80); breakpoints md 810 and lg 1200 (phone is the default); shadow-menu; easings ease-spring (bounce 0, 0.4 s — every hover), ease-spring-bounce (bounce 0.2, 0.4 s), ease-spring-slow (0.6 s), ease-spring-long (0.7 s), ease-framer (tween [0.44, 0, 0.56, 1]) — use each with its duration-400/600/700
tokens/text.ts text.h1 (48 / 58 / 72), h2 (28 / 32 / 34), h3 (30 / 36 / 42 at 1.1: every page title but Home’s, “Related Post”), rich (24 / 26 / 28: rich-text headings), h4 (22 / 24), h5 (18), h6 (16), menu (15, 600), button (15, 500), body (16 / 1.4), small (14 / 1.4), tiny (12 / 1.2). All Inter pinned to optical size 14
tokens/motion.ts spring (bounce 0, 0.4 s), springBounce (0.2), slideSpring (stiffness 200, damping 40), slideInterval (8 s), menuColumns + menuColumnsOffset (−20), formTween (0.2 s)
Group Component Props What it is
brand Logo href src label size?="md"|"lg" onClick? The wordmark as a link home: 85 × 25, lg 102 × 30 (footer)
actions RollText children gap?=5|10 second? active? Framer “Flip”: label rolls up on hover of the nearest group/roll
actions Button href label tone?="black"|"white" “Button/Primary”: 42 tall, label shifts 5px left and the arrow rolls on hover
actions MoreLink, ArrowFlip href label “Button/Secondary” (“More categories →”); the rolling arrow (hover of group/arrow)
actions TextLink href children size?="small"|"medium" Text link whose underline grows from the left on hover; colour from className
actions CategoryPill `href label tone?=“white” “black”`
navigation MenuLink, MenuTrigger, Hamburger see file Header link (roll, Grey copy); “Categories” button with caret (expanded); two-line hamburger (±45°)
navigation Breadcrumb items label separator The breadcrumb row: Small, 8 apart, wrapping; links Grey with the growing underline, the current item (no href) black on one line with “…”
navigation CategoriesMenu data look="panel"|"inline" onNavigate? The Categories menu: 720 panel (categories + Spotlight) or the phone’s inline list
layout Section inner? padding? className? label? Gutters 15 / 20 / 30, padding 30 / 40 / 50 by default, column capped at 1200
layout WithSidebar sidebar gap Main column + 350 sidebar on desktops (50 apart); below 1200 the sidebar follows
layout BlockTitle as? Heading 2 block title (“Editor’s pick”)
data MetaRow, MetaDot, MetaDate, MetaAuthorLink see file The meta line: wrapping row 8 apart, 6px dot at 40 %, “on” + <time>, author (28px photo / “by” / name link)
data SocialIcons links X, Instagram, Facebook 24px, 10 apart; hovering one fades the others to 50 %
cards PostCardSmall post titleAs? onPhoto? “Card/Post/Secondary”: 110 tall row card; the photo’s inset closes on hover
cards PostCardStack post photo?="aspect"|"fill" meta?="avatar"|"by" excerpt?=true titleAs? preload? “Card/Post/Primary” Default / Image Fill (470 tall from tablets up); meta="by" — “by” name · “on” date, no photo (Category and Author grids); excerpt={false} — Framer’s “No Excerpt” (Authors)
cards PostCardRow post titleAs? “Card/Post/Primary” Primary (200 tall row) on tablets up, Secondary (stacked) on phones
cards PostCardOverlay post look="slide"|"compact" titleAs? preload? “Card/Post/Image Background”: hero slide (500) or Inspiration card (300)
cards SpotlightItem post size?="big"|"small" titleAs? “Small List”: 68px (sidebar) or 64px (menu) photo + title + date; title turns Grey on hover
cards CategoryTile, CategoryMenuItem category Square category photo with veil + name; the menu’s 20px icon + name + description
cards InstagramTile href image label Footer photo: zoom, 30 % veil, the mark rises to the centre (0.7 s)
cards AdCard ad look="wide"|"tall" “Content/Ad Banner” with its “- Sponsored Ad -” label
cards TeamCard member titleAs? sizes? About “Meet the Team” card: a 250 tall row from desktops up (the photo’s 5px inset closes on hover), stacked below (photo 0.8 : 1)
cards photoVeil, adVeil, zoomPhoto — Shared class strings (plain module, server-safe)
media Slideshow, SlideArrow perView gap arrows?="sides"|"top" dots? draggable? labels Framer “Slideshow”: endless loop, 8 s autoplay, spring 200 / 40, arrows, dots, drag; reduced motion: no autoplay
media PhotoStack photos “Content/Image Variation”: three tilted framed photos that straighten on hover
forms SubscribeForm action labels consent? consentName? field? Newsletter box (48 tall) with the black submit (spinner, “Thank you”, “Something went wrong”) and the optional consent checkbox
forms Form, FormField, SubmitButton action labels submitClassName? · name label placeholder? type? required? autoComplete? · status label successLabel errorLabel The Contact form: fields (Small label 10 above a 40 tall Paper field, 1px Line, Focus when focused; text area 200) and Framer’s submit (50 % while a required field is empty, spinner, “Thank you” / “Something went wrong” in 14 / 600); values stay on error, clear on success
forms honeypotField, FormState, FormAction — Shared with the server actions (form-state.ts, plain module)
patterns InlineText value linkClass? boldClass? Content inline markup: **bold**, _italic_ and [label](/path)
patterns RichText blocks headings? A post body or a legal page: paragraphs 20 apart, headings (style rich, 40 above), lists with “•” / numbers at 2ch, bold 700; headings restyles a level (posts: h3 in h4)
patterns LoadOnScroll items pageSize label className? itemClassName? Framer’s infinite pagination: the first pageSize items show, the spinner over the list’s bottom edge loads the next page within 500px of the screen; every item is in the HTML (hidden, shown by <noscript>). /blog: 6
patterns LoadSpinner label onNear className? Framer “Loading”: the 20px Spinner-grey ring in a 40px box, fading in when half on screen; calls onNear within 500px
providers MotionProvider, CurrentYear — Reduced motion + default spring; the visitor’s year
  • Hovers that only move, resize or recolour are CSS (group-hover/<name>: + transition-* duration-400 ease-spring) with motion-reduce:transition-none; Motion is used for mount animations (the Categories menu), the slideshows and heights. Named groups: card (photo zoom), roll (text roll), arrow (arrow roll), line (underline), slides, stack, social.
  • Card data is PostCardData (cards/types.ts), built by toPostCard in src/lib/to-ui.ts; the meta line’s “on” / “by” travel in post.labels. Titles take titleAs so the page outline stays right (the look never changes).
  • A carousel’s text is skipped by the layout diff ([aria-roledescription="carousel"]); its copies before and after the slides are inert and aria-hidden.