How to build an Apple-inspired liquid glass effect in React
Tutorials ·
See how LiquidGlassCard layers SVG displacement, backdrop blur and edge light. Tune the effect in a live React example.
UI Layouts / Blog
Practical tutorials, design engineering and website block guides. Learn the techniques behind our components, then explore the source.
86 articles
Tutorials ·
See how LiquidGlassCard layers SVG displacement, backdrop blur and edge light. Tune the effect in a live React example.
Tutorials ·
A typical minimize animation only scales a rectangle.
Tutorials ·
A hard blur boundary can look like a separate strip pasted on an image.
Tutorials ·
An image reveal should feel like an image being uncovered, rather than an image moving into a changing box.
Tutorials ·
Animated tabs are useful when the selected state needs to be easy to track across nearby controls.
Tutorials ·
A dual-range slider represents two values, such as a price or temperature interval.
Tutorials ·
A spotlight card draws attention to the area under a pointer without replacing the normal card hierarchy.
Tutorials ·
An image trail can make a portfolio landing page feel tactile, but spawning an image on every pointer event quickly becomes noisy and costly.
Tutorials ·
Accordions trade vertical space for progressive disclosure.
Tutorials ·
A good upload control gives immediate feedback without hiding the ordinary file picker.

UI Blocks ·
A SaaS hero should explain what the product does before showing off how it looks.

UI Blocks ·
A bento feature grid creates a hierarchy among capabilities without forcing every card to have the same weight.

UI Blocks ·
An about section is an opportunity to explain why the organization exists and how it works, rather than repeat the hero headline.

UI Blocks ·
A team section introduces people who are accountable for the work.

UI Blocks ·
A stats section communicates evidence, not decoration.

UI Blocks ·
A testimonial should help a reader understand a real customer experience.

UI Blocks ·
A portfolio experience section is more useful when it explains the scope and impact of each role, rather than acting as a timeline of logos.

UI Blocks ·
A pricing block should make the cost and limitations of each plan easy to compare.

UI Blocks ·
An FAQ section answers questions that would otherwise interrupt a user's decision.

UI Blocks ·
A footer is a second navigation opportunity after the main content.
Design & Engineering ·
When an inset surface follows the contour of its outer shell, choosing independent corner radii can create a visibly uneven gap.

Guides & Collections ·
A landing page is a sequence of questions a visitor needs answered.
Tutorials ·
A folding device mockup makes a product screenshot part of the interaction instead of a flat image.
Tutorials ·
Rearrange dashboard widgets without implementing a collision engine from scratch.
Tutorials ·
A dialog focuses attention on one decision without losing the context of the page behind it.
Tutorials ·
A color picker needs to synchronize its visual selection and the value an application actually saves.
Tutorials ·
An animated button should clarify its affordance rather than disguise its label.
Tutorials ·
Noise breaks up flat color and gradient banding without competing with foreground content.
Tutorials ·
A globe can communicate geographic presence without loading a complete mapping interface.
Tutorials ·
An animated footer gives a page a memorable ending without interrupting the main navigation.
Tutorials ·
A sponsorship button gives readers a clear way to support an independent project.
Tutorials ·
Draggable cards add direct manipulation to an otherwise static canvas.

Tutorials ·
A water ripple makes an image react to the pointer through a displacement field rather than moving the whole image.

Tutorials ·
An organic blob adds a sculptural visual to a hero without needing a video file.

