Add a stacking cards effect (also called a sticky card stack) to the cards in [the section I point to]. Behaviour: every card uses position: sticky with a top offset that grows a little per card (for example 8vh + 16px per card), so the top edges of earlier cards stay visible like a pile. While the next card slides over the current one, scale the covered card down to about 0.92 and dim it slightly, based on how far the next card has travelled. Use a passive scroll listener with requestAnimationFrame, no library. Details: the cards need their own solid background so each new card stands out against the one below it. transform-origin at the top centre, no layout shift, the last card never shrinks. Respect prefers-reduced-motion: keep the sticky stack but drop the scale and dim. It must work on mobile from 360px wide. Style: build it in the existing design system of this website. Reuse its colours, fonts, spacing, corner radius and existing classes or components, and don't add new colours or fonts. Use real content from this website for any text or images in the effect (its headings, services and copy), never placeholder text. If the project has no design system yet, ask me for the brand colours and fonts before you start.
Name the effect. Copy the prompt.
The effects that make a design feel crafted instead of generated. See each one live, learn what it is called, and copy a prompt that describes it to your AI.
-
ScrollPrompt
-
ScrollPrompt
Add a scroll-scrubbed video effect to [the section I point to]: the video plays forward and backward with the scroll, like on Apple product pages. Behaviour: the section becomes a tall wrapper with a sticky inner panel of 100vh, and the video fills that panel with object-fit: cover. Map the scroll progress through the wrapper (0 to 1) to video.currentTime. Smooth it by easing the current time toward the target every animation frame, and skip a frame while the video is still seeking, so it never stutters. The video is muted, paused, playsinline and preload metadata, and only loads when the section comes near the viewport. Any captions in the section fade in during their own part of the scroll and stay readable on top of the video. Video file: for smooth scrubbing it needs a keyframe on every frame or every few frames (for example ffmpeg with -g 1 or -g 5). Keep it short and under 5 MB. Accessibility: with prefers-reduced-motion, show a poster image and the captions as a normal list instead. Style: build it in the existing design system of this website. Reuse its colours, fonts, spacing, corner radius and existing classes or components, and don't add new colours or fonts. Use real content from this website for any text or images in the effect (its headings, services and copy), never placeholder text. If the project has no design system yet, ask me for the brand colours and fonts before you start.
-
ScrollPrompt
Add a scroll progress timeline effect to [the list of steps I point to]: a vertical line that fills in as you scroll, and every step lights up when the line reaches it. Visual: a thin vertical track runs next to the steps, with a marker per step. On top of the track: a fill line, with a dot at the end of the fill. Behaviour: the dot always sits at the vertical middle of the screen while you scroll through the list, and the fill grows from the top of the track down to that dot. Clamp it so it never goes past the start or end of the track. Every step whose marker has passed the middle of the screen becomes active: its marker and text switch from the inactive to the active state, with a short transition. Use plain JavaScript with requestAnimationFrame on scroll, no library. On mobile (from 360px) the track stays on the left and the text wraps. Respect prefers-reduced-motion by removing the transitions. Style: build it in the existing design system of this website. Reuse its colours, fonts, spacing, corner radius and existing classes or components, and don't add new colours or fonts. Use real content from this website for any text or images in the effect (its headings, services and copy), never placeholder text. If the project has no design system yet, ask me for the brand colours and fonts before you start.
-
ScrollPrompt
Add a word-by-word scroll highlight to [the statement I point to]: the text lights up word by word as you scroll through it. Behaviour: the section gets extra height (about 200vh) with a sticky inner area of 100vh that holds the statement. Split the text into words with JavaScript and wrap each word in a span. Keep the full sentence readable for search engines and screen readers (put it in an aria-label on the container and hide the spans with aria-hidden). Every word starts at about 15% opacity. The reveal is scrubbed by the scroll: it starts as soon as the statement comes into view (section top at about 75% of the viewport) and finishes just before the section unpins. Map that scroll range to the number of lit words, so the words go to full opacity one by one in reading order, and run backwards when scrolling up. The word that is being lit gets a partial opacity, so it feels smooth instead of stepping. No library. Respect prefers-reduced-motion by showing the whole text at full opacity. Style: build it in the existing design system of this website. Reuse its colours, fonts, spacing, corner radius and existing classes or components, and don't add new colours or fonts. Use real content from this website for any text or images in the effect (its headings, services and copy), never placeholder text. If the project has no design system yet, ask me for the brand colours and fonts before you start.
-
ScrollPrompt
Add a sticky footer reveal to this website (at the end of the page the content lifts off and uncovers a fixed footer underneath, also called a curtain footer). Behaviour: the main content sits in a wrapper with a solid background, position relative and z-index 1. The footer gets position: fixed at the bottom of the viewport with z-index 0. Give the main wrapper a margin-bottom equal to the footer height (measure it with JavaScript on load and on resize), so at the end of the page the content slides up and reveals the footer behind it. Add a subtle parallax: while it is uncovered, the footer content moves up about 60px and fades from 30% to full opacity. Details: if the footer is taller than the screen (often on mobile), switch to a normal static footer. Keep the footer links reachable by keyboard and never hidden behind the content. Respect prefers-reduced-motion by dropping the parallax. Style: build it in the existing design system of this website. Reuse its colours, fonts, spacing, corner radius and existing classes or components, and don't add new colours or fonts. Use real content from this website for any text or images in the effect (its headings, services and copy), never placeholder text. If the project has no design system yet, ask me for the brand colours and fonts before you start.
-
ScrollPrompt
Add a sticky overlap reveal to [the sections I point to]: each full-screen panel pins in place while the next one slides over it like a new layer. Behaviour: every panel is position: sticky with top 0 and the full viewport height, so it stays put while the next panel scrolls up over it. While a panel is being covered, scale its content down to about 0.94, move its text up slightly and darken it with an overlay to about 55%, all based on how far the next panel has travelled. Use a passive scroll listener with requestAnimationFrame, no library. Images: object-fit: cover inside a fixed frame, so any image works, and keep the text readable on top of them. Works from 360px. Respect prefers-reduced-motion by keeping the pinning but removing the scale and movement. Style: build it in the existing design system of this website. Reuse its colours, fonts, spacing, corner radius and existing classes or components, and don't add new colours or fonts. Use real content from this website for any text or images in the effect (its headings, services and copy), never placeholder text. If the project has no design system yet, ask me for the brand colours and fonts before you start.
-
InteractivePrompt
Add an auto-hide behaviour to the header of this website (a smart header that hides when you scroll down and comes back when you scroll up, also called a headroom header). Behaviour, two separate states: 1. Tint: once the page has scrolled more than about 40px, give the header a background, so the content scrolling underneath does not show through. Remove it again at the top. 2. Direction: when the visitor scrolls down more than a small threshold (about 10px of travel), slide the header up out of view with transform: translateY(-100%). As soon as they scroll up, slide it back in. Never hide it in the first 100px of the page or while the mobile menu is open, and show it again when an element inside it gets keyboard focus. Use a passive scroll listener with requestAnimationFrame and a 300ms ease transition. If there is a WordPress admin bar, offset the header with top: var(--wp-admin--admin-bar--height, 0px). Respect prefers-reduced-motion by removing the slide transition. Style: build it in the existing design system of this website. Reuse its colours, fonts, spacing, corner radius and existing classes or components, and don't add new colours or fonts. Use real content from this website for any text or images in the effect (its headings, services and copy), never placeholder text. If the project has no design system yet, ask me for the brand colours and fonts before you start.
-
BackgroundsPrompt
Add an interactive shader background to [the section I point to] (a live WebGL background that reacts to the mouse). Visual: soft concentric ring bands that rotate slowly, based on [a shape from my logo or brand]. Only use colours from my palette. Add a slow wave warp so the shape feels alive. Interaction: around the mouse pointer, push the field away in a soft bubble (displace the coordinates radially with a smooth falloff), easing the pointer position so it trails a little. Without a pointer (touch devices), let a virtual pointer wander slowly. Tech: one full-screen fragment shader in plain WebGL (no three.js needed) on a canvas behind the content. Cap the device pixel ratio at 1.5 and the frame rate at 30fps, and pause when the section is off screen or the tab is hidden. Keep the text on top readable. Fallback: a static CSS gradient when WebGL is not available, and a single still frame with prefers-reduced-motion. Style: build it in the existing design system of this website. Reuse its colours, fonts, spacing, corner radius and existing classes or components, and don't add new colours or fonts. Use real content from this website for any text or images in the effect (its headings, services and copy), never placeholder text. If the project has no design system yet, ask me for the brand colours and fonts before you start.
-
BackgroundsPrompt
Add a light rays background to [the section I point to] (soft volumetric light shafts falling into a dark section, also called god rays). Visual: a light source just above the top edge of the section, a bit off centre. From it, soft rays fan downwards, each with its own width and brightness, feathered edges and a long falloff toward the bottom. Only use colours from my palette, fading into the section background. Add faint dust particles that drift slowly inside the brightest rays. Behaviour: the rays never jump around. Only their brightness breathes slowly, each ray on its own rhythm. The mouse bends the ray field a little, like a lens: shift the light source a few percent toward the pointer, eased. Tech: one fragment shader in plain WebGL on a canvas behind the content (angle from the source, a sum of soft bands per ray, multiplied by a radial falloff). Cap the device pixel ratio at 1.5 and the frame rate at 30fps, and pause off screen. Keep the text on top high in contrast. Fallback: a static radial gradient without WebGL, and one still frame with prefers-reduced-motion. Style: build it in the existing design system of this website. Reuse its colours, fonts, spacing, corner radius and existing classes or components, and don't add new colours or fonts. Use real content from this website for any text or images in the effect (its headings, services and copy), never placeholder text. If the project has no design system yet, ask me for the brand colours and fonts before you start.
-
3D and motionPrompt
Replace the icons in [the section I point to] with 3D icon illustrations: tiny looping 3D scenes made with three.js, one per item. Scenes: for every item, design a small object that fits its meaning, built from simple geometry (cylinders, cones, tori, boxes) and tilted a little toward the viewer, with one calm looping motion. For example: a light bulb that switches on, a chat bubble with three typing dots, a padlock that clicks shut. Look: one shared soft studio light (hemisphere light plus one directional light) and only colours from my palette. Transparent canvas background so the scenes sit on the section colour. The headings and text stay in HTML. Behaviour: every scene loops calmly, no fast spins. The objects turn a few degrees toward the mouse. Render all scenes with one renderer and canvas (browsers limit the number of WebGL contexts), only animate while visible, cap the device pixel ratio at 2. With prefers-reduced-motion, show one still frame. Style: build it in the existing design system of this website. Reuse its colours, fonts, spacing, corner radius and existing classes or components, and don't add new colours or fonts. Use real content from this website for any text or images in the effect (its headings, services and copy), never placeholder text. If the project has no design system yet, ask me for the brand colours and fonts before you start.
-
3D and motionPrompt
Turn [the numbers or data I point to] into a 3D infographic with three.js: a small 3D chart that builds itself when it comes into view and shows the details when you point at it. Scene: one bar (or column) per data point on a thin base plate, built from boxes, with soft studio lighting, a light environment map for subtle reflections and soft shadows on the plate. Only use colours from my palette, with the highest value highlighted. The camera looks at the chart from a slightly raised three-quarter angle. Behaviour: when the chart comes into view, the bars grow from zero to their value one after another with a soft ease-out. Pointing at a bar (raycaster) lifts it a little, highlights it and shows its label and value in an HTML tooltip that follows the bar (project the top of the bar to screen coordinates every frame). The whole chart turns a few degrees with the mouse. The labels and values stay in HTML (also as a hidden table for screen readers), never baked into the 3D. Only render while visible, cap the device pixel ratio at 2. With prefers-reduced-motion, show the finished chart without growing. Style: build it in the existing design system of this website. Reuse its colours, fonts, spacing, corner radius and existing classes or components, and don't add new colours or fonts. Use real content from this website for any text or images in the effect (its headings, services and copy), never placeholder text. If the project has no design system yet, ask me for the brand colours and fonts before you start.
-
3D and motionPrompt
Turn [the card, ticket or pass I point to] into a spinning 3D card with three.js: it slowly turns, and visitors can grab and spin it to see the back. Object: a thin card with the real outline of the object (for example rounded corners, or the side notches of a ticket), made from a Shape and extruded with a small bevel. The front and back faces get two textures drawn on a canvas at a high resolution (at least 2x the size on screen), with the real content in my fonts. Map the textures with UVs calculated from the shape, so any outline works. Redraw the textures once the web fonts are loaded. Behaviour: by itself the card turns slowly around its vertical axis and floats a little. Dragging rotates it (horizontal drag turns it, with inertia after release). A click without dragging pauses it: the card eases to the nearest face (front or back) so it can be read; another click starts it again. Soft studio lighting with a light environment map for a subtle sheen, a soft contact shadow below. Cap the device pixel ratio at 2, only render while visible. With prefers-reduced-motion, show the front, still. Style: build it in the existing design system of this website. Reuse its colours, fonts, spacing, corner radius and existing classes or components, and don't add new colours or fonts. Use real content from this website for any text or images in the effect (its headings, services and copy), never placeholder text. If the project has no design system yet, ask me for the brand colours and fonts before you start.
-
3D and motionPrompt
Turn [the cards I point to] into a 3D carousel ring with CSS 3D transforms (no WebGL needed): the cards stand in a circle that slowly turns. Layout: place the cards on a ring with transform: rotateY(angle) translateZ(radius). Calculate the radius from the card width and the number of cards so they don't overlap. The stage has perspective (around 1200px) and the ring is tilted slightly so you look at it from a bit above. Behaviour: the ring turns slowly by itself and pauses while the mouse is over it. Visitors can drag it horizontally (with a little inertia after release), and two arrow buttons step one card forward or back with a smooth ease. Cards on the far side fade and blur a little based on their angle, so the front card is clearly in focus. Clicking the front card opens its link. Accessibility: arrow buttons and cards work with the keyboard, the cards stay a normal list in the HTML. With prefers-reduced-motion: no auto rotation, the arrows jump without animation. On small screens, use a smaller radius. Style: build it in the existing design system of this website. Reuse its colours, fonts, spacing, corner radius and existing classes or components, and don't add new colours or fonts. Use real content from this website for any text or images in the effect (its headings, services and copy), never placeholder text. If the project has no design system yet, ask me for the brand colours and fonts before you start.
-
3D and motionPrompt
Add a rotating text badge to [the place I point to] (a round seal with text running around a circle that slowly turns). Markup: an inline SVG with a circle path and a <textPath> that follows it. The text is short and repeated to fill the full circle exactly. Calculate the letter spacing or font size so the end meets the start without a gap or overlap. In the middle sits a still centre with a simple icon or a short number. Behaviour: the text ring rotates slowly with a CSS animation (around 20 seconds per turn, linear, infinite) while the centre stays still. On hover the rotation speeds up a little and eases back afterwards (use the Web Animations API playbackRate for a smooth change). Accessibility: the SVG text is aria-hidden and the badge has a real label for screen readers. Make the text come from editable content, not hard-coded in the SVG. With prefers-reduced-motion, it does not rotate. Style: build it in the existing design system of this website. Reuse its colours, fonts, spacing, corner radius and existing classes or components, and don't add new colours or fonts. Use real content from this website for any text or images in the effect (its headings, services and copy), never placeholder text. If the project has no design system yet, ask me for the brand colours and fonts before you start.
-
3D and motionPrompt
Add a text scramble reveal to [the heading I point to] (letters churn through random characters and lock into place one by one, like a word being decoded). Behaviour: when the heading comes into view, every letter starts as a random character. From left to right, each slot keeps changing to another random character a few times, then locks to its real letter with a small stagger (about 40 to 60ms per letter, the whole heading in under a second and a half). Use random characters of roughly the same width as the final letter, so the text does not jump around or change its number of lines while it decodes. While decoding, the unlocked characters are shown at lower opacity, locked ones at full opacity. When everything is locked, a text cursor blinks twice at the end and disappears. Tech: plain JavaScript and requestAnimationFrame, no library. Keep the real text in the HTML and set aria-label, so screen readers and search engines read the final words, not the noise. Reserve the width so nothing shifts. Run it once per page view. With prefers-reduced-motion, show the final text immediately. Style: build it in the existing design system of this website. Reuse its colours, fonts, spacing, corner radius and existing classes or components, and don't add new colours or fonts. Use real content from this website for any text or images in the effect (its headings, services and copy), never placeholder text. If the project has no design system yet, ask me for the brand colours and fonts before you start.
-
3D and motionPrompt
Add a fly-through words background to [the section I point to]: words and small points of light fly toward the viewer through a calm space scene. Words: take them from this website itself. Read the real topics, services or benefits from the site's pages and headings and use short ones (one or two words each). Never make up placeholder words. Visual: a 2D canvas behind the content. The background looks like space with depth: a base colour, two or three large, soft glows (radial gradients) and a field of tiny static stars, only in colours from my palette, all drawn once to an offscreen canvas and shifted slightly with the mouse for parallax. On top, small points and the words are placed at random positions in 3D space in front of the camera. Every frame they move closer; project them to the screen with a simple perspective divide (screen = centre + position / depth * focal length). Size and opacity grow as they come closer, points leave short streaks. Words use my heading font. When something passes the camera it respawns far away. Behaviour: a calm base speed. The vanishing point follows the mouse a little (eased). Keep it light: no WebGL, no images, device pixel ratio capped at 2, pause when off screen. Put the headline in HTML on top and keep it readable. With prefers-reduced-motion, show a still frame. Style: build it in the existing design system of this website. Reuse its colours, fonts, spacing, corner radius and existing classes or components, and don't add new colours or fonts. Use real content from this website for any text or images in the effect (its headings, services and copy), never placeholder text. If the project has no design system yet, ask me for the brand colours and fonts before you start.
-
InteractivePrompt
Build a 3D product configurator with three.js for [the product I describe]: visitors change the product with sliders and swatches, see it update live in 3D, and get a price and a pre-filled quote request. Controls: a slider for every dimension (each showing its value with the unit), colour or material swatches, a live price and a Request a quote button. Use the options and price rules I give you. 3D: build the product from code where possible (for example a LatheGeometry from a profile of points for round products, extruded shapes for flat ones). When a slider moves, tween the values over about 300ms and rebuild the geometry, so it grows and shrinks smoothly instead of jumping. Soft studio light, a soft contact shadow under the product, the product turns slowly and can be dragged to rotate. Logic: the price is calculated with one clear formula in one place. Request a quote opens my existing quote form with the configuration filled into a hidden field and shown as a readable summary. Accessibility: real range inputs with labels, the price in an aria-live region. With prefers-reduced-motion: no auto rotation and no tweening. Cap the device pixel ratio at 2. Style: build it in the existing design system of this website. Reuse its colours, fonts, spacing, corner radius and existing classes or components, and don't add new colours or fonts. Use real content from this website for any text or images in the effect (its headings, services and copy), never placeholder text. If the project has no design system yet, ask me for the brand colours and fonts before you start.
-
InteractivePrompt
Build a 3D scene configurator with three.js for [the situation I describe]: a small 3D world where visitors place things by clicking, change the conditions with a slider, and keep the result in a shareable link. Scene (example: solar panels on a house): the base scene built from code (simple boxes and extruded shapes), a ground plane, and a set of slots where things can be placed. Empty slots are faint outlines, placed items are solid. Use soft light from the sky and one directional light, with soft shadows. Interaction: clicking a slot (raycaster) adds or removes an item with a small pop animation. A slider changes a condition live, for example the time of day moving the sun along an arc so shadows and light change. A small panel shows the count and a live estimate from one formula in one place. The camera can be orbited a little by dragging, within limits. State: the selection and the slider value are written to the URL (query string or hash) with history.replaceState, and read on load, so a configuration can be shared or sent with a quote request. Keyboard: slots can also be toggled with buttons in the panel. Cap the device pixel ratio at 2 and pause off screen. With prefers-reduced-motion, no pop animations. Style: build it in the existing design system of this website. Reuse its colours, fonts, spacing, corner radius and existing classes or components, and don't add new colours or fonts. Use real content from this website for any text or images in the effect (its headings, services and copy), never placeholder text. If the project has no design system yet, ask me for the brand colours and fonts before you start.
-
InteractivePrompt
Turn the product images in [the cards I point to] into rotatable 3D product viewers with three.js: every card shows a 3D model you can grab and turn. Models: load the product models I give you (glTF), or build simple products from code when there are none. Give them realistic materials: an environment map for soft reflections (PMREMGenerator from a simple studio scene with a few bright panels), physical materials with the right roughness, metal where it is metal. Tech: use ONE WebGL renderer and ONE fixed canvas behind the whole page for all cards (browsers limit the number of WebGL contexts). Every frame, read the position of each card's image area with getBoundingClientRect and render that product into it with setViewport and setScissor. Skip cards that are off screen. Never resize the drawing buffer while scrolling, only on window resize. Behaviour: each product turns slowly by itself (about one turn every 25 seconds). Dragging on its card rotates it (with inertia); after letting go it eases back to its slow spin. A soft contact shadow under every product. Cap the device pixel ratio at 2. With prefers-reduced-motion, no auto spin. Style: build it in the existing design system of this website. Reuse its colours, fonts, spacing, corner radius and existing classes or components, and don't add new colours or fonts. Use real content from this website for any text or images in the effect (its headings, services and copy), never placeholder text. If the project has no design system yet, ask me for the brand colours and fonts before you start.
-
InteractivePrompt
Add a slide-over quote panel to this website: the quote or contact form slides in from the right side, without leaving the page. Markup: one panel for the whole site, using a native <dialog> element, placed once in the footer template, holding my existing form, a heading and a close button. Any link to #quote (or with a data-quote attribute) anywhere on the site opens it. Behaviour: the panel slides in from the right (transform translateX, about 400ms with a soft ease) while the page behind dims with a backdrop. It closes with the close button, the Escape key or a click on the backdrop, and slides out the same way. Opening it moves focus to the first field, focus stays inside the panel, and closing returns focus to the button that opened it. The page behind does not scroll while it is open. After a successful submit, the form is replaced by a thank you message in the same panel. On mobile the panel takes the full width. If the page itself is a contact page, scroll to the inline form instead of opening the panel. Respect prefers-reduced-motion by fading instead of sliding. Style: build it in the existing design system of this website. Reuse its colours, fonts, spacing, corner radius and existing classes or components, and don't add new colours or fonts. Use real content from this website for any text or images in the effect (its headings, services and copy), never placeholder text. If the project has no design system yet, ask me for the brand colours and fonts before you start.
-
InteractivePrompt
Turn [the form I point to] into a multi-step form (the questions split into short steps with a progress bar, also called a form wizard). Steps: group the existing fields into logical steps, easiest questions first and contact details last. Turn single-choice questions into selectable tiles instead of dropdowns, and number ranges into a range slider that shows the value live. Show a summary of the choices before the final submit. Behaviour: one step visible at a time. Next slides the next step in from the right, Back slides back from the left (about 300ms). A progress bar and step labels at the top fill up as you go. Each step validates before you can continue, with a friendly message next to the field. Choosing a tile on a single-choice step moves on by itself after a short moment. Everything stays one real form element, so it also works without JavaScript (all steps visible), and the data is submitted in one go to my form plugin. Accessibility: the active step gets focus on its heading, the progress is announced (for example Step 2 of 4), tiles are real radio inputs, everything works with the keyboard. Respect prefers-reduced-motion by switching steps without sliding. Style: build it in the existing design system of this website. Reuse its colours, fonts, spacing, corner radius and existing classes or components, and don't add new colours or fonts. Use real content from this website for any text or images in the effect (its headings, services and copy), never placeholder text. If the project has no design system yet, ask me for the brand colours and fonts before you start.
-
InteractivePrompt
Add count-up numbers to [the stats I point to]: the figures count up from zero when they scroll into view (also called animated counters). Behaviour: when a number comes into view (IntersectionObserver, about 40% visible), it counts from 0 to its value in about 1.6 seconds with an ease-out (fast at first, slowing down at the end), staggered by about 150ms per number. It runs once. The number keeps its formatting while counting: prefix and suffix (like €, + or %), thousands separators and the same number of decimals as the final value. Use tabular-nums so the digits do not jump around while counting. The final number stays ordinary, editable text in the HTML. The script reads it, counts up to it and keeps the original markup, so it never shows a wrong value without JavaScript or to search engines. Screen readers get the final value (aria-label). With prefers-reduced-motion, show the final numbers immediately. Style: build it in the existing design system of this website. Reuse its colours, fonts, spacing, corner radius and existing classes or components, and don't add new colours or fonts. Use real content from this website for any text or images in the effect (its headings, services and copy), never placeholder text. If the project has no design system yet, ask me for the brand colours and fonts before you start.
-
InteractivePrompt
Add a live filter to [the posts, products or cards I point to]: filter buttons above the list, and the list updates instantly with a smooth animation, without reloading the page. First ask me what should be filtered and by what (categories, tags, a custom field) if that is not clear from the page. Then add one button per option, plus All. Behaviour: buttons toggle on and off (aria-pressed); decide with me whether several can be on at the same time. Items that match stay; the others fade and shrink out, and the remaining items slide smoothly to their new place (use the FLIP technique: measure positions before and after, then animate the difference with transforms). Show a short line with the number of results, and a Clear button when a filter is active. Every item carries its filter keys in a data attribute, rendered from the real taxonomy or field of my CMS, so new items are filterable automatically. Accessibility: buttons are real buttons, the result count is in an aria-live region, hidden items are really hidden from screen readers after the animation. Respect prefers-reduced-motion by switching without the animation. Style: build it in the existing design system of this website. Reuse its colours, fonts, spacing, corner radius and existing classes or components, and don't add new colours or fonts. Use real content from this website for any text or images in the effect (its headings, services and copy), never placeholder text. If the project has no design system yet, ask me for the brand colours and fonts before you start.
-
LayoutPrompt
Turn [the gallery or cards I point to] into a bleed slider: it starts in line with the page content on the left, but runs off the right edge of the screen. Layout: the left edge of the first slide lines up with my normal content container. The track runs to the right edge of the viewport, so the next slide is visibly cut off there, which tells people there is more. Images keep a fixed aspect ratio. Tech: a native horizontal scroll container with scroll-snap (snap-align start) and a hidden scrollbar. Set padding-inline-start (and scroll-padding-inline-start) to the same value as the container's left edge, for example max(5vw, (100vw - container width) / 2), so the first slide lines up and every snap lands on that line. Add mouse dragging for desktop (pointer events, with a small inertia) and two arrow buttons that scroll by one slide and disable at the ends. Accessibility: the slides are a list, arrows are real buttons with labels, it scrolls with the keyboard and with touch natively. Respect prefers-reduced-motion by using instant scrolling for the arrows. Style: build it in the existing design system of this website. Reuse its colours, fonts, spacing, corner radius and existing classes or components, and don't add new colours or fonts. Use real content from this website for any text or images in the effect (its headings, services and copy), never placeholder text. If the project has no design system yet, ask me for the brand colours and fonts before you start.
-
LayoutPrompt
Add a floating effect to [the product image I point to]: the product hovers above its own shadow, sways a little and leans toward the mouse. Markup: the product as a cut-out with a transparent background (PNG or WebP, or a 3D model if I have one), in a fixed frame, with a separate soft shadow element below it (an ellipse with a blurred radial gradient, not a box-shadow). Behaviour: the product bobs up and down slowly (about 6 seconds per cycle, ease-in-out, a movement of about 12px) with a very small rotation. The shadow moves in sync: when the product goes up, the shadow gets smaller and lighter, when it comes down, the shadow grows and darkens. On top of that, the product tilts a few degrees toward the mouse with a 3D perspective (rotateX and rotateY, eased with requestAnimationFrame), only while the pointer is over the section. Keep the image editable in my CMS and give it a fixed aspect ratio, so a replacement image never changes the layout. Respect prefers-reduced-motion: the product stands still on its shadow. Style: build it in the existing design system of this website. Reuse its colours, fonts, spacing, corner radius and existing classes or components, and don't add new colours or fonts. Use real content from this website for any text or images in the effect (its headings, services and copy), never placeholder text. If the project has no design system yet, ask me for the brand colours and fonts before you start.
-
LayoutPrompt
Turn [the cards I point to] into a snap carousel with arrows: a row that scrolls natively and snaps into place, with arrow buttons for desktop. Tech: no slider library. The track is a horizontal scroll container with scroll-snap-type: x mandatory, each card has scroll-snap-align: start, and the scrollbar is hidden. On mobile, let the next card peek in so people know they can swipe. Touch and trackpad scrolling just work. Arrows: two buttons next to the heading. One click scrolls by exactly one card width plus the gap, with smooth scrolling. The arrows are disabled at the start and the end (check the scroll position on scroll and on resize; settle the state on scrollend where supported, with a fallback for browsers without it). Optional: small dots under the track that show the current position. Accessibility: the cards are a list, the track can be focused and scrolled with the arrow keys, the buttons have labels and a visible disabled state. Respect prefers-reduced-motion by scrolling instantly. Style: build it in the existing design system of this website. Reuse its colours, fonts, spacing, corner radius and existing classes or components, and don't add new colours or fonts. Use real content from this website for any text or images in the effect (its headings, services and copy), never placeholder text. If the project has no design system yet, ask me for the brand colours and fonts before you start.