Every growing organisation hits the same wall: the website looked great at launch, but every new page now requires a designer, a developer and two weeks. Marketing starts copying old pages and tweaking them, the design drifts, and within a year the site feels inconsistent. Modular web design solves this by building your website from a library of reusable, on-brand components. Here is how we plan, design and govern component libraries that teams actually use.
Key takeaways
- A modular website is assembled from reusable sections that share the same design tokens.
- Start from content patterns, not from pages — most sites need 15–30 sections, not hundreds.
- Design tokens (colour, type, spacing) keep everything consistent and make rebrands faster.
- Governance — naming, documentation and ownership — is what keeps the library healthy.
What “modular” actually means
Think of a modular website like a set of high-quality building blocks. Instead of designing 40 unique pages, we design a library of sections — a hero, a feature grid, a quote, a statistics band, a call to action, a FAQ, a team grid — each with a few controlled variations. Any page on the site is a combination of these sections. Because each block has been designed, built, tested for accessibility and optimised for speed once, every page built from them inherits that quality.
The DxM homepage you are reading is a good example: the portfolio cards, coloured tabs, bordered panels and outline buttons are reused across services, pricing, articles and policy pages.
Why modular sites grow better
- Speed: new landing pages take hours instead of weeks.
- Consistency: the brand stays coherent no matter who builds the page.
- Quality: accessibility and performance are solved once, at the component level.
- Lower cost: fewer unique templates mean less design and development time — the biggest cost driver in any web project.
- Experimentation: swapping one section for another is the foundation of growth-driven design.
Step 1: Inventory your content patterns
Before designing anything, list the types of content your organisation publishes: services, case studies, events, research, team members, testimonials, statistics, downloads, FAQs. Then audit your current site and your competitors’ sites and screenshot every section type you find. You will quickly see that most pages repeat the same ten or fifteen patterns in different orders.
Group similar patterns and name them by purpose, not appearance: “Proof band” rather than “grey box with logos”. Purpose-based names survive redesigns.
Step 2: Define design tokens
Design tokens are the smallest decisions in your visual language, stored as variables:
| Token type | Examples |
|---|---|
| Colour | Background, text, accent colours, border, error and success states |
| Typography | Font families, a modular type scale (e.g. 16 / 20 / 25 / 32 / 40 / 59 px), line heights |
| Spacing | A spacing scale (4, 8, 16, 24, 40, 64, 96, 120 px) used for padding and gaps |
| Shape | Border radius, border width, shadows |
| Motion | Easing curves and durations — with a reduced-motion alternative |
In Webflow, tokens live as variables and global classes. In WordPress, they live in theme.json and CSS custom properties, which also feed the block editor so editors can only choose brand colours and sizes.
Step 3: Design components with variations — but not too many
Each component should have a clear job and a small number of useful variations: image left or right, light or dark background, with or without a button. The temptation is to add a variation for every edge case. Resist it. Five flexible components beat twenty rigid ones. A good test: if two variations differ only in spacing or colour, they should probably be one component with an option.
Design every component for its worst-case content too: the longest headline, a missing image, three bullet points instead of six, and a screen 320 pixels wide.
Step 4: Build for editors
A component library only works if editors can use it confidently. On Webflow, we build components with exposed properties (text, image, link, variant) and lock everything else, so editors can change content without touching layout. On WordPress, we build custom Gutenberg blocks and block patterns, register brand colour and font-size palettes, and disable options that could break the design. We avoid heavy page builders: they make editing feel flexible at first but produce slow, fragile pages. More on platform differences in Webflow vs WordPress.
Step 5: Bake in accessibility and performance
Because components are reused everywhere, fixing them fixes the whole site. Every component in our libraries is checked for:
- Correct heading levels and landmarks
- Keyboard operability and visible focus states
- Colour contrast in every variation
- Meaningful alt text fields and decorative-image handling
- Responsive images with explicit dimensions to avoid layout shift
- Animations that respect “reduce motion” preferences
Read more in our accessibility guide and Core Web Vitals guide.
Step 6: Document and govern
A library without documentation slowly fills with duplicates. Keep a simple living style guide — a hidden page on the website itself works well — showing every component, its variations, when to use it and when not to. Assign an owner who approves new components, and review the library every quarter: merge near-duplicates, retire unused sections and add patterns that have proven useful.
Tip
Before adding a new component, ask: “Could an existing component do this with one new option?” Most of the time the answer is yes.
How many components does a site need?
For most marketing websites, 15 to 30 sections cover everything: a few hero styles, feature and benefit layouts, proof elements, media blocks, forms, FAQs, pricing, team and footer CTAs. Content-heavy sites — publishers, universities, hospitals — may need more, especially for structured content like events, directories and research listings.
Common mistakes to avoid
- Designing pages first. Pages are outputs; components are the system.
- Naming by appearance. “Blue box” stops making sense after a rebrand.
- Unlimited options. Freedom without guardrails leads to inconsistency.
- No owner. Someone must be responsible for the library’s health.
- Skipping training. Editors need a 60-minute walkthrough and a reference guide.
Need a modular website your team can grow?
Frequently asked questions
What is a modular website?
A modular website is assembled from a library of reusable sections — heroes, feature grids, testimonials, calls to action — that share the same design tokens and can be combined to create new pages.
How many components does a website need?
Most marketing sites work well with 15 to 30 well-designed sections. Fewer, more flexible components are easier to maintain than dozens of near-duplicates.
Can I build a modular site in WordPress without a page builder?
Yes. Custom Gutenberg blocks and block patterns give editors a modular, on-brand toolkit without the bloat of heavy page builders.
