A realistic 3D time picker interface with scrolling wheels for hours, minutes, and AM/PM, styled in dark mode with a 3D perspective skew.

3D Rotating iOS Time Picker

demo & code

This 3D Rotating iOS Time Picker recreates the tactile feel of native mobile controls on the web. It features three independently rotating wheels (Hours, Minutes, Meridiem) that snap into place with satisfying physics. The component leverages the cutting-edge Scroll-driven Animations API for buttery-smooth performance on supported browsers, while seamlessly falling back to GSAP for others. The 3D perspective creates a “drum” effect where numbers fade and rotate away as they leave the center view.

Level: Advanced
Browser Support:
Chrome 115+ Edge 115+ Safari 26+ Firefox (support via GSAP Fallback)
Dark themed button with a star icon and the text 'Generate', glowing blue on interaction and swapping text to 'Generating' on focus.

Animated Futuristic State Button

demo & code

This Animated Futuristic State Button is more than just a clickable element; it’s a self-contained micro-interaction. Designed for actions like “Generate” or “Processing,” it features a idle flicker animation that transitions into an intense, glowing state upon focus. The text cleverly swaps from a call-to-action to a continuous verb (“Generate” → “Generating”) using purely CSS animations, providing immediate visual feedback without JavaScript.

Level: Intermediate
Browser Support:
Chrome 80+ Edge 80+ Firefox 75+ Safari 13+
A UI background starting as white at the top with gray grid lines, fading into a vibrant teal-to-purple gradient at the bottom.

Fading Grid Gradient Background

demo & code

This Fading Grid Gradient Background creates a clean, architectural aesthetic suitable for SaaS landing pages or documentation sites. It features a technical vertical grid pattern that gently dissolves into a vibrant teal-and-purple gradient at the bottom. The effect mimics a “horizon” line, adding depth and structure to an otherwise flat page without using any images.

Level: Beginner
Browser Support:
Chrome 80+ Edge 80+ Firefox 53+ Safari 15.4+
A moving floral background visible through a glass-like container that distorts the image with a liquid ripple effect.

Liquid Glass Effect

demo & code

This snippet recreates the sophisticated “liquid glass” aesthetic often seen in high-end operating system interfaces like macOS. Unlike standard glassmorphism which just blurs the background, this effect adds a realistic, fluid distortion to the glass surface. This is achieved purely through CSS and SVG filters, making it lightweight and performant compared to WebGL alternatives.

Level: Intermediate
Browser Support:
Chrome 50+ Edge 79+ Firefox 35+ (No distortion) Safari 9+
Interactive gold star rating UI with 5 stars where the selection is handled purely by the CSS :has selector, showing a smooth scale effect on the active star.

Modern CSS Star Rating Component

demo & code

This Modern CSS Star Rating Component represents a major shift in UI development, moving complex logic from JavaScript to pure CSS. It utilizes the powerful :has() selector to track sibling states, allowing the UI to highlight stars both before and after the interaction point. The stars themselves are created using clip-path instead of bulky SVG icons, resulting in a lightweight, scalable, and highly performant rating system.

Level: Intermediate
Browser Support:
Chrome 105+ Edge 105+ Firefox 121+ Safari 15.4+
Dark background with glowing 3D neon tubes in pink, green, and blue following the mouse cursor in a snake-like motion

Neon 3D Tubes Cursor Trail

demo & code

This Neon 3D Tubes Cursor Trail brings high-end motion graphics to the web browser. Using the power of WebGL and Three.js, it generates a serpentine trail of glowing 3D geometry that fluidly follows the user’s input. The effect features dynamic lighting that casts soft glows on the tubes, and it includes a built-in interaction where clicking the screen instantly randomizes the color palette, keeping the visual experience fresh.

Level: Beginner
Browser Support:
Chrome 80+ Edge 80+ Firefox 75+ Safari 13.1+
Dark UI with three radio button options. The selected option has a vibrant pink and blue neon circle drawn around it with an elastic, bouncy animation.

