Styling decisions shape how fast a team can build, how consistent the product looks and how easy it is to maintain years later. All five options below are free and open source, so the real cost is in the time they save or add. Here's how they compare and how to set each one up.
1. Tailwind CSS: utility-first and fully custom
Tailwind provides small utility classes (flex, p-6, text-lg) that you combine directly in your markup. It produces tiny CSS files because only the classes you use are included, and it makes custom designs fast to build without fighting a predefined theme. Version 4 is configured mostly in CSS.
npm install tailwindcss @tailwindcss/postcss postcssexport default {
plugins: { "@tailwindcss/postcss": {} },
};@import "tailwindcss";
@theme {
--color-brand: #8b1e2d; /* Digital Engines red */
--color-ink: #17161a;
--color-paper: #f5f1ef;
--font-display: "Playfair Display", serif;
}<button className="rounded-full bg-brand px-6 py-3 text-white hover:opacity-90">
Start your project
</button>“Frameworks should speed up your design system, never replace it. Pick the one that lets your brand look like your brand.”— Strategic Takeaway
2. shadcn/ui: accessible components you own
shadcn/ui isn't a package you install and forget. It copies well-built, accessible React components (built on Radix primitives and styled with Tailwind) into your codebase. You own the code, so you can restyle every detail to match the brand.
npx shadcn@latest init
npx shadcn@latest add button dialog input formimport { Button } from "@/components/ui/button";
export function Hero() {
return <Button size="lg">Book a free strategy call</Button>;
}3. Bootstrap: the classic, component-ready toolkit
Bootstrap ships a responsive grid and ready-made components such as navbars, modals and cards. It's quick for admin panels, prototypes and teams familiar with it, but sites can look generic unless you customise its Sass variables.
npm install bootstrapimport "bootstrap/dist/css/bootstrap.min.css";4. CSS Modules: plain CSS with automatic scoping
CSS Modules are built into Next.js and need no installation. You write normal CSS, and class names are automatically scoped to the component, so styles never leak. They suit hand-crafted editorial designs and teams who prefer writing real CSS.
.card {
padding: 2rem;
border-radius: 1rem;
background: var(--color-paper);
}
.card:hover {
transform: translateY(-2px);
transition: transform 0.2s ease;
}import styles from "./Card.module.css";
export function Card({ children }: { children: React.ReactNode }) {
return <div className={styles.card}>{children}</div>;
}5. MUI (Material UI): a complete component library
MUI offers a large, mature set of React components following Google's Material Design, including advanced data grids and date pickers. It's very productive for dashboards and internal tools. Heavier customisation is possible through its theming system.
npm install @mui/material @emotion/react @emotion/styledimport Button from "@mui/material/Button";
<Button variant="contained">Save changes</Button>6. Our recommendation
For most client websites and SaaS products we use Tailwind CSS with shadcn/ui. Design tokens live in one CSS file, components are accessible by default and every detail can match the brand. For data-heavy internal tools, MUI can save significant time. For highly editorial sites with unique layouts, CSS Modules keep things simple and elegant.
- Start by defining colours, typography, spacing and radius as design tokens.
- Build a small library of shared components (buttons, inputs, cards) before building pages.
- Test accessibility: keyboard navigation, focus states and colour contrast.
- Document the system so future developers keep the design consistent.
CSS framework comparison
| Framework | Approach | Pre-built components | Customisation | Best for |
|---|---|---|---|---|
| Tailwind CSS | Utility classes | No (pair with shadcn/ui) | Excellent | Custom, brand-led UIs |
| shadcn/ui | Copy-in React components | Yes | Excellent (you own the code) | React apps needing accessible components |
| Bootstrap | Component classes + grid | Yes | Good (Sass variables) | Prototypes and admin panels |
| CSS Modules | Scoped plain CSS | No | Unlimited | Editorial and hand-crafted designs |
| MUI | React component library | Yes, extensive | Good (theming) | Dashboards and internal tools |
All five are free and open source. Some offer optional paid templates or premium components.
Official resources
Principles for deliberate execution
- 1Tailwind CSS plus shadcn/ui is our default for custom, brand-led React interfaces.
- 2Bootstrap and MUI are fastest when you want ready-made components and a familiar look.
- 3CSS Modules are a great zero-dependency choice for hand-crafted, editorial designs.
- 4Define brand colours, fonts and spacing as design tokens first, then implement them in any framework.