Designing Lintel: An Architect's Portfolio Template
How the Lintel template turns an architecture portfolio into a drawing set, with a drafting grid, generated plans and sections, and a blueprint dark mode.
By Paul Peery
· 8 min read

Lintel is a portfolio template for an architecture practice that looks like a set of construction drawings: warm drafting paper with a measured grid, graphite linework, sheet numbers such as A-101 as section labels, title blocks, dimension lines and north arrows. There are no photos in it. Every plan, section, elevation and axonometric is SVG, and the eleven project drawing sets are generated by JavaScript from a few lines of data each, measured in feet. This post walks through how the look is built and how to adapt it for a real practice.
The demo business is Lintel Architecture, a fictional six-person practice in Decorah, Iowa, that designs houses, renovations, cabins and small civic buildings across northeast Iowa. The practice, its people, clients and projects are all made up.
Three fonts for a drawing set#
Lintel loads three Google Fonts with one <link> in every page's <head> and names them as Tailwind tokens in src/input.css:
@theme {
--font-display: "Tenor Sans", "Gill Sans", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
--font-sans: "Inria Sans", "Segoe UI", ui-sans-serif, system-ui, -apple-system, sans-serif;
--font-label: "Syncopate", "Arial Narrow", ui-sans-serif, system-ui, sans-serif;
}- Tenor Sans sets headings and large numbers: a quiet, open sans serif that reads more like a dedication plaque than a landing page.
- Inria Sans (300, 400, 700 and italic) handles body text at the 17-pixel size the
bodyuses. - Syncopate (400 and 700) is the drafting lettering for sheet numbers, labels and every word inside a drawing: wide capitals, set small and spaced out like hand lettering on an architect's sheet.
The labels come from a few small classes in the component layer:
.sheet-no { @apply shrink-0 font-label text-[11px] font-bold tracking-[0.14em] whitespace-nowrap text-blue uppercase; }
.label { @apply font-label text-[10.5px] tracking-[0.12em] text-ink-faint uppercase; }Paper, graphite and one blue#
Every color in the template is a token in the same @theme block, so Tailwind generates bg-paper, text-ink, border-line and the rest. The palette is deliberately narrow: drafting paper (#f4f1e9), a slightly darker band color (#ebe6da), graphite ink in three strengths for text and linework, two line colors for hairlines and dimensions, and a single accent, blueprint blue (#1d4f8f), for links, buttons, sheet numbers and the highlighted room in a plan. A pale --color-glass (#c9d7e6) fills windows in the drawings.
Because the drawings use the same tokens as the page, the linework changes color along with everything else. The SVG classes read straight from the theme:
.dwg .wall { fill: none; stroke: var(--color-ink); stroke-width: 2.4; stroke-linejoin: miter; }
.dwg .glass { fill: var(--color-glass); stroke: var(--color-ink); stroke-width: .7; }
.dwg .room.is-on { fill: color-mix(in srgb, var(--color-blue) 16%, transparent); }Thick walls, thin partitions and light dimension lines give the line-weight hierarchy of a real drawing.
The measured grid#
The background of the page heads and drawing areas is a drafting grid made entirely of CSS gradients: a fine line every 12 pixels and a heavier one every 60, so every fifth line is stronger, as on printed graph paper.
.drafting {
background-image:
linear-gradient(color-mix(in srgb, var(--color-line) 70%, transparent) 1px, transparent 1px),
linear-gradient(90deg, color-mix(in srgb, var(--color-line) 70%, transparent) 1px, transparent 1px),
linear-gradient(color-mix(in srgb, var(--color-line) 32%, transparent) 1px, transparent 1px),
linear-gradient(90deg, color-mix(in srgb, var(--color-line) 32%, transparent) 1px, transparent 1px);
background-size: 60px 60px, 60px 60px, 12px 12px, 12px 12px;
}Using color-mix() on the line token means the grid fades into the paper at the right strength in both light and dark mode, with no separate dark grid to maintain.
Cards are sheets: a hairline border, with .sheet-inset adding a thin inner frame from two inset box shadows. Buttons have square corners, and every section opens with a .sheet-head: a sheet number, a rule and the title.
A hero that draws itself#
The home page opens with an axonometric of a gabled house with a glazed link and a shed-roofed studio, on a stone plinth among trees. It's hand-written SVG in index.html, and every line carries pathLength="1" and its own delay:
<polygon points="154.5,97 397,237 469.7,132 227.3,-8" pathLength="1" class="ax roof" style="--d:0.3s"/>Setting pathLength="1" makes every line, long or short, exactly one unit long as far as dashes are concerned. So one keyframe works for all of them: a dash of length 1, offset from 1 to 0, draws the line from start to finish.
@keyframes ax-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: no-preference) {
.js .axo .ax { stroke-dasharray: 1; animation: ax-draw 1.1s var(--ease-draft) both, ax-fill .9s ease-out both; animation-delay: var(--d, 0s), calc(var(--d, 0s) + 1.6s); }
}The delays step from 0s for the plinth to about 2.8s for the last tree, so the building goes up in order: base, walls, roof, cladding, windows, then the landscape, with faces filling in behind the lines and notes such as "Oak lintel" fading in last. Without JavaScript or with reduced motion, the drawing is simply shown complete. Under it, a title block's Date cell is filled in from today, so the sheet always looks freshly issued.
Drawings generated from data#
The most unusual part of Lintel is that each of the eleven projects has its own drawing set without a single image file. A project in assets/js/data.js describes the building in feet: an outline and rooms for the plan, a profile for the section, openings and a cladding type for the elevation, and a depth for the axonometric.
plan: {
label: 'Floor plan', north: 0,
outline: [[0, 0], [10, 0], [10, 14], [0, 14]],
rooms: [{ name: 'Hot room', x: 0, y: 0, w: 10, h: 8, note: '...' }],
windows: [[2, 0, 8, 0]],
doors: [[0, 10, 3, 0]]
},
elevation: { label: 'South elevation', width: 10, profile: [[0, 0], [10, 0], [10, 8], [5, 12], [0, 8]], cladding: 'board', ... },
axon: { depth: 14 }Section 5 of main.js turns that into SVG with drawPlan, drawSection, drawElevation and drawAxon. A small fitter() scales the building's bounding box into the 600 × 420 viewBox, so every sheet stays sharp at any width, and dimensions are written in architect's notation by a tiny helper:
// Feet as a drawing dimension: 9.5 -> 9′-6″
function feet(n) {
var neg = n < 0; n = Math.abs(n);
var f = Math.floor(n + 1e-9), i = Math.round((n - f) * 12);
if (i === 12) { f += 1; i = 0; }
return (neg ? '-' : '') + f + '′-' + i + '″';
}The elevation is the clever one. Each cladding type (board, batten, lap, metal, brick, stone, concrete) is an SVG <pattern> sized from the drawing's scale, so lap siding courses come out about 0.55 feet apart whatever size the building is drawn at. The pattern fills a rectangle clipped to the building's outline, then windows, doors and circled material tags are drawn on top. The tags (M1, M2) match the materials schedule printed under the drawing.
The axonometric extrudes the section profile by axon.depth feet at 30 degrees, keeps the faces that point toward the viewer, draws them back to front and shades upward-facing ones as roof. That gives every project card a small 3D drawing.
Every sheet gets a graphic scale bar at 0, 4, 8 and 16 feet. Sections and elevations get level marks such as +9′-0″, the section adds a person drawn for scale, and the plan has a north arrow rotated by the project's north value.
Plans you can explore#
On a project page, the viewer's Plan, Elevation and Section tabs follow the ARIA tab pattern, and the chosen sheet is kept in the URL (?sheet=section). Each room on the plan has a numbered button over the SVG; choosing it, or its row in the room schedule, tints the room blue and shows its area, size and a short note.
Monograms instead of headshots#
The practice page has no portraits. monogram() draws each person's initials in a square drafting frame with a small blue motif of their own: a gable, an arch, a lintel on posts, a stair, a circle or a pediment. It keeps the team in the same drawn language as the projects, and suits a small firm without matching headshots.
A blueprint at night#
Dark mode doesn't invert the page; it redefines the same tokens under :root.dark to turn the set into a blueprint: paper becomes a deep blue-black (#11161d), ink becomes a warm off-white and the accent lightens to #8fb5ea so it holds its contrast. Because the grid, the drawings and the hero all read their colors from those tokens, nothing else needs a dark: class. An inline script in each page's <head> sets the class before the page paints, from the saved choice or the system setting, so there's no flash of the wrong theme.
Interactions that plan the job#
The process page shows six phases whose durations change by project type, from 40 weeks for a small building to 92 for a civic one. The six-step brief builder asks about type, site, size, budget, move-in season and priorities, then works out a phased timeline, a move-in check, a budget check and a reference number, with first-meeting slots below. Every date is computed from today, and federalHolidays() works out observed US federal holidays by rule, so design starts and meetings skip them and the demo never goes stale.
Adapting it#
- Your projects: copy a project object in
PROJECTSand change the numbers. Rooms are rectangles in feet; the area shown isw × h. Check the result in the viewer and on the county map, which places each project by itsmapposition in miles. - Photos: if you'd rather show photos, the template's
DOCS.mdpoints to the onedrawAxon()call inprojectCard()to replace with an<img>at about a 16:10 ratio. The drawing viewer can stay. The customizing guide covers editing templates in general. - Your color: change
--color-blueand its-deepand-softpartners (the template's docs show a brick red as the example), then rebuild the CSS withnpm run build. The Tailwind CSS customization guide covers rebuilding in more detail. - Your forms: the contact and meeting forms validate but send nothing until you connect a service; Add a contact form to a static website walks through the options.
- Your calendar: set
CAPACITY,CONSULTand the brief's lead times indata.jsto match how far out you're booking.
The drawing-set idea is the part worth keeping even if you change everything else. It tells a visitor what the practice does before they read a word, and because the drawings are data, a new project gets its own plan, section and elevation as soon as you describe it. Browse more portfolio templates for designers, photographers and studios.

About the author
Paul Peery
Founder of Freeframe
Paul Peery runs Freeframe, which publishes complete multi-page website templates in HTML, Next.js, Astro, Nuxt and WordPress, and writes about getting small websites built, launched and kept up to date.