Neon Elastic Stroke Radio Button

demo & code

This Neon Elastic Stroke Radio Button reimagines the standard form input as a high-energy, futuristic interface element. When selected, two overlapping SVG circles (one pink, one blue) animate around the checkmark area with a satisfying elastic “bounce.” The effect mimics a neon light tube flickering on, enhanced by CSS drop-shadow filters and mix-blend-mode for a vibrant, glowing finish.

Level: Intermediate
Browser Support:
Chrome 50+ Edge 79+ Firefox 50+ Safari 10+
A grid of colorful Nike shoe product cards. On hover, the shoe image rotates and shifts right, while a vertical text label slides in from the left.

Nike Product Card Interaction

demo & code

This Nike Product Card Interaction is a dynamic UI component designed for e-commerce listings. It transforms a standard static product grid into an engaging experience. When a user hovers over a card, the product image rotates and shifts to make room for a vertical brand label that slides in from the side. This clever use of space allows for a clean initial view while revealing branding details on demand.

Level: Intermediate
Browser Support:
Chrome 57+ Edge 16+ Firefox 52+ Safari 10.1+
Equilateral triangular images with soft rounded corners achieved through CSS masking and trigonometric math, overlapping on a vibrant background.

Rounded Triangle CSS Image Mask

demo & code

This Rounded Triangle CSS Image Mask offers a mathematically perfect way to shape visuals into equilateral triangles with soft, professional edges. It is an ideal choice for high-end portfolio galleries, creative team sections, or landing pages where standard rectangular or circular crops feel too conventional. By leveraging modern CSS math, the shape remains perfectly symmetrical regardless of the image dimensions.

Level: Intermediate
Browser Support:
Chrome 105+ Edge 105+ Firefox 121+ Safari 15.4+
A responsive grid of cards featuring illustrations, where each card is slightly rotated and scaled, creating a scattered paper effect on a dark background.

Scroll-Driven Masonry Reveal

demo & code

This Scroll-Driven Masonry Reveal creates a playful, tactile experience where content cards appear to be “dealt” onto the screen as the user scrolls. By leveraging the native CSS Scroll-driven Animations API, it achieves smooth, main-thread-free entrance effects without a single line of JavaScript. The layout adapts intelligently from 2 to 8 columns, making it a robust solution for image galleries or blog archives.

Level: Intermediate
Browser Support:
Chrome 115+ Edge 115+ Safari 26+ Firefox (flag/polyfill)
Album playlist header morphing from a large cover into a sticky small bar using Scroll-driven View Transitions.

Scroll-Linked View Transition Header

demo & code

This Scroll-Linked View Transition Header demonstrates a cinematic UI pattern common in music apps like Spotify. It uses the View Transition API to morph a large album hero section into a compact, sticky navigation bar, but with a twist: the animation progress is scrubbed directly by the user’s scroll position rather than a fixed timer.

Level: Advanced
Browser Support:
Chrome 115+ Edge 115+ Safari 26+
A segmented control interface with a pill-shaped indicator moving between options like 128GB, 256GB, etc., demonstrating CSS anchor positioning and mask effects.

Smart CSS Anchored Selection Pills

demo & code

This Smart CSS Anchored Selection Pills component demonstrates the bleeding edge of CSS layout capabilities. It uses the new CSS Anchor Positioning API to tether a visual “pill” indicator to the currently selected radio button without JavaScript calculations for position. The demo includes a robust fallback system that calculates positions via ResizeObserver for browsers that don’t yet support anchors, ensuring a consistent experience across the board. It also features advanced masking techniques (SVG and CSS Filters) to create “knockout” text effects where the selected text changes color inversely to the pill background.

Level: Advanced
Browser Support:
Chrome 125+ Edge 125+ Safari 26+ Firefox 147+
Full-screen dark UI with a 4-column grid menu; hovering an item reveals a background image, clicking opens a detailed content panel with staggered animation

