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 1-48
2026-09-22 · 8 min read
Feedback Widget in React: Thumbs, Star Rating, Free Text
Build a production-ready React feedback widget with thumbs up/down, star ratings, and free text - all in under 120 lines, no extra dependencies required.
feedbackwidget
Read →
2026-09-22 · 9 min read
Responsive Typography System: fluid type, scale ratios, viewport units
Build a type system that scales beautifully across every viewport - fluid clamp(), modular ratios, viewport units, and tokens that don't fight your design.
typographyresponsive
Read →
2026-09-21 · 8 min read
Design System Versioning: Semantic Versions, Changelogs and Breaking Changes
Semver, changelogs, and breaking changes explained for design systems - what actually matters when you're shipping components to a team.
design systemversioning
Read →
2026-09-21 · 8 min read
Keyboard Shortcut Display in React: ⌘K Badges, Legend, Cheatsheet
Build polished ⌘K badges, shortcut legends, and cheatsheet overlays in React - with accessible markup, Tailwind styling, and real keyboard event wiring.
keyboard shortcutsreact
Read →
2026-09-20 · 9 min read
Language Switcher in React: Dropdown, Flag Icons, i18n Routing
Build a polished language switcher in React with flag icons, i18n routing, and next-intl. Dropdown variants, RTL support, and URL-based locale switching covered.
language switcheri18n
Read →
2026-09-20 · 8 min read
Social Share Buttons in React: Twitter, LinkedIn, Copy Link
Build Twitter, LinkedIn, and copy-link share buttons in React from scratch - no bloated libraries, just clean components with real UX polish.
social sharereact
Read →
2026-09-19 · 9 min read
Live Chat Widget in React: Bubble Button, Message Window, Typing
Build a fully interactive live chat widget in React - bubble button, message window, typing indicator, and smooth animations. No third-party SDK required.
live chatwidget
Read →
2026-09-19 · 9 min read
Multi-Theme System in React: CSS Variables + Context + localStorage
Build a production-grade multi-theme system in React using CSS custom properties, Context API, and localStorage - with zero re-renders and instant persistence.
themingcss variables
Read →
2026-09-18 · 8 min read
Newsletter Signup in React: Form, Success State, Email Validation
Build a polished React newsletter signup form with email validation, success state, and loading UX - no library required. Copy-paste ready in 2026.
newslettersignup
Read →
2026-09-18 · 8 min read
Empty State With Illustrations in React: SVG, Lottie and CSS Art
Build empty states that feel designed - not forgotten. SVG inline art, Lottie animations, and pure-CSS illustration techniques for React UIs.
empty stateillustration
Read →
2026-09-17 · 8 min read
Error Page Design in React: 404, 500, Maintenance Mode
Build polished 404, 500, and maintenance-mode pages in React and Next.js - with real component code, design patterns, and UI tips that don't look like defaults.
error page404
Read →
2026-09-17 · 9 min read
Survey Form in React: Multi-Step, Progress, Scale and Multiple Choice
Build a polished React survey form with multi-step flow, progress bar, Likert scales, and multiple choice - complete with state management and validation.
surveyform
Read →
2026-09-16 · 9 min read
Video Player in React: Custom Controls, Fullscreen, Captions
Build a fully custom React video player with play/pause, seek, fullscreen, volume, and WebVTT captions - no third-party libraries required.
video playerreact
Read →
2026-09-16 · 8 min read
Cookie Consent Banner in React: GDPR, Animate In/Out, Store Prefs
Build a GDPR-compliant cookie consent banner in React with smooth slide animations, localStorage persistence, and granular category toggles. No bloated libraries.
cookie bannergdpr
Read →
2026-09-15 · 9 min read
Address Form in React: Country Select, Postcode Validation, Autofill
Build a production-ready address form in React with dynamic country select, per-country postcode validation, and browser autofill that actually works.
address formreact
Read →
2026-09-15 · 8 min read
Settings Page in React: Tabs, Toggle Groups, Save Confirmation
Build a production-ready settings page in React with tabbed navigation, toggle groups, and a save confirmation pattern that actually feels right to users.
settingsreact
Read →
2026-09-14 · 9 min read
Analytics Dashboard in React: Charts, KPIs, Date Range Picker
Build a production-ready analytics dashboard in React with recharts, KPI cards, and a date range picker - from data wiring to responsive layout in one guide.
analyticsdashboard
Read →
2026-09-14 · 8 min read
User Profile Card in React: Avatar, Stats, Follow Button, Bio
Build a polished React user profile card with avatar, bio, stats counter, and a follow button. Fully typed, accessible, and ready to drop in.
profilecard
Read →
2026-09-13 · 9 min read
Billing Page in React: Plan Selector, Invoice Table, Card Update
Build a production-ready billing page in React with a plan selector, invoice history table, and card update flow. Stripe-connected, fully typed.
billingstripe
Read →
2026-09-13 · 9 min read
Activity Feed in React: Timeline, Filters, Infinite Load
Build a full activity feed in React with a timeline layout, type filters, and infinite scroll - no library magic, just composable hooks and clean state.
activity feedreact
Read →
2026-09-12 · 9 min read
Shopping Cart UI in React: Slide-Over Drawer, Quantity, Promo Code
Build a full shopping cart UI in React - slide-over drawer, quantity stepper, promo code input, and animated item removal - with Tailwind CSS and Framer Motion.
cartshopping
Read →
2026-09-12 · 8 min read
Team Members UI in React: Invite, Role Select, Remove Member
Build a full team members UI in React - invite by email, pick a role, remove members - with real code and no-fluff patterns for SaaS dashboards.
teammembers
Read →
2026-09-11 · 9 min read
Product Image Gallery in React: Zoom, Thumbnails, Touch Swipe
Build a production-ready product image gallery in React with pinch-to-zoom, thumbnail strip, and touch swipe - no heavy library required.
product galleryreact
Read →
2026-09-11 · 8 min read
Skeleton Loading Animation in CSS: Shimmer, Pulse, Wave Variants
Build shimmer, pulse, and wave skeleton loaders in pure CSS - no libraries needed. Covers keyframes, Tailwind variants, React integration, and accessibility.
skeletonloading
Read →
2026-09-10 · 9 min read
Checkout Form in React: Address, Payment, Review Steps with Validation
Build a multi-step checkout form in React with address, payment, and review stages - complete with Zod validation, Stripe-ready fields, and clean UX patterns.
checkoutform
Read →
2026-09-10 · 8 min read
Review and Rating Component in React: Stars, Average, Breakdown
Build a full review and rating system in React - interactive stars, score average, histogram breakdown, and accessible markup. No libraries needed.
reviewrating
Read →
2026-09-09 · 9 min read
Scroll Reveal Animation in React: AOS vs Framer Motion vs Intersection Observer
AOS, Framer Motion, or raw Intersection Observer - which actually belongs in your React project? A practical breakdown with real code and honest trade-offs.
scroll revealreact
Read →
2026-09-09 · 9 min read
CSS Wave Animation: SVG, clip-path and Keyframe Techniques
Master CSS wave animations with three battle-tested techniques - SVG paths, clip-path keyframes, and pseudo-elements - plus real code you can ship today.
wave animationcss
Read →
2026-09-08 · 9 min read
Page Load Animation in React: First Paint, Stagger, Skeleton to Content
How to handle page load animations in React - from first paint flicker to skeleton-to-content transitions and stagger sequences that don't tank performance.
page loadanimation
Read →
2026-09-08 · 9 min read
CSS Animation Performance: GPU Compositing, will-change, Layout Thrashing
Stop blaming slow animations on React. Most jank lives in the CSS layer - bad properties, missing compositing hints, and layout thrashing you never noticed.
animation performancegpu
Read →
2026-09-07 · 8 min read
Popmotion: The Animation Engine Behind Framer Motion
Popmotion powers Framer Motion under the hood. Learn how to use it directly for physics-based animations, springs, and keyframes in JavaScript.
popmotionanimation
Read →
2026-09-07 · 8 min read
Confetti in React 2026: canvas-confetti, tsParticles and Pure CSS
Three real approaches to confetti in React - canvas-confetti, tsParticles, and zero-dependency CSS - with working code, bundle cost breakdowns, and when to use each.
confettireact
Read →
2026-09-06 · 9 min read
react-spring Physics Guide: Springs, Trails, Parallax in React
Master react-spring's physics engine - springs, mass, tension, trails, and parallax - with real code examples that feel alive, not mechanical.
react-springphysics
Read →
2026-09-06 · 8 min read
CSS Neon Animation: Flickering Lights, Pulse and Glow Sequences
Build realistic CSS neon sign animations - flickering lights, glowing pulse loops, and multi-color sequences - with pure CSS keyframes and no JavaScript.
neoncss animation
Read →
2026-09-05 · 8 min read
Empty State Design in Tailwind: Illustrations, CTAs and Skeleton Fallback
Empty states make or break first impressions. Learn to build illustration-first empty states, smart CTAs, and skeleton loaders with Tailwind CSS and React.
tailwindempty state
Read →
2026-09-05 · 8 min read
CSS Custom Easing: linear(), steps() and Beyond cubic-bezier
cubic-bezier had a good run. Now linear() and steps() give you spring physics, staircase effects, and total control over your CSS animations.
easinglinear()
Read →
2026-09-04 · 8 min read
CSS View Transitions Advanced: Cross-Document, Custom Animations
Cross-document view transitions landed in Chrome 126 - here's how to build custom named animations, morph elements between pages, and avoid the common pitfalls.
view transitionscss
Read →
2026-09-04 · 8 min read
Timeline Component in Tailwind: Vertical, Alternating, Compact
Build vertical, alternating, and compact timeline components with Tailwind CSS - no extra libraries, just utility classes and clean React patterns.
tailwindtimeline
Read →
2026-09-03 · 8 min read
Stat Card in Tailwind: KPI Metrics, Delta Indicator, Sparkline
Build a production-ready stat card with Tailwind CSS - KPI values, delta indicators, trend sparklines, and skeleton loaders. No chart library needed.
tailwindstats
Read →
2026-09-03 · 8 min read
Alert and Callout Components in Tailwind: Info, Warning, Error, Success
Build production-ready alert and callout components in Tailwind CSS - info, warning, error, and success variants with icons, dismiss logic, and accessibility.
tailwindalert
Read →
2026-09-02 · 9 min read
Dark Mode Component Variants in Tailwind: Every Pattern Covered
Stop patching dark mode in after the fact. Here's every Tailwind pattern for building components that switch cleanly, from class strategy to CSS variables.
tailwinddark mode
Read →
2026-09-02 · 9 min read
CSS Scroll-Driven Animations Advanced: view(), scroll() and Named Timelines
Master CSS scroll-driven animations with view(), scroll(), and named timelines - no JavaScript, no libraries, just native browser APIs doing the heavy lifting.
scroll-drivencss
Read →
2026-09-01 · 8 min read
Avatar and Avatar Group in Tailwind: Initials, Stack, Count Badge
Build stacked avatar groups with Tailwind CSS - initials fallback, overlap rings, and count badges. No library needed, just utility classes and React.
tailwindavatar
Read →
2026-09-01 · 8 min read
Badge, Chip and Tag Components in Tailwind: Status, Labels, Filters
Build badge, chip, and tag components in Tailwind CSS from scratch - status indicators, dismissible filters, and multi-variant label systems that actually scale.
tailwindbadge
Read →
2026-08-31 · 9 min read
Card Component Variants in Tailwind: 10 Patterns for Every Use Case
Ten battle-tested Tailwind card patterns - from basic content cards to glassmorphism and neumorphism - with copy-paste code for every use case.
tailwindcard
Read →
2026-08-31 · 8 min read
Input Components in Tailwind: Text, Select, Checkbox, Radio
Build polished text inputs, selects, checkboxes, and radio buttons entirely in Tailwind CSS - with real patterns, state styling, and accessibility baked in.
tailwindinput
Read →
2026-08-30 · 8 min read
Progress Bar in Tailwind: Animated, Striped, Segmented Variants
Build animated, striped, and segmented progress bars with pure Tailwind CSS and React. No plugins needed - just utility classes and a bit of JavaScript.
tailwindprogress bar
Read →
2026-08-30 · 8 min read
Button Component Variants in Tailwind: Primary, Ghost, Icon, Loading
Build a production-ready button system in Tailwind CSS - primary, ghost, icon, and loading variants with React, TypeScript, and class-variance-authority.
tailwindbutton
Read →
Free components in 41 visual styles
React & Tailwind, copy-paste ready. Glassmorphism, neobrutalism, Y2K and more.