Mat Frame.
A big public catalog with stacked charcoal bars, a cream sign and every thumbnail set in a thick gallery mat. Two charcoal bars and a flat gray band sit over a warm off-white floor of white sheets split by thin vertical rules. A cream sign carries a tall condensed maroon wordmark, light Work Sans headings do the talking, and links stay plain blue. The signature moves are a row of flat icons in bright per-collection colors with counts, and square thumbnail tiles framed in thick charcoal mats with a soft drop shadow.
Use it with Claude Code or Codex
Download the kit into your project, then paste this prompt. Fill in the last line. New to this? See how it works.
Build my page in the Mat Frame style. Read DESIGN.md first and follow it exactly. Use the tokens in tokens.css and the classes in components.css; don't invent new colors, fonts, radii or shadows. The example pages (demo.html, pricing.html, blog.html, signup.html) show the style on landing, pricing, blog post, and sign up. My page: [describe what you're building, who it's for and the sections you need]
Colors
Click a hex to copy it.
Fonts
All free on Google Fonts.
How the Mat Frame style works
From the kit's DESIGN.md, the file your AI reads first. What is DESIGN.md?
The big public catalog. Two stacked charcoal bars run across the top: an icon menu of collections, then a thin uppercase text menu. Under them sits a flat gray band holding one cream "sign" card with a tall, condensed maroon wordmark and a pill search field. The page below is a warm off-white floor with white sheets on it, split by thin vertical dividers. The two signature moves: a row of small flat icons, each in its own bright category color with a count under it, and thumbnail tiles set in thick charcoal mats with a soft drop shadow, like prints in a gallery rack. Headings are a light sans, links are plain blue, corners are square. It looks like a well-used public service that has been cataloging things for decades and is proud of the numbers.
Use it for: libraries of anything (tools, seeds, toys, books, media), archives and collections, nonprofits with a big catalog, public services, marketplaces with many categories, community directories. Avoid it for: luxury and fashion, single product launches, anything that wants dark glossy hero art or a minimal look with one accent.
Read the full style guide: fonts, color, type scale, components and page recipes
How to use this file
Give this file, tokens.css and components.css to your AI coding tool and say:
Build [your page] in the Mat Frame style. Follow DESIGN.md exactly. Use the tokens in tokens.css and the classes in components.css; don't invent new colors, fonts, radii or shadows.
demo.html (a landing page), pricing.html, blog.html and signup.html are complete example pages built only with the kit, for an invented neighborhood tool lending library called Toolkeep.
Fonts
Both free on Google Fonts:
<link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@700;800&family=Work+Sans:ital,wght@0,300;0,400;0,600;1,400&display=swap" rel="stylesheet">
| Role | Font | Use |
|---|---|---|
| Sign and plan names | Big Shoulders Display 800 | Only the wordmark on the cream sign and the plan names on pricing cards. Always uppercase. |
| Headings | Work Sans 300 | Page titles, section headings, big numbers and prices. Light, sentence case, never bold. |
| Body and UI | Work Sans 400 and 600 | Paragraphs, labels, buttons (600), tile captions (600), bar menus (400 uppercase, tracked). |
Color
| Token | Hex | Role |
|---|---|---|
--mf-bar / --mf-bar-2 |
#262626 / #3A3A3A | The two stacked top bars, the footer, table heads |
--mf-band |
#6D6A67 | The gray band behind the sign. Only directly under the bars. |
--mf-floor |
#F2F1EE | The page floor around the sheets |
--mf-paper |
#FFFFFF | Sheets, cards, inputs |
--mf-cream / --mf-cream-edge |
#FBF0DA / #D9C9A6 | The sign card, notes, the picked plan's header |
--mf-maroon |
#8C1E2A | The sign wordmark and cream badges. Nowhere else. |
--mf-link |
#2C57D8 | Links and the primary button |
--mf-panel / --mf-navy |
#DDEAF4 / #1D4677 | Icon panels on how-to cards, info badges |
--mf-mat |
#4A4947 | The thick frame around thumbnail tiles and the picked plan |
--mf-ink / --mf-soft / --mf-faint |
#1F1F1F / #545250 / #8B8883 | Text, leads, meta |
--mf-line / --mf-line-dark |
#D3D0CA / #9A968F | Rules, and the vertical sheet dividers and input borders |
| Category colors | sun #F1B42F, tan #E8892C, brick #D8442F, sky #1F8DD6, leaf #63A93A, lilac #8C84C6, teal #1E9E98, indigo #3248A8 | One per collection. Used for the icon row, tile fills and chart bars. |
Rules: - The category colors belong to collections. Give each collection one color and keep it on every page. - Big color only lives inside mats. Never use a category color as a section background. - The cream sign appears once per page, in the gray band. - Links stay blue and are not underlined until hover.
Type scale
| Token | Size | Use |
|---|---|---|
--mf-text-sign |
clamp(48px, 7vw, 76px) | The condensed wordmark on the sign |
--mf-text-hero |
clamp(24px, 2.6vw, 29px) | The first sentence on a sheet (.mf-h1), light |
--mf-text-h2 |
26px | Section headings, light and centered |
--mf-text-h3 |
18px | Small headings, 600 |
--mf-text-lead |
18px | Lead paragraphs and the line above the sign, light |
--mf-text-body |
16px | Body, line-height 1.5 |
--mf-text-small / --mf-text-micro / --mf-text-bar |
14px / 12px / 13px | Meta, eyebrows and counts, bar menus |
Write like a catalog: lead with what is in it and how much. Real counts, plain verbs, dates in ISO format.
Shape and space
- Radius: 0 everywhere, 3px on the sign and inputs, pill only on the search inside the sign.
- Mats: a 10px
--mf-matframe with--mf-shadow-mataround every thumbnail tile and the picked pricing plan. 7px on phones. - Shadows: the sign gets a short hard drop (
--mf-shadow-sign), sheets a faint 1px lift, mats the soft deep one. Nothing else. - Layout: a 1300px page. The landing sheet is three columns (emblem, intro, news) split by 1px
--mf-line-darkvertical rules. On narrow screens the rules turn horizontal. - Spacing: 40px inside sheets, 24px between tiles.
- Motion: tiles and category icons lift 2 to 3px on hover. That is all.
Components (in components.css)
| Class | What it is |
|---|---|
body.mf, .mf-page, .mf-defs |
Page base, the 1300px container, the hidden SVG icon sprite |
.mf-bar, .mf-brand, .mf-icons, .mf-bar-end |
Top charcoal bar: stacked two line brand, icon menu (labels hide on phones), log in |
.mf-subbar |
Second bar with the uppercase text menu; aria-current gets an underline |
.mf-band, .mf-band-line, .mf-sign, .mf-sign-mark, .mf-search |
Gray band, the line above the sign, the cream sign with condensed wordmark and pill search |
.mf-sheet, .mf-sheet-grid, .mf-sheet-pad, .mf-emblem |
White sheets, the three column divided grid, a drawn emblem |
.mf-h1, .mf-h2, .mf-h2--left, .mf-h3, .mf-lead, .mf-meta, .mf-eyebrow |
Type helpers |
.mf-cats, .mf-cat, .mf-cat--sun (and tan, brick, sky, leaf, lilac, teal, indigo) |
The colored icon row with counts |
.mf-searchbox, .mf-adv |
Big search with a collection select and an advanced link |
.mf-news, .mf-more |
News column |
.mf-row, .mf-arrow, .mf-howto, .mf-how, .mf-how-icon, .mf-how-text |
How-to cards with a pale blue icon panel, between carousel arrows |
.mf-tiles, .mf-tile, .mf-mat, .mf-mat-inner, .mf-mat-inner--sun (and others, plus --cream), .mf-tile-cap |
Matted thumbnail tiles with a caption |
.mf-btn, .mf-btn--go, .mf-btn--dark, .mf-btn--big, .mf-btns |
Outline, blue primary, charcoal, large, button row |
.mf-badge, .mf-badge--cream, .mf-note |
Small tags and the cream note |
.mf-plans, .mf-plan, .mf-plan--pick, .mf-plan-head, .mf-plan-body, .mf-plan-name, .mf-price |
Pricing cards; the picked one is matted |
.mf-table-wrap, .mf-table, .mf-faq |
Charcoal headed table, FAQ list |
.mf-form, .mf-field, .mf-label, .mf-hint, .mf-input, .mf-select, .mf-fieldset, .mf-check |
Forms |
.mf-article, .mf-byline, .mf-figure, .mf-list |
Article column |
.mf-foot, .mf-foot-in, .mf-foot-links, .mf-terms |
Charcoal footer and the thin terms strip |
Pages in this kit
demo.html: landing page. Bars, the gray band with the Toolkeep sign, a three column sheet (pegboard emblem, intro sentence with the colored icon row and big search, news), how-to cards, a row of matted "most borrowed" tiles, a numbers sheet and a call to action sheet.pricing.html: three cards with the middle one matted, a comparison table beside an FAQ, and a cream donate note.blog.html: a workbench post with byline, list, note, bar chart in category colors, and a side column of matted tiles.signup.html: a library card form beside a list of colored collection perks and two matted tiles.
Page recipe
.mf-barwith the brand and the icon menu, then.mf-subbarwith the text menu..mf-bandwith one light line of copy that includes a real count, then the.mf-sign.- On the floor: white
.mf-sheetblocks. The first sheet opens with an.mf-h1sentence that says what the place is, not a slogan. - Collections as
.mf-catsin their colors, with counts. - Centered light
.mf-h2headings between rows of.mf-howtocards and.mf-tiles. - Footer: charcoal
.mf-footand the.mf-termsstrip.
Pricing recipe: the band with a sign saying what the page is, a centered eyebrow, .mf-h1 and lead, .mf-plans with the chosen plan as .mf-plan--pick and its button as .mf-btn--go, then a table and an FAQ side by side, then one .mf-note.
Article recipe: the band and sign, one sheet with the article on the left and a divided side column of matted tiles on the right. Eyebrow, light title, .mf-byline, short paragraphs, light h2 sections, one .mf-note, a figure whose bars use category colors, previous and next as outline buttons.
Sign-up recipe: one sheet, the form at 520px on the left, a divided column on the right with collection perks in their colors and two matted tiles. Labels above fields, one fieldset for the card choice, one .mf-btn--go.
Don'ts
- Don't bold the headings. Light weight is half the look.
- Don't use the condensed display face for anything except the sign and plan names.
- Don't put a thumbnail on the page without its mat.
- Don't round the sheets, tiles or buttons.
- Don't mix category colors at random: one collection, one color.
- Don't use em dashes in copy.
The reference
The site this style was studied from. The kit uses its own colors, content and code.
Similar styles
A calm, honest map interface with white panels floating over drawn streets.
Plain-spoken and useful, with handwritten notes pointing at the good bits.
Plain numbers on a cool white page, with tinted bars that show their working.
A plain white reference page with a petrol nav band, underlined links and a framed index of everything beside the text.