Expanding Split-Screen Grid Navigation

demo & code

This Expanding Split-Screen Grid Navigation transforms standard menu items into an immersive, interactive gallery experience. It organizes content into a responsive grid where hovering over an item reveals a contextual background image, and clicking expands the section into a full-screen detailed view. This component is ideal for portfolios, featured article selections, or high-end agency landing pages where visual storytelling is key.

Level: Intermediate
Browser Support:
Chrome 45+ Edge 15+ Firefox 35+ Safari 9+
Dark UI button with a metallic linear gradient shine that follows the cursor position, featuring radial glows on the edges.

Mouse-Tracking Linear Shine Button

demo & code

This Mouse-Tracking Linear Shine Button adds a high-end, tactile feel to your UI. Unlike standard hover effects that simply swap colors, this component tracks the user’s cursor position to drag a realistic light reflection across the button’s surface. Built with React and Tailwind CSS, it utilizes reactive CSS variables to control gradient positions, creating a dynamic lighting effect that feels physical and responsive.

Level: Intermediate
Browser Support:
Chrome 49+ Edge 79+ Firefox 32+ Safari 8+
Split-screen interface where the left column images slide and crossfade in sync with the scrolling right column, featuring progress indicators.

Scroll-Driven Image Swapper

demo & code

This Scroll-Driven Image Swapper demonstrates the bleeding edge of web animation. It uses the native CSS Scroll-driven Animations API to create a complex parallax-like effect where two columns of different heights scroll in sync. As you scroll, the images in the shorter column slide and crossfade to match the context of the taller column. Crucially, the code implements a Progressive Enhancement strategy: it checks for native browser support and falls back to GSAP ScrollTrigger for browsers that haven’t implemented the spec yet.

Level: Advanced
Browser Support:
Chrome 115+ Edge 115+. Firefox/Safari (via GSAP Polyfill)
Collection of four distinct progress bar styles: solid orange, purple gradient, diagonal stripes, and a neon bordered style, all displaying percentage values.

Semantic Custom Progress Bar Kit

demo & code

This Semantic Custom Progress Bar Kit offers a robust way to display data visualization using a “semantic-first” approach. Instead of writing empty div soup, you define your data using standard HTML5 <progress> tags. The accompanying JavaScript then “hydrates” these tags, converting them into four distinct, visually rich styles ranging from simple solids to complex gradients and striped patterns, perfect for dashboards or skill portfolios.

Level: Intermediate
Browser Support:
Chrome 60+ Edge 79+ Firefox 55+ Safari 11+
A collection of skeuomorphic toggle switches with wooden handles, detailed shadows, and varied designs (sliding, rocking, and pill-shaped) in 'ON' and 'OFF' states.

Skeuomorphic Wood Texture Toggles

demo & code

This collection of Skeuomorphic Wood Texture Toggles brings a tactile, nostalgic feel to digital interfaces. It showcases four distinct variations of toggle switches (sliding, dotted handle, separated track, and embedded text), all unified by a realistic wood grain texture and intricate lighting effects. The implementation demonstrates the power of modern CSS features like :has() to control complex state changes without a single line of JavaScript.

Level: Intermediate
Browser Support:
Chrome 105+ Edge 105+ Firefox 121+ Safari 15.4+
Dark UI button with a glowing, swirling animated background of blue, purple, and yellow smoke generated by code.

WebGL Fluid Smoke Button

demo & code

This WebGL Fluid Smoke Button elevates standard UI interactions by embedding a real-time generative shader directly into the interface. Instead of using a heavy video file, it calculates complex fluid dynamics on the fly using Fractional Brownian Motion (fBM). The result is a mesmerizing, never-repeating smoky background that reacts to hover states with a smooth scale and rotation effect, styled effortlessly via Tailwind CSS.

Level: Advanced
Browser Support:
Chrome 90+ Edge 90+ Firefox 90+ Safari 15+
Dark, glassmorphic circular knob with an intense orange inner glow, particle effects emitting from the bottom, and a digital value display in the center.

