405 guides · updated daily
The Empire UI blog
Practical guides on UI styles and effects - every article ships free, working React & Tailwind code.
#react#css#tailwind#animation#glassmorphism#next.js#design#performance#accessibility#dark mode#css variables#framer motion#neumorphism#responsive#dashboard#saas#ecommerce#landing page#button#card#form#navigation#typography#gradient#patterns
405 articles · showing 97-144
2026-08-05 · 9 min read
Dark UI Design Guide: Color, Contrast and the Mistakes Everyone Makes
Dark UIs are everywhere - and most of them have terrible contrast. This guide covers color theory, WCAG compliance, and the exact mistakes to stop making right now.
dark uidesign
Read →
2026-08-05 · 8 min read
Conic Gradient CSS: Pie Charts, Color Wheels and Angled Fills
Master CSS conic-gradient() to build pure-CSS pie charts, color wheels, and angled fills - no SVG, no canvas, just one property and a fistful of color stops.
conic gradientcss
Read →
2026-08-04 · 8 min read
Spatial UI Design in 2026: Vision Pro, Depth and the Glass Era
Spatial UI isn't a buzzword anymore - it's reshaping how we think about depth, glass, and layers in every interface, from visionOS to the browser.
spatial uiapple vision
Read →
2026-08-04 · 8 min read
Landing Page Design Patterns in 2026: Above the Fold, Hero, CTA
Hero layouts, above-the-fold decisions, and CTA patterns that actually convert - a practical React guide for landing pages in 2026.
landing pagedesign
Read →
2026-08-04 · 8 min read
Mobile-First UI Design: 48px Touch Targets, Thumb Zones, Safe Areas
Build UIs that actually work on phones - 48px touch targets, thumb-zone mapping, safe areas, and the CSS patterns that tie it all together.
mobile firstui design
Read →
2026-08-04 · 9 min read
E-Commerce Product Card Design: 8 Layouts That Actually Convert
Eight proven product card layouts with React code, real conversion data, and design tradeoffs - so you stop guessing and start shipping cards that sell.
ecommerceproduct card
Read →
2026-08-04 · 8 min read
Apple visionOS UI Patterns: What Web Developers Can Steal
visionOS introduced spatial UI ideas most web devs ignored. Here's what actually translates to the browser - depth, glass, layering, and material design done right.
visionosspatial design
Read →
2026-08-04 · 9 min read
E-Commerce Checkout UI: Step-by-Step, Trust Signals, Error States
Build an e-commerce checkout UI that converts - step-by-step flow, inline error states, trust signals, and React code patterns that don't leak revenue.
ecommercecheckout
Read →
2026-08-04 · 9 min read
SaaS Dashboard UI Design: Layout, Data Density and Visual Hierarchy
Build SaaS dashboards that actually work - covering layout grids, data density trade-offs, visual hierarchy, and the component patterns that keep users oriented.
saasdashboard
Read →
2026-07-30 · 9 min read
Generative Art With CSS: Randomness, Houdini and CSS Paint API
Learn how to create generative art purely in CSS using the Houdini Paint API, custom properties, and pseudo-randomness - no canvas, no JS required.
generative artcss
Read →
2026-07-29 · 8 min read
Smooth Scrolling in React: Lenis, locomotive-scroll and Native CSS
Compare Lenis, locomotive-scroll, and native CSS scroll-behavior in React. Real code, real tradeoffs - pick the right tool before you ship your next project.
smooth scrollreact
Read →
2026-07-29 · 9 min read
WebGPU in 2026: What It Is and Your First Triangle in JavaScript
WebGPU is the modern GPU API for the web - faster than WebGL, built for compute. Here's what it actually is and how to draw your first triangle in vanilla JS.
webgpugpu
Read →
2026-07-29 · 9 min read
Audio Visualizer in React: Web Audio API + Canvas = Waveform Magic
Build a real-time audio visualizer in React using Web Audio API and Canvas. Frequency bars, waveforms, and animation loops - all wired up with hooks.
audio visualizerweb audio api
Read →
2026-07-29 · 9 min read
GLSL Shader Effects in React: Noise, Distortion and Color Grading
Learn how to wire GLSL shaders into React with Three.js and react-three-fiber - noise, UV distortion, and cinematic color grading with real working code.
glslshader
Read →
2026-07-29 · 9 min read
Advanced SVG Animation: stroke-dasharray, SMIL and JavaScript Sync
Master SVG animation with stroke-dasharray path tricks, SMIL declarative timing, and JavaScript sync for precise, performant motion that CSS alone can't do.
svganimation
Read →
2026-07-29 · 9 min read
Canvas Particle System From Scratch: Mouse Interaction, Color Fields
Build a canvas particle system with mouse interaction and color fields from scratch - no libraries, just vanilla JS, requestAnimationFrame, and a bit of math.
canvasparticles
Read →
2026-07-29 · 9 min read
React Three Fiber in 2026: 3D Scenes, Shaders and Performance
Master React Three Fiber in 2026: build 3D scenes, write custom GLSL shaders, and hit 60fps on mobile with practical performance techniques.
react three fiberthree.js
Read →
2026-07-28 · 8 min read
CSS Modules vs Tailwind vs styled-components: 2026 Verdict
CSS Modules, Tailwind, or styled-components? In 2026, the answer depends on your team size, runtime constraints, and how much you hate specificity wars.
css modulestailwind
Read →
2026-07-28 · 8 min read
React UI Library Bundle Size Compared: shadcn, MUI, Mantine, Empire UI
We measured bundle sizes for shadcn/ui, MUI, Mantine, and Empire UI in 2026. Here's what actually ships to your users - and which library won't wreck your Lighthouse score.
bundle sizeperformance
Read →
2026-07-28 · 8 min read
Vite + React vs Next.js in 2026: Which Scaffold to Choose
Vite + React or Next.js in 2026? We break down build speed, SSR trade-offs, and when each scaffold actually makes sense for real projects.
vitenext.js
Read →
2026-07-28 · 8 min read
shadcn/ui vs Radix UI: What's the Difference, Which Do You Need?
shadcn/ui is built on top of Radix UI - so which one do you actually install? Here's the real difference, and how to pick the right tool for your project.
shadcnradix ui
Read →
2026-07-28 · 8 min read
Headless UI Libraries in 2026: Radix, Headless UI, Ark Compared
Radix, Headless UI, and Ark UI compared side-by-side in 2026 - accessibility defaults, bundle size, DX, and which one you should actually pick for your next React project.
headless uiradix
Read →
2026-07-28 · 9 min read
Framer Motion vs GSAP in 2026: Honest Comparison for Real Projects
Framer Motion or GSAP? In 2026 both are excellent - but they solve different problems. Here's the unfiltered breakdown so you pick the right one.
framer motiongsap
Read →
2026-07-27 · 8 min read
Color Contrast Checker: WCAG AA/AAA and APCA in 2026
Color contrast in 2026 means more than WCAG 4.5:1. Learn how APCA changes the math, when AA vs AAA matters, and how to check contrast fast without losing sleep.
color contrastwcag
Read →
2026-07-27 · 8 min read
Browser DevTools for CSS in 2026: Features You're Probably Not Using
Chrome, Firefox, and Safari DevTools shipped major CSS features most devs ignore. Here's what's actually useful in 2026 and how to use it today.
devtoolscss
Read →
2026-07-27 · 8 min read
Advanced CSS Custom Properties: @property, Animatable Tokens
Master @property, typed CSS tokens, and animatable custom properties to build transitions that vanilla CSS variables simply can't do.
css variables@property
Read →
2026-07-27 · 8 min read
Google Fonts Performance: font-display, preload and next/font
Google Fonts tanks your CLS and LCP if you load them wrong. Here's exactly how font-display, preload, and next/font fix that - with real code.
google fontsperformance
Read →
2026-07-27 · 8 min read
Image Optimisation in 2026: WebP, AVIF, Lazy Load and LCP
WebP, AVIF, lazy loading, and LCP - everything you actually need to know about image optimisation in 2026, with real code and no hand-waving.
imageoptimisation
Read →
2026-07-27 · 8 min read
CSS aspect-ratio: Responsive Images, Videos and Cards Made Easy
Master CSS aspect-ratio in 2026 - control image, video, and card proportions without padding hacks. Responsive layouts that just work, explained clearly.
aspect-ratiocss
Read →
2026-07-27 · 8 min read
CSS Shapes Beyond border-radius: polygon(), inset() and path()
Stop rounding corners and start cutting shapes. This guide covers clip-path polygon(), inset(), and path() with real examples you can ship today.
css shapesclip-path
Read →
2026-07-26 · 8 min read
SVG Icon Accessibility: aria-label, role and title Explained Properly
Stop guessing which ARIA attributes to put on your SVG icons. Here's exactly when to use aria-label, role, title and aria-hidden - with React examples.
svgicons
Read →
2026-07-26 · 8 min read
CSS clip-path Generator: Polygon, Circle and Inset Shapes
Master CSS clip-path with polygon, circle, and inset shapes. Includes a generator walkthrough, copy-paste code snippets, and animation tips for 2026.
clip-pathcss
Read →
2026-07-26 · 8 min read
Focus Management in React: Trap, Return and Programmatic Focus
Master focus trapping, return focus, and programmatic focus in React. Practical patterns for modals, drawers and accessible keyboard navigation that actually works.
focusaccessibility
Read →
2026-07-26 · 9 min read
React Component API Design: Props, Variants and Compound Patterns
How to design React component APIs that don't make developers hate you - props, variants, compound patterns, and the decisions that actually matter.
reactapi design
Read →
2026-07-26 · 8 min read
Dark Mode Color Tokens: Building a Theme That Doesn't Break Everything
Stop shipping dark mode as an afterthought. Here's how to build a real color token system with CSS variables that survives theming, components, and third-party libraries.
dark modetokens
Read →
2026-07-26 · 9 min read
Design System Documentation: Storybook, Zeroheight and Custom Docs
Compare Storybook, Zeroheight and custom docs for your design system. Learn when to use each, how to combine them, and what teams actually ship in 2026.
design systemdocumentation
Read →
2026-07-26 · 8 min read
Motion Design Tokens: Systematising Easing, Duration and Delay
Stop hardcoding cubic-bezier values everywhere. Learn how to build a motion token system for easing, duration, and delay that scales across your entire design system.
motiondesign tokens
Read →
2026-07-25 · 8 min read
Image Gallery in React: Masonry Grid, Lightbox and Lazy Load
Build a React image gallery with masonry layout, lightbox overlay, and lazy loading - no heavy libraries required. Code-first guide with hooks and CSS Grid.
image galleryreact
Read →
2026-07-25 · 8 min read
Container Queries for Components: Component-Driven Responsive Design
Container queries let components respond to their own space, not the viewport. Here's how to build genuinely reusable, self-aware React components in 2026.
container queriescss
Read →
2026-07-25 · 8 min read
Countdown Timer in React: Days, Hours, Flip Animation Variants
Build a React countdown timer with days, hours, minutes, seconds - plus flip card animations. Real code, zero dependencies beyond React 18.
countdowntimer
Read →
2026-07-25 · 8 min read
Fluid Typography With clamp(): No More Responsive Font Breakpoints
Stop writing font-size breakpoints. CSS clamp() gives you fluid typography that scales smoothly between any two viewport widths - here's exactly how to use it.
typographyclamp
Read →
2026-07-25 · 8 min read
Semantic Color Tokens: From Raw Palette to Intent-Based Design System
Stop naming colors after hex values. Semantic color tokens map intent to palette - here's how to build a token system that actually survives dark mode and rebrands.
design tokenssemantic
Read →
2026-07-25 · 8 min read
Copy to Clipboard Button in React: Hook, Feedback and Patterns
Build a copy-to-clipboard button in React with a custom hook, visual feedback states, and UX patterns that actually work - including async fallbacks and accessibility.
copy buttonclipboard
Read →
2026-07-25 · 8 min read
CSS @layer: Taking Control of the Cascade Without !important
CSS @layer finally lets you control cascade order without specificity hacks or !important. Here's how to use it in real design systems and component libraries.
css layercascade
Read →
2026-07-24 · 9 min read
Onboarding Flow in React: Multi-Step, Spotlight and Tooltip Tours
Build multi-step onboarding flows in React with spotlight overlays, tooltip tours, and state machines. Patterns, code, and library picks for 2026.
onboardingreact
Read →
2026-07-24 · 8 min read
Context Menu (Right-Click) in React: Radix, Custom and Accessible
Build right-click context menus in React with Radix UI or a custom hook. Covers positioning, keyboard nav, WAI-ARIA, and real-world usage patterns.
context menuright-click
Read →
2026-07-24 · 8 min read
Resizable Panels in React: Split View, Drag to Resize
Build drag-to-resize split panels in React from scratch or with react-resizable-panels. Covers split views, keyboard access, and production layout patterns.
resizablepanels
Read →
2026-07-24 · 9 min read
Audio Player in React: Play, Seek, Volume and Waveform Display
Build a fully custom React audio player with play/pause, seek, volume control, and a real-time waveform visualizer using the Web Audio API - no third-party lib needed.
audio playerreact
Read →
Free components in 41 visual styles
React & Tailwind, copy-paste ready. Glassmorphism, neobrutalism, Y2K and more.