EasyUI Logoeasyui
HomeComponentsDocs
TracwellAnalytics sponsoreasyui
ComponentsDocsGitHubLLMs
© 2026 EasyUI. Built by Suraj Maurya

Intro

Guides

Components

Activity Feed
Advanced Data Table
AI Agent Activity
AI Response
Airport Matrix Clock
NEW
Animated File Upload
Animated Number Morph
Animated Tabs
Avatar Stack
Batch Gesture Tray
Book Call Button
Branching Submenu
Button
Car Smoke Page Transition
Chat
Circular Orbit
Code Snippet Deck
Command Menu
Cursor Follower
Density Lens
Dependency Trace
Depth Corridor
DirectionalTooltip
Dot Field
Dot Shader
Drag to Confirm
DrawCheckbox
Dynamic Island
NEW
Evil Eye
Expandable Data Row
Expandable Search
FAQ
Floating Action Dock
Focus Mode
Form
Glass Navbar
Glitch Text
Glyph Matrix
Gooey Menu
Gravity Particle Burst
Hamburger Menu
Interactive Timeline
Intro Loader
iOS-style Search Bar
Liquid Ripple Button
Liquid Toggle
Loader
LockInput
Login
macOS Folder Cards
Magnetic Button
Meteors
Metric HUD
Morphing Blob
Morphing Button
Morphing Dialog
Morphing Icon
Morphing Shape Loader
Neon Edge Button
Nimbu Mirchi
Not Found
Notification Bell
Notification Stack
Orbital Loading Ring
OriginDropdown
OTP Input
Particle Delete
Payment Receipt Printer
Payment Status
Peek Card
Pill Navigation
PressButton
Pricing
Profile Card
Pull to Refresh
Rainbow Button
Recovery Ledger
Reveal Card
Rocket Party Popper
Scroll Progress Navigation
Scroll Velocity Text
Selection Basket
SettleModal
Shooting Stars
Sign Up
SlidePagination
Small Floating Dock
Smart Comparison
Smooth Accordion
Sparkles Core
Speed Warp
Split Button
Spotlight Card
Spotlight Search
SpringSelect
Stack Unfold Panel
Stacked Cards
Sticky Pages
Story Cards
StretchSwitch
Text Scramble Decoder
Thinking Orb
Torque Dial
Typewriter Button
Undo Toast
UnfoldAccordion
VelocityToast
Wallet Card
  1. EasyUI
  2. Components
  3. Focus Mode

Focus Mode

An atmospheric focus-mode interaction that isolates selected cards or sections by smoothly dimming surrounding distractions with zero layout shift, tactile spring scaling, and Escape key dismissal.

Loading preview…

Installation

Add the component directly to your repository using shadcn CLI:

npx shadcn@latest add Surajmaurya1/easyui/focus-mode

API Reference

PropTypeDefaultDescription
itemsFocusModeItem[][...]List of dashboard cards or sections
focusedIdstring | nullnullControlled focused card ID
onFocusChange(id: string | null) => voidundefinedCallback fired when focused element changes
dimOpacitynumber0.2Opacity applied to unfocused background cards

Related Components

Motion

Airport Matrix Clock

World time, one rolling matrix character at a time

Motion

Animated Number Morph

Independent column digit rolling physics for metrics and financial dashboards

Motion

Car Smoke Page Transition

Cinematic automotive page transition

Financials

Monthly Recurring Revenue

$148,290

+18.4% vs last month

Gross expansion revenue driven by 42 net-new enterprise team conversions this cycle.

Infrastructure

Edge API Throughput

42.8M req/s

99.998% uptime

Global Anycast network serving p99 latencies under 14ms across all regions.

Cache Hit96.4%
P99 TTFB12.1ms
Adoption

Active Developers

18,450

+2,100 this week

Weekly active engineers utilizing CLI component scaffolding across 140+ countries.

892 live deployment pipelines