Cinematic Black Magic Volume Knob

demo & code

This Cinematic Black Magic Volume Knob pushes the boundaries of modern CSS, creating a tangible, high-fidelity control element. It combines a standard range input with advanced CSS Houdini features like @property and wide-gamut P3 colors. The result is a glowing, liquid-like interface where turning the dial triggers a cascade of particles and dynamic lighting effects, perfect for premium audio applications or dashboards.

Level: Advanced
Browser Support:
Chrome 118+ Edge 118+ Firefox 120+ Safari 17.4+ (Partial)
Holographic trading card with 3D tilt effect and iridescent gradients using CSS @property and mask-image for shimmering lines.

Holographic 3D Interactive Card

demo & code

This Holographic 3D Interactive Card is a premium UI component inspired by rare physical trading cards. It features a sophisticated depth effect where the logo floats independently from the iridescent background, reacting dynamically to mouse movements or touch input. The use of modern CSS APIs ensures high-performance rendering of complex gradients and masks, creating a truly immersive “collectible” feel for digital assets.

Level: Advanced
Browser Support:
Chrome 85+ Edge 85+ Safari 16.4+ Firefox 128+
Custom video player with a magnetic circular play button tracking the mouse cursor over a cream-colored interface.

Magnetic Video Play Button Concept

demo & code

The Magnetic Video Play Button Concept is an interactive UI element that replaces the standard video player controls with a creative, cursor-following play button. This implementation enhances user engagement by making the primary interaction point - the play toggle - dynamic and physically responsive to the user’s movement. It is perfect for landing pages and high-end portfolio sites where media content is the centerpiece.

Level: Intermediate
Browser Support:
Chrome 60+ Edge 79+ Firefox 60+ Safari 11+
Three colorful retro power buttons (Stand By, Turn Off, Restart) in yellow, red, and green with skeuomorphic bevels and animated SVG icons using CSS stroke animations.

Skeuomorphic Retro Power Buttons

demo & code

Skeuomorphic design meets modern web animation in these Windows XP-inspired power buttons. This component utilizes detailed CSS shadows to create a tactile 3D effect, paired with SVG path manipulation for playful micro-interactions upon interaction.

Level: Intermediate
Browser Support:
Chrome 80+ Edge 80+ Firefox 75+ Safari 13.1+
Full-screen red navigation menu revealing through four vertical staggered panels using CSS clip-path and GSAP.

Staggered Panel Curtain Menu

demo & code

The Staggered Panel Curtain Menu is a creative full-screen navigation concept that breaks the traditional “fade-in” mold. It uses a series of vertical panels that drop down at slightly different intervals, creating a sophisticated “curtain” reveal. This effect is achieved by combining the precision of GSAP with the flexibility of CSS clip-path and variable fonts, making it an ideal choice for high-end creative portfolios or modern agency websites.

Level: Intermediate
Browser Support:
Chrome 80+ Edge 80+ Firefox 75+ Safari 13.1+
Minimalist dark blue sticky header that shrinks and hides the center title text when scrolling down, powered by the Intersection Observer API.

Sticky Observer Navigation

demo & code

The Sticky Observer Navigation is a performance-first header component designed for modern landing pages. It uses an elegant dark-blue color palette with “Abril Fatface” typography to create a high-contrast, premium look. The navigation intelligently shrinks and hides the central title as the user scrolls, providing more screen real estate for content while maintaining essential link icons within a fixed bar.

Level: Intermediate
Browser Support:
Chrome 51+ Edge 15+ Firefox 55+ Safari 12.1+
Mobile app interface with a bottom navigation bar that tilts in 3D space when clicked, featuring animated SVG icons.

3D Tilt Mobile Navigation

demo & code

This 3D Tilt Mobile Navigation concept adds a tactile, physical feel to mobile app menus. Unlike standard flat navigations, this component utilizes CSS perspective to “tilt” the entire menu bar towards the user’s touch point, simulating a floating surface. It pairs this effect with delightful SVG icon micro-interactions and a “fly-out” card transition for the content area, creating a highly polished, app-like experience on the web.