Tutorials ·
Mesh gradients create soft color transitions that feel less linear than a two-stop CSS gradient.
Tutorials ·
A rolling number transition helps people notice a changing value without losing its meaning.
Tutorials ·
A liquid gradient border creates a flowing color highlight around a button; it is the effect behind UI Layouts' GitHub-style button, distinct from our Liquid Glass material.
Tutorials ·
Password feedback should help users choose a strong password without collecting unnecessary personal information.
Tutorials ·
A tags input turns free text into a manageable list of chips for topics, skills or labels.
Tutorials ·
International phone inputs need to accommodate different country formats without assuming every number has the same length.
Tutorials ·
A date-time picker makes scheduling easier when its time-zone assumptions are explicit.
Tutorials ·
A searchable multi-select helps users choose several values from a long list without losing context.
Tutorials ·
Clipping lets a rectangular image occupy a custom silhouette without exporting a different raster for every breakpoint.
Tutorials ·
An image mask controls visibility through alpha or luminance rather than just defining a hard geometric edge.
Tutorials ·
A video mask lets motion fill a shape or lettering instead of a conventional rectangular player.
Tutorials ·
A card can reveal a secondary visual on hover while its main message remains stable.
Tutorials ·
A product card should let customers compare items before they visit a detail page.
Tutorials ·
A timeline makes an ordered process easier to understand when its animation follows the content sequence.
Tutorials ·
Scroll reveals help a page introduce content gradually, but must not delay reading or navigation.
Tutorials ·
Reveal text as it enters the viewport with Motion’s whileInView, direction variants, and optional letter staggering.
Tutorials ·
A velocity-reactive marquee speeds up and can change direction as the visitor scrolls.
Tutorials ·
A text scramble briefly replaces characters before resolving into a stable phrase.
Tutorials ·
A progressive carousel communicates which item is active and how far an automatic transition has progressed.
Tutorials ·
An interactive grid of blocks can turn a quiet background into a subtle pointer-driven texture.
Tutorials ·
Animated beams can explain how a product connects to other tools without drawing a separate video.
Tutorials ·
A media lightbox gives an image or video room to be viewed without navigating away.
Tutorials ·
An expanding card creates a continuous transition from a compact item to a detailed view.
Tutorials ·
A gallery lightbox gives readers a closer look at a photograph while preserving their position in the collection.
Tutorials ·
A desktop dialog and a mobile bottom sheet can present the same task in forms that suit each viewport.
Tutorials ·
A directional drawer can reveal navigation or contextual content from the edge that best fits the layout.
Tutorials ·
A motion drawer lets a navigation or settings panel enter from the edge while preserving page context.
Tutorials ·
A responsive header keeps the same navigation destinations available as space changes.
Tutorials ·
A horizontal gallery can present a sequence of wide images while preserving a natural vertical page flow.
Tutorials ·
Stacking cards create a layered story as the next section approaches the previous one.
Tutorials ·
Smooth scrolling interpolates movement between input events and the displayed scroll position.
Tutorials ·
Sticky storytelling keeps one visual in view while accompanying explanations advance.
Tutorials ·
Image tabs let visitors compare product workflows without leaving the section.
Tutorials ·
Dock magnification emphasizes the item closest to a pointer while nearby icons respond more subtly.
Tutorials ·
A particle field can add depth to a decorative area without taking over the entire page.
Tutorials ·
A sparkling heading draws attention to a short phrase without requiring the letters themselves to move.
Tutorials ·
Embla provides carousel mechanics while your interface supplies the slide layout and navigation.
Tutorials ·
A Motion-powered carousel gives you control over transitions, drag and visual emphasis.
Tutorials ·
An FAQ accordion makes a long answer list easier to scan, as long as the questions remain discoverable.
Tutorials ·
An image accordion expands the selected panel while neighboring images remain as context.
Tutorials ·
A responsive grid lets content determine the hierarchy without requiring separate desktop and mobile markup.
Tutorials ·
Masonry organizes images of different heights into a balanced collection without forcing identical aspect ratios.
Tutorials ·
A continuous marquee uses a repeating strip of content to avoid an obvious jump at the loop boundary.
Tutorials ·
A brand logo strip communicates customer or partner relationships without taking much vertical space.
Tutorials ·
A shimmer loader communicates ongoing work without claiming more progress than the application knows.
Tutorials ·
A typewriter effect reveals short text progressively while the final phrase stays stable.
Tutorials ·
A terminal-style intro combines status messages and typing to tell a short technical story.
Tutorials ·
A code block should preserve exact source text while making its structure easier to read.
Tutorials ·
A file tree viewer helps documentation readers understand where multiple code snippets belong.
Tutorials ·
MDX can render interactive code examples alongside prose, which makes it useful for component installation guides.
Tutorials ·
Code tabs let documentation show equivalent JavaScript, TypeScript or configuration examples without duplicating the entire page.
Tutorials ·
Gradient borders make a card or control stand out without filling the entire surface with color.