Imperator Design
The library

Techniques, not templates

Every trick recreated from the source video as a live, self-contained demo. Search, filter, open, steal.

01 / 12

Radio Button Card Selection

This UI trick allows an entire card to act as a clickable target for a radio button, improving usability. It hides the native radio input and styles the card based on the `:checked` state of the input, all with pure HTML and CSS.

uxcssaccessibilityformradiolabel
02 / 12

Pure CSS Floating Label

An input field with a label that initially acts as the placeholder. When the field is focused or text is entered, the label smoothly floats up and shrinks, providing persistent context without JavaScript.

animationuxcssaccessibilityformstransition
03 / 12

Animated Toast Notifications

A refined toast notification system featuring CSS-driven slide-in and slide-out animations, neat vertical stacking using flexbox, and an auto-dismiss progress bar with different visual states for success, info, and error messages.

animationuxcssflexboxnotificationskeyframe
04 / 12

Enlarged Tap Targets for Small Elements

This UI trick demonstrates how to create comfortably large tap targets for small buttons or icons, enhancing mobile usability and accessibility. By using `min-width`, `min-height`, and padding, the interactive area is expanded without visually scaling up the contained element.

uxcssaccessibilityresponsivenessbuttonsmobile
05 / 12

Silky Edge Fades

Applies a smooth gradient mask to the top and bottom edges of a scrollable container, making content appear to melt into the background instead of ending abruptly. This creates a more polished and continuous user experience.

uxcssscrollgradientmasksmooth-transition
06 / 12

Native-Feeling Modal Dialog with Backdrop Blur and Scale-in

This UI trick demonstrates how to create a modal dialog that feels native by combining a dimmed and blurred backdrop with a subtle scale-in and fade-in animation, making the dialog appear with depth and focus.

animationuxcsstransitiondialogbackdrop-filtermodal
07 / 12

User-Aware Form Validation Styling

This UI trick demonstrates how to use CSS `:user-invalid` and `:user-valid` pseudo-classes to provide polite form validation. Error or success states are only shown after a user interacts with an input field and blurs it, preventing accusatory messages on page load for empty, required fields.

animationuxcssformsvalidationpseudo-class
08 / 12

Staggered List Fade-in Animation

This effect makes a list of items appear one after another with a slight delay and a subtle lift, giving the perception of a lighter, more fluid loading experience compared to an abrupt, simultaneous appearance.

animationuxcssstaggeredlistfade-in
09 / 12

Multi-step Form with Progress Indicator

A multi-step form that guides users through a checkout process with a clear visual progress indicator, enhancing perceived trust and reducing cognitive load.

animationuxformprogressmulti-stepcheckout
10 / 12

Inline Form Validation & Layout

A signup form demonstrating real-time inline validation feedback for email and password fields, coupled with clear, helpful error messages and a user-friendly single-column layout. The form highlights correct inputs with a green check and invalid ones with a red error icon and specific instructions.

uxlayoutformjavascriptfeedbackvalidationinline
11 / 12

Blur-up Image Loading

Improve perceived load times by displaying a blurred, low-resolution image first, then transitioning smoothly to the sharp, high-resolution version. This keeps content present on screen, preventing a 'broken' blank state.

animationuxtransitionblurperceived performanceimage loading
12 / 12

Keyboard-Navigable Search Command Palette

A search input that dynamically reveals a list of filtered results as the user types. Results can be navigated using arrow keys and selected with Enter, or by clicking/hovering with the mouse.

uxinputdropdowncommand palettesearchkeyboard navigation