Level: Intermediate
Browser Support:
Chrome 86+ Edge 86+ Firefox 85+ Safari 15.4+
Vintage green-tinted web gallery featuring an old portrait of Ernest Hemingway with a paper texture overlay and handwritten signature.

Atmospheric Split-View Gallery

demo & code

This Atmospheric Split-View Gallery creates an immersive, story-driven experience reminiscent of a digital scrapbook. It combines a full-screen horizontal slider with a “flip-card” mechanic to reveal hidden content. The visual style defines the component, utilizing CSS mix-blend-mode to fuse historical black-and-white photography with a grunge paper texture, creating a cohesive, vintage aesthetic.

Level: Intermediate
Browser Support:
Chrome 41+ Edge 79+ Firefox 32+ Safari 8+
Five distinct range slider designs arranged vertically: a red square thumb, a pill shape with a hollow center, a triangular pointer, and a circular button style

Geometric Custom Range Sliders

demo & code

These Geometric Custom Range Sliders push the boundaries of form styling by abandoning the standard “circle on a line” look. Created by CSS math wizard Ana Tudor, this set utilizes SCSS trigonometry to generate complex thumb shapes (like triangles and hollow pills) and CSS Mask Composition to carve out negative space. The result is a set of distinct, scalable inputs that rely on a single HTML <input> tag without any wrapper divs.

Level: Advanced
Browser Support:
Chrome 84+ Edge 84+ Firefox 70+ Safari 15.4+
Card component showing a city skyline; on hover, two dark panels slide in from the left covering the image, followed by neon text appearing letter by letter.

Split Staggered Reveal Cards

demo & code

This Split Staggered Reveal Card creates a dramatic, cinematic effect suitable for portfolios or featured content sections. Upon interaction, the background image recedes while two semi-transparent overlays slide in to create a high-contrast backdrop. Simultaneously, the title and description animate in with a precise staggered delay - letters for the title and words for the paragraph - powered by CSS variables.

Level: Intermediate
Browser Support:
Chrome 88+ Edge 88+ Firefox 87+ Safari 14+
Digital clock interface where time digits are enclosed in soft square blocks that bounce and roll when changing, shown in a blue and white theme

Bouncy Digital Block Clock

demo & code

This Bouncy Digital Block Clock transforms a standard time display into a playful, tactile UI element. It utilizes a split-digit technique where numbers “roll” into place while their container physically bounces, adding weight and character to every second that passes. The component is fully responsive, supports system dark mode automatically, and ensures accessibility via dynamic ARIA labels.

Level: Intermediate
Browser Support:
Chrome 60+ Edge 79+ Firefox 60+ Safari 12+
Interactive list where a clicked gray item expands into a large purple detailed card with a smooth animated transition of the avatar and text lines

GSAP Flip Layout Expansion

demo & code

This GSAP Flip Layout Expansion demonstrates how to animate complex layout changes that are usually impossible with pure CSS. By utilizing the FLIP (First, Last, Invert, Play) technique via GSAP, a list item transforms from a horizontal row into a vertical, detailed card. It smoothly handles the resizing of nested elements (like the avatar) and the repositioning of surrounding items without jumpy reflows.

Level: Intermediate
Browser Support:
Chrome 60+ Edge 79+ Firefox 60+ Safari 11+
Dark UI row of rounded buttons where 'Playlists' and 'Artists' are selected and visually fused into a single continuous capsule shape.

Merging Pill Filter Buttons

demo & code

This Merging Pill Filter Button set introduces a fluid, organic feel to standard multi-select inputs. Instead of keeping active items isolated, this component visually fuses adjacent selected buttons into a single continuous shape. It’s an excellent choice for music apps, filtering systems, or any UI where categories are related and grouping them visually adds context.

