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 145-192
2026-07-24 · 9 min read
Infinite Canvas in React: Pan, Zoom and Node-Based UI
Build a production-ready infinite canvas in React with pan, zoom, and node-based UI. Covers pointer events, SVG transforms, and library trade-offs.
infinite canvasreact
Read →
2026-07-24 · 8 min read
Floating Action Button (FAB) in React: Mobile-First Speed Dial
Build a production-ready Floating Action Button in React with Tailwind - including speed dial, animations, and mobile-first accessibility patterns that actually work.
fabfloating action button
Read →
2026-07-24 · 8 min read
Chat UI in React: Message List, Input, Typing Indicator
Build a complete chat UI in React with a scrolling message list, auto-growing input, and animated typing indicator - no library required, just hooks and CSS.
chatreact
Read →
2026-07-23 · 9 min read
Data Table Filters in React: Column Filter, Global Search, URL State
Build production-grade React data table filters - column-level filters, global search, and URL-synced state - using TanStack Table v8 and React Router.
data tablefilter
Read →
2026-07-23 · 8 min read
Multi-Select in React: Tags Input, Checkboxes and Combobox Patterns
Build multi-select UIs in React - tags input, checkbox lists, and accessible combobox patterns. Real code, keyboard nav, and no hand-waving about "best practices".
multi-selectreact
Read →
2026-07-23 · 9 min read
Kanban Board in React: Drag-and-Drop Columns With dnd-kit
Build a fully working kanban board in React using dnd-kit - drag cards across columns, handle sorting, and wire up real state updates without losing your mind.
kanbandrag drop
Read →
2026-07-23 · 8 min read
Notification Center in React: Bell Icon, Unread Badge, Popover List
Build a full notification center in React - bell icon, animated unread badge, keyboard-accessible popover list, and real-time updates. Code included.
notificationsreact
Read →
2026-07-23 · 8 min read
Sidebar Navigation in React: Collapsible, Mobile Drawer, Nested
Build a production-ready React sidebar with collapsible panels, mobile drawer behavior, and nested nav - with real code you can copy straight into your project.
sidebarnavigation
Read →
2026-07-23 · 9 min read
Mega Menu in React: Full-Width Dropdown With Categories and Images
Build a full-width mega menu in React with category columns, images, and keyboard nav - no library needed. Tailwind CSS, accessible, and production-ready.
mega menudropdown
Read →
2026-07-23 · 8 min read
Virtual Keyboard in React: Numpad, PIN Entry, Custom Layouts
Build virtual keyboards in React - numpad, PIN entry, and fully custom layouts. Covers state, accessibility, styling, and real component code.
virtual keyboardreact
Read →
2026-07-22 · 8 min read
Color Picker in React: HSL Slider, Hex Input and Copy Button
Build a fully controlled React color picker with HSL sliders, live hex input, and a one-click copy button - no third-party library needed.
color pickerreact
Read →
2026-07-22 · 8 min read
Date Picker in React: react-day-picker v9 and Custom Approach
Build accessible date pickers in React with react-day-picker v9 or roll your own. Real code, real trade-offs, no hand-waving. Updated for 2026.
date pickerreact
Read →
2026-07-22 · 9 min read
File Upload in React: Drag & Drop, Progress Bar and Validation
Build a complete React file upload component with drag & drop, real progress bar, file type validation, and size limits - no third-party library required.
file uploadreact
Read →
2026-07-22 · 9 min read
Rich Text Editor in React: Tiptap v3 Setup and Custom Extensions
Build a production-ready rich text editor in React with Tiptap v3 - full setup, toolbar wiring, and custom extensions explained step by step.
rich text editortiptap
Read →
2026-07-22 · 8 min read
OTP Input in React: 6-Digit Code Entry With Auto-Focus and Paste
Build a production-ready 6-digit OTP input in React with auto-focus, backspace handling, and clipboard paste support - no libraries needed.
otpinput
Read →
2026-07-22 · 8 min read
Combobox in React: Accessible Autocomplete With Headless UI
Build an accessible combobox autocomplete in React with Headless UI. ARIA patterns, keyboard nav, filtering, and styling - all covered with working code.
comboboxautocomplete
Read →
2026-07-22 · 8 min read
Charts in React with Recharts: Bar, Line, Area and Pie in 2026
Ship bar, line, area and pie charts in React using Recharts 2.x - real code, responsive containers, custom tooltips, and honest takes on when not to use it.
rechartschart
Read →
2026-07-21 · 9 min read
Command Palette in React: ⌘K Search, Keyboard Navigation, ARIA
Build a fully accessible ⌘K command palette in React with keyboard navigation, fuzzy search, and correct ARIA roles - no library required.
command palettereact
Read →
2026-07-21 · 8 min read
Framer Motion Layout Animations: shared layout, AnimatePresence
Master Framer Motion layout animations in React - layoutId, AnimatePresence, and shared transitions that just work without manual FLIP math.
framer motionlayout animation
Read →
2026-07-21 · 8 min read
Web Animations API in 2026: Native Animations Without a Library
The Web Animations API gives you keyframes, timing, and playback control in pure JavaScript - no Framer Motion, no GSAP. Here's how to use it properly in 2026.
web animations apijavascript
Read →
2026-07-21 · 8 min read
Lottie Animations in React 2026: @lottiefiles/react, DotLottie Setup
How to add Lottie animations to React in 2026 - comparing @lottiefiles/react-lottie-player, lottie-react, and DotLottie with real setup code and gotchas.
lottiereact
Read →
2026-07-21 · 8 min read
Stagger Animation in CSS: animation-delay, nth-child and JS Approaches
Master CSS stagger animations using animation-delay, nth-child formulas, and JavaScript. Build lists, cards, and menus that cascade beautifully without heavy libraries.
staggercss animation
Read →
2026-07-21 · 9 min read
GSAP ScrollTrigger in React: Pinning, Scrubbing and Timeline Sync
Master GSAP ScrollTrigger in React - pin sections, scrub timelines to scroll position, and sync complex animations without memory leaks or StrictMode bugs.
gsapscrolltrigger
Read →
2026-07-21 · 8 min read
CSS offset-path: Animating Elements Along Custom Paths
Learn how CSS offset-path lets you animate elements along SVG and geometric paths - with real code examples, browser gotchas, and practical motion design tips.
css motion pathoffset-path
Read →
2026-07-20 · 8 min read
CSS Typewriter Effect: Pure CSS vs JS - When Each Is the Right Call
Pure CSS typewriter vs JavaScript - learn exactly when each approach wins, how to build both, and which one belongs in your React component.
typewritercss animation
Read →
2026-07-20 · 8 min read
CSS Shape Morphing: clip-path, offset-path and SVG Morph Techniques
Master CSS shape morphing with clip-path animations, offset-path motion trails, and SVG SMIL morphing - with real code examples and browser gotchas explained.
morphingcss
Read →
2026-07-20 · 8 min read
CSS @starting-style: Entry Animations Without JS Classes
CSS @starting-style lets you animate elements from their initial state on first render - no JS class toggling, no setTimeout hacks. Here's how it actually works.
@starting-stylecss
Read →
2026-07-20 · 8 min read
AutoAnimate in React: Zero-Config Layout Animations in 3 Lines
AutoAnimate adds smooth layout animations to any React list or conditional in 3 lines - no keyframes, no Framer Motion setup, no props. Here's exactly how it works.
auto-animatereact
Read →
2026-07-20 · 8 min read
CSS Flip Card: 3D Rotate Animation With and Without JavaScript
Build a CSS flip card with smooth 3D rotation - pure CSS hover, JavaScript click toggle, and React component. Code examples for every approach included.
flip cardcss
Read →
2026-07-20 · 9 min read
Anime.js v4 in 2026: Timeline, Stagger and SVG Animations
Anime.js v4 rewrote the timeline and stagger APIs completely. Here's how to actually use them in 2026 - with real SVG, scroll, and sequencing examples.
anime.jsanimation
Read →
2026-07-20 · 8 min read
Motion One: The Tiny Animation Library Punching Way Above Its Weight
Motion One is a 2.5 kB animation library built on the Web Animations API - faster than GSAP, simpler than Framer Motion, and dead-easy to drop into any project.
motion onecss animation
Read →
2026-07-19 · 8 min read
CSS Anchor Positioning: Tooltips and Popovers Without JS Libraries
CSS Anchor Positioning is finally here - build tooltips, dropdowns, and popovers that track DOM elements with pure CSS, no JavaScript library required.
css anchorpositioning
Read →
2026-07-19 · 8 min read
CSS Scroll Snap: Precise Scrolling Sections Without JavaScript
Master CSS Scroll Snap to build buttery-smooth, section-based scrolling experiences with zero JavaScript - just two properties and you're done.
css scroll snapscroll
Read →
2026-07-19 · 8 min read
Tailwind Text Effects: Gradient, Clip, Outline and Glow
Master Tailwind CSS text effects - gradient fills, background-clip, outline strokes, and glow shadows - with copy-paste code examples and real browser gotchas.
tailwindtext
Read →
2026-07-19 · 8 min read
Tailwind Scroll Animations: @starting-style and animation-timeline
Master scroll-driven animations in Tailwind v4 using @starting-style and animation-timeline. No JS libs needed - pure CSS that ships in 2026.
tailwindscroll
Read →
2026-07-19 · 8 min read
Tailwind Form Validation UI: Error States, Success and Loading
Build bulletproof Tailwind form validation UIs with error states, success feedback, and loading indicators - practical patterns, real code, no fluff.
tailwindform
Read →
2026-07-19 · 8 min read
Neumorphism in Tailwind CSS: Soft Shadows Without the Opacity Trap
Build real neumorphic UI in Tailwind CSS without breaking dark mode or accessibility. Practical shadow configs, Tailwind plugin tricks, and pitfalls to avoid.
tailwindneumorphism
Read →
2026-07-19 · 9 min read
Tailwind Config Deep Dive: theme, extend, safelist and Presets
Master tailwind.config.js - theme vs extend, dynamic safelist patterns, preset composition, and plugin authoring. Stop guessing, start controlling every token.
tailwindconfig
Read →
2026-07-18 · 8 min read
Building a Landing Page in Tailwind CSS: Section by Section
Build a complete landing page with Tailwind CSS - hero, features, pricing, and footer - section by section with real code you can copy directly into your React project.
tailwindlanding page
Read →
2026-07-18 · 8 min read
Writing a Tailwind CSS Plugin: addComponents, addUtilities, matchUtilities
Learn how to write Tailwind CSS plugins from scratch - addComponents, addUtilities, matchUtilities, and theme() access explained with real working code.
tailwindplugin
Read →
2026-07-18 · 8 min read
Tailwind Dashboard Layout: Sidebar, Header and Content Grid
Build a production Tailwind dashboard layout with a collapsible sidebar, sticky header, and responsive content grid - copy-paste React code included.
tailwinddashboard
Read →
2026-07-18 · 8 min read
Tailwind Table Design: Striped, Hoverable, Sortable Data Tables
Build production-ready Tailwind CSS tables with striped rows, hover states, and sortable columns - no third-party library needed. Full code examples inside.
tailwindtable
Read →
2026-07-18 · 8 min read
Tailwind Pricing Section: 3-Tier Layout with Annual Toggle
Build a production-ready 3-tier pricing section in Tailwind CSS with a monthly/annual toggle, highlighted plan, and React state - copy-paste ready.
tailwindpricing
Read →
2026-07-18 · 8 min read
Tailwind Sidebar Layout: Collapsible, Responsive, Accessible
Build a collapsible, accessible Tailwind sidebar layout from scratch - responsive breakpoints, keyboard nav, ARIA roles, and real code you can drop in today.
tailwindsidebar
Read →
2026-07-18 · 8 min read
Cyberpunk Design in Tailwind: Neon, Dark and Grid Patterns
Build cyberpunk UIs in Tailwind: neon glow effects, dark grid backgrounds, scanline overlays, and glitch typography - no plugins required.
tailwindcyberpunk
Read →
2026-07-17 · 9 min read
Advanced Glassmorphism in Tailwind: Multi-Layer Glass Effects
Go beyond basic backdrop-blur. Build multi-layer glassmorphism in Tailwind with nested panels, tinted glass, animated refraction, and performant compositing tricks.
tailwindglassmorphism
Read →
2026-07-17 · 8 min read
Tailwind Container Queries: @container in Tailwind v4
Tailwind v4 ships first-class @container support - no plugin needed. Here's how container queries actually work and when to reach for them over media queries.
tailwindcontainer queries
Read →
2026-07-17 · 8 min read
3D Card Effect in Tailwind: [perspective] and rotate3d Utilities
Build interactive 3D card flip and tilt effects using Tailwind's arbitrary perspective values and rotate3d utilities - no extra libraries needed.
tailwind3d
Read →
Free components in 41 visual styles
React & Tailwind, copy-paste ready. Glassmorphism, neobrutalism, Y2K and more.