Level: Intermediate
Browser Support:
Chrome 60+ Edge 79+ Firefox 50+ Safari 10+
Dark UI card displaying a vibrant purple-yellow gradient on hover with staggered animated text elements.

Twitch Style Gradient Hover Card

demo & code

This Twitch Style Gradient Hover Card brings a high-energy interactive element to your UI, perfect for feature highlights or gaming profiles. It combines a sliding background gradient that utilizes responsive vmin units with a JavaScript-powered staggered text reveal. The result is a fluid animation where the background shifts dynamically while the subtitle types itself in word by word.

Level: Intermediate
Browser Support:
Chrome 88+ Edge 88+ Firefox 89+ Safari 15+
Dark themed card component displaying 'DevOps' text, tilting in 3D space with a technology-themed background image shifting in perspective.

3D Parallax Hover Card

demo & code

This 3D Parallax Hover Card creates a premium, tactile feel by mimicking physical depth on a flat screen. As the user moves their cursor over the card, it tilts along the X and Y axes to face the mouse, while the background image shifts in the opposite direction. This compound movement creates a convincing “window” effect, making the content appear to float above the background.

Level: Intermediate
Browser Support:
Chrome 80+ Edge 80+ Safari 13+ Firefox 75+
A pastel-colored web page displaying a grid of photos (plants, food, animals) with a filter bar at the top allowing users to select categories.

React Filterable Image Gallery

demo & code

This React Filterable Image Gallery is a clean, component-based solution for organizing visual content. Unlike simple “show/hide” scripts, it uses React’s state management to handle complex multi-criteria filtering. Users can toggle multiple categories (e.g., “Food” AND “Plants”) simultaneously, or reset everything with an “All” button. The UI is polished with pastel colors and smooth hover animations.

Level: Intermediate
Browser Support:
Chrome 80+ Edge 80+ Safari 13+ Firefox 75+
A digital photo of a serene landscape being physically torn in half from top to bottom, revealing another photo underneath, rendered in 3D.

Tearing Paper Photo Gallery

demo & code

This Tearing Paper Photo Gallery is a technical marvel that simulates the physical act of ripping a photograph in half. Unlike simple 2D masking effects, this component uses WebGL (Three.js) to deform the geometry in 3D space. As the user drags downward, the “paper” mesh splits, rotates, and tears along a procedural edge, complete with lighting and shadow effects generated by custom shaders.

Level: Advanced
Browser Support:
Chrome 90+ Edge 90+ Safari 15+ Firefox 90+
A 3D cube displaying photographs on its faces, with the side faces appearing darker due to a simulated lighting effect.

Draggable 3D Cube with Dynamic Lighting

demo & code

This Draggable 3D Cube goes beyond standard CSS 3D transforms by implementing a custom “lighting engine” using JavaScript. As the user drags to rotate the carousel, the opacity of each face is dynamically calculated based on its angle relative to the viewport. This creates a realistic shading effect - faces facing the viewer are bright and fully opaque, while those turning away fade into the background, enhancing the perception of depth without using WebGL.

Level: Intermediate
Browser Support:
Chrome 90+ Edge 90+ Safari 14+ Firefox 88+
A circular arrangement of landscape photographs floating in 3D space on a black background, with a vignette fading the edges.

Draggable 3D Parallax Image Ring

demo & code

This Draggable 3D Parallax Image Ring creates a high-end, immersive gallery experience often associated with WebGL, but built entirely with DOM elements and GSAP. It arranges images in a 3D circle that users can spin with a swipe or mouse drag. The standout feature is the calculated parallax effect: as the ring rotates, the background position of each image shifts in the opposite direction, creating a convincing illusion of depth and window-like transparency.

Level: Advanced
Browser Support:
Chrome 90+ Edge 90+ Safari 14+ Firefox 88+
A 3D cube floating in a dark space, with different scenic photographs mapped to each of its six faces, rotated slightly to show depth.

Interactive 3D Photo Cube

demo & code

This Interactive 3D Photo Cube creates a spatial navigation experience where a user explores six images mapped onto a cube by moving their cursor. Unlike standard sliders, it utilizes CSS 3D transforms orchestrated by GSAP to create a seamless, physics-like rotation. The snippet also features a “window-pane” parallax effect where the background images shift slightly inside their frames, adding an extra layer of depth.

Level: Intermediate
Browser Support:
Chrome 90+ Edge 90+ Safari 14+ Firefox 88+
Dark blue background with a series of animated vertical bars revealing the white text 'Álvaro Montoro' and 'CSS Aficionado'.

Staggered Bars Reveal Animation

demo & code

This Staggered Bars Reveal Animation creates a cinematic intro for landing pages using zero JavaScript. By orchestrating a single pseudo-element (::after) with complex linear-gradient backgrounds, the component simulates seven distinct bars sliding into place. The animation cleverly shifts the background-position of each gradient strip sequentially, creating a rhythmic “wipe” effect that culminates in the text appearing.

Level: Intermediate
Browser Support:
Chrome 100+ Edge 100+ Safari 14+ Firefox 90+
Abstract representation of an image breaking into particles, swirling around invisible centers in a fluid motion.

WebGL Voronoi Particle Transition

demo & code

This WebGL Voronoi Particle Transition is a cutting-edge visual effect that reimagines the standard image slider. Instead of manipulating DOM elements or simple textures, it converts images into a massive system of particles (one for every pixel). During transitions, these particles are subjected to a mathematical storm driven by Voronoi diagrams, creating a liquid, swirling distortion effect that feels organic and computational.

Level: Advanced
Browser Support:
Chrome 90+ Edge 90+ Safari 15+ Firefox 90+
Minimalist web page with the text 'TOKYO TOWER'. A circular area around the mouse cursor reveals a photograph of the tower and changes the text color to white.

Cursor-Tracking Spotlight Reveal Effect

demo & code

This Cursor-Tracking Spotlight Reveal Effect creates a sophisticated “x-ray” or “flashlight” interaction. Initially, the user sees plain text. As the mouse moves, a circular mask follows the cursor, revealing a hidden image underneath and simultaneously inverting the text color to white within the circle. This technique adds depth and playfulness to portfolio links or gallery items without disrupting the layout.

Level: Intermediate
Browser Support:
Chrome 88+ Edge 88+ Safari 14+ Firefox 86+
Minimalist form controls including checkbox, radio button, and toggle switch, featuring organic shapes and blue active states.

Elastic SVG Morphing Form Controls

demo & code

This Elastic SVG Morphing Form Controls set redefines standard UI elements by treating them as organic, malleable shapes. Instead of rigid CSS transitions, it utilizes GSAP’s MorphSVGPlugin to physically warp the vector paths of checkboxes, radio buttons, and switches during interaction. The result is a tactile, “gummy” feel where elements squish upon clicking and snap elastically into their active states.

Level: Advanced
Browser Support:
Chrome 80+ Edge 80+ Safari 13+ Firefox 75+
Blue and dark grey gradient card displaying a news headline, expanding vertically to show a list of items on a white patterned background.

Expandable News Card Widget

demo & code

This Expandable News Card Widget demonstrates a classic pattern for managing content density in UI design. By default, it presents a single “Headline” state to save screen space. Upon interaction, it smoothly transitions into an “Expanded” state, revealing a scrollable list of news items. It utilizes React state to handle the logic and CSS transitions for the visual effect.

Level: Beginner
Browser Support:
Chrome 100+ Edge 100+ Safari 14+ Firefox 90+
A neon blue SVG circle in the process of being 'unwrapped' into a flat horizontal line against a dark background.

GSAP SVG Circle Unwrapping Animation

demo & code

This GSAP SVG Circle Unwrapping Animation is a masterclass in visual sleight of hand. Instead of mathematically morphing a curved path into a straight line (which often results in distorted, unappealing stroke widths), this component creates a seamless illusion. It splits a circle into two halves and synchronizes their movement with a dynamically generated straight line, making it appear as though the circle is being physically unrolled or “unwrapped” like a ribbon.

Level: Advanced
Browser Support:
Chrome 80+ Edge 80+ Safari 13+ Firefox 75+
Minimalist geometric light bulb illustration with a hanging pull cord that triggers a background color change from white to dark blue.

Interactive CSS Light Bulb Toggle

demo & code

This Interactive CSS Light Bulb Toggle transforms a standard theme switch into a playful interaction. It creates a convincing illusion of a physical pull-cord using standard click events. Rather than using a complex physics engine, it relies on precise timing between mouse/touch events and CSS transforms to mimic the tension and release of a rope when the user clicks the button.

Level: Intermediate
Browser Support:
Chrome 80+ Edge 80+ Safari 13+ Firefox 70+
Clean bar chart interface showing product sales data with blue bars and a hovering tooltip displaying values.

Simple Alpine.js Bar Chart

demo & code

This Simple Alpine.js Bar Chart offers a minimalist alternative to heavyweight libraries like Chart.js or D3. By leveraging Alpine.js for reactivity and Tailwind CSS for styling, it renders a functional, interactive bar chart with a tiny footprint. It is ideal for dashboards where bundle size is a priority and complex charting features aren’t required.

Level: Intermediate
Browser Support:
Chrome 80+ Edge 80+ Safari 14+ Firefox 78+
Dark themed image gallery where one selected city night photo is enlarged and spans multiple grid cells, while others are neatly arranged around it.

Vue FLIP Image Gallery

demo & code

This Vue FLIP Image Gallery showcases a high-performance way to animate layout changes that are typically expensive for the browser. When a user selects an image, it expands to fill a larger portion of the grid, while surrounding items gracefully rearrange themselves. This is achieved not by simple CSS transitions, but by the FLIP technique (First, Last, Invert, Play), ensuring buttery smooth 60fps animations even during complex DOM reflows.

Level: Advanced
Browser Support:
Chrome 80+ Edge 80+ Safari 14+ Firefox 90+
Dark UI cards with angled bottom corners and a passing light beam effect on the border, demonstrating CSS corner-shape.

Beveled Corner Glow Cards

demo & code

This Beveled Corner Glow Card component demonstrates the bleeding edge of CSS UI styling. It primarily utilizes the new corner-shape property to create chamfered (angled) edges without complex clip-paths, while implementing a sophisticated CSS Mask fallback for older engines. The interaction features a “scanning” light beam effect on the border, powered by CSS Houdini for buttery smooth interpolation.

Level: Advanced
Browser Support:
Chrome 120+ Edge 120+ Firefox 120+ Safari 17+
Stylized night scene drawn in CSS, featuring yellow flowers blooming, green grass swaying, and translucent bubbles with red hearts floating upwards.

Blooming Night Garden Animation

demo & code

This Blooming Night Garden Animation is a delightful example of “CSS Art,” where HTML elements are shaped into complex illustrations using code. It features a complete scene with a textured night sky, procedurally blooming flowers, swaying grass, and a particle system of floating hearts, all brought to life through choreographed CSS keyframes.

Level: Intermediate
Browser Support:
Chrome 100+ Edge 100+ Safari 14+ Firefox 90+
Dark themed UI with glassmorphism panels displaying vibrant color swatches, sliders for HSL adjustment, and accessibility contrast badges.

Glassmorphic HSL Color Palette Generator

demo & code

This Glassmorphic HSL Color Palette Generator is a production-grade design tool that combines advanced color theory logic with a modern, translucent UI. Unlike simple randomizers, it uses HSL (Hue, Saturation, Lightness) mathematics to generate mathematically harmonious schemes (Analogous, Triadic, Split-Complementary) while simultaneously calculating WCAG accessibility ratios in real-time.

Level: Advanced
Browser Support:
Chrome 111+ Edge 111+ Safari 16.2+ Firefox 113+