Animated React and Tailwind blocks built with craft: real springs, a pressed state on everything, quiet layered shadows. Product pages, campaigns, feedback, navigation and free motion libraries under MIT, with Pro scenes behind a license key.
Twenty-one film and motion graphics transitions between any two pieces of content, switched with the transition prop: cut, cross dissolve, fade to black, morph cut, wipe, push, cover, whip pan, smash cut, iris, circle and star reveal from a point, blinds, colour bands, liquid drip, zoom through, cube, page curl, doors, pixelate and glass shatter. SceneTransition swaps whatever you render when activeKey changes; SceneSlideshow cycles a list of scenes with optional controls, pauses off-screen and in hidden tabs, and every transition becomes a plain cut under reduced motion.
An auto-playing product walkthrough in a browser frame: a fake cursor glides to registered targets, clicks ripple and chapter tabs show progress, with small Pop and DemoStatus helpers for scene content. It runs only while on screen and the tab is visible, has a labelled play/pause button and chapter buttons with aria-current, and with reduced motion scenes switch instantly with no cursor travel or ripple.
Nine scroll-driven effects as separate components: parallax layers, horizontal scroll, zoom on scroll, velocity skew, scroll marquee, circle reveal, split doors, stacking cards and a self-drawing path. Each tracks its own section with useScroll and accepts a scroll container ref, and under reduced motion shows the final readable layout with normal scrolling.
Hairline reading progress bar in the brand spot colour for the window or a scroll container, with optional section ticks you can jump to.
Paragraph whose characters (CJK) or words (Latin) darken from faint to the full text colour as the reader scrolls. Accent phrases can take their own class to stand out.
A feature story where copy scrolls on the left and a sticky panel on the right crossfades between per-step looping scenes, with anchor tabs underneath; on mobile each scene sits under its text. Only the active scene animates, the tabs are a labelled nav with aria-current, and with reduced motion scenes switch instantly and loops hold their final frame.
A 3D stage that lays its content tilted back (rotateX 28deg) and stands it upright as it scrolls into view, with a soft black shadow and a thin gold ground line underneath. The shadow and line are aria-hidden, and with reduced motion the content sits flat with no animation.
Vertical timeline in two modes: scroll mode draws a line in the brand spot colour down as the page scrolls and fills each dot it reaches, progress mode takes a current step and works as order tracking with the current dot in the spot colour and earlier ones muted. Times, titles and descriptions per item, a window or container scroll source and an adjustable line anchor.
Two-part radio cards for delivery methods: a left column holds the method name and radio dot, a hairline divider separates the body with the arrival date, note and fee, and free shipping shows in the brand spot colour. Works as a radiogroup with arrow keys and roving focus, skips disabled methods, wraps to a single column on narrow screens, and the dot switches instantly under reduced motion.
Drawer on a raised surface from the left, right or bottom over a dimmed scrim, with focus trap, Escape to close, scroll lock and focus return.
Placeholders for cards, lists, text and generic full-width rows with a slow opacity pulse while loading that stops under reduced motion, crossfading to real content. Sets aria-busy, announces a custom loading label through a status region and announces when loaded.
A wall of logo tiles in hexagons, circles or squares, each lightly tinted with its own logo colour and a little more on hover. Category chips above re-flow the wall with shared layout springs: tiles that stay slide to their new place, the rest scale out. The active chip is a pill in the brand spot colour that slides between chips. Tiles can be pressable. Restored from the classic SunUI FilterGrid.
One choice control in five shapes: underline tabs with content panels, a segmented control, filter chips and browser-style folder tabs where the active tab is a raised surface joined to the panel below, and an icon-only dock where the selected tab grows to show its label, all with an indicator that slides between options. Chips switch to multi select with a check that grows in. Arrow keys, Home and End move focus, roles change to tablist, radiogroup or toggle buttons to match, and counts can sit beside each label, as plain numbers or as small badges with countStyle="badge" (the default for folder).
Solid, platform-coloured round buttons for GitHub, X, LinkedIn, Instagram, Facebook, YouTube, email and a website, or any brand with your own glyph and colour. A titled tooltip with an arrow on any side, shown on hover and focus, kept visible as a label, or left to screen readers. Lifts 2px on hover and presses to 0.97 on a snappy spring. SocialButtons lays them out in a row, a column or a grid. Restored from the classic SunUI SocialButton.
Social profile links with built-in single-colour glyphs for GitHub, X, LinkedIn, Instagram, Facebook, YouTube, email and a website. Three variants: a round icon button, a pill with icon and label, and an expanding button whose label slides out on hover or focus while its width follows a spring. Monochrome by default (muted text that turns to the foreground on hover); turn on brand and the platform colour appears on the glyph only on hover and focus. Optional tooltips on four sides. External links get noopener and an "opens in a new tab" hint for screen readers.
A row of spines on a shelf in CSS 3D, each one a box with a spine, a front cover and a page edge. Pointing at a spine tilts it out; choosing one (click, arrow keys, Home and End) pulls it forward and turns it to its front cover while the others close the gap, and the caption below shows its title, subtitle and price. It is a listbox with roving focus, the caption is announced politely, the chosen spine scrolls into view on narrow screens, and with reduced motion the turn switches instantly.
Line drawings with springs inside: point at one and its parts lean, swing, pop and bounce, each part on its own spring (wobbly, snappy, gentle, or a falling drop with a bounce). Five ready-made drawings (shopping bag, price tag, gift box, desk lamp, card stack) switched with the preset prop, plus defineRig to rig your own SVG. Taps and long presses work on touch. Optional autoplay sends a ghost pointer across while on screen and hands over to a real pointer. Pauses off screen; with reduced motion it draws the resting pose.
Star rating with amber stars (the semantic --sunui-rating colour) that asks why: after a score is chosen, the same frame grows reason chips (what went wrong at or below the threshold, what they liked above it) that swap in place when the score crosses it, plus an optional "same as N% of buyers" line from a distribution; the level label rolls in the direction of change. Half stars, keyboard roving focus, optional clear, hidden form input, and a read-only mode for review summaries. Reduced motion switches instantly.
A status label where shape shows progress and time shows freshness: an empty ring is pending, a half pie is in progress, a full dot is done and a slashed ring is cancelled, or pass progress for any amount, so it reads even in monochrome. Only live, in-flight states animate with one calm ring, and since adds a muted relative time ("· 2h ago"). When the state changes it morphs in place: the pie fills, the label rolls and the width follows while the dot stays still. Colour lives only on the dot; the default is still the classic 6px dot. Reduced motion switches instantly with no pulse.
A live product demo window where every frame is a pure function of one number: each step's View draws the app at a fixed design size (default 1200 × 750) from t, the seconds into that step, and the stage scales as one picture. That makes it scrubbable, jumpable and freezable through a controlled time prop. It ships time helpers (ease, typed, cue, held, glide curves) and a cursor that glides to data-aim targets measured from the DOM and presses on cue. It plays only on screen with the tab visible, never fast-forwards on return, labels the stage as an image listing the steps, uses real buttons with aria-current and a labelled range input, and with reduced motion shows each step's finished frame with no cursor.
A sticky store header that tucks away when you scroll down past a threshold and slides back the moment you scroll up, shrinking from 64 to 52 px with a hairline once it leaves the top. The cart button takes a cartRef so add-to-cart-button can fly into it, an announcement slot rides along, and a mobile menu collapses by height. It never hides while keyboard focus is inside or the menu is open, and under reduced motion it only shrinks.
Full-bleed recap story player with a segmented progress bar, tap-to-step, long-press to pause and an end-of-story action dock on the last two slides, plus four ready-made 9:16 year-in-review slides (most active month, top keywords, posting streak, percentile rank) in a dark editorial style with one amber accent. Keyboard arrows and Space work, a live region announces position, every slide ships labels in en, zh-TW, zh-CN and ja, and reduced motion swaps slides instantly.
A library of 10 SVG effects (line draw, blob morph, gooey, orbiting circles, motion path, icon morph, animated beam, flowing connectors, radar sweep, liquid fill) switched with the effect prop on SvgEffect, each also exported as its own component with full props. Loops pause off screen, and with reduced motion paths show fully drawn and loops hold still.
A card of checkout consents where required items show an n / m counter and gate the pay button, while optional opt-ins like marketing email default to off. The button stays focusable with aria-disabled and explains why it is blocked through aria-describedby and a polite live region; with reduced motion the check marks switch instantly.
Rows of review cards that scroll in opposite directions, with faded edges, 3D tilt on hover, and a pause on hover or keyboard focus. Clicking a card opens a detail dialog with a focus trap, Escape to close, and a rating breakdown. On narrow screens or with reduced motion, each row becomes a static horizontal scroller. A CoverMarquee export turns the same loop into a covers wall: rows of 16:9 image covers tilted about -8 degrees, moving in alternating directions behind a hero; it is aria-hidden, pauses off screen and in hidden tabs, and stays still with reduced motion.
A library of 21 animated text effects, from wave and blur-in to scramble, split-flap, glitch and circle text, switched with one effect prop and played on mount, in view, hover, click or loop. Under reduced motion every effect shows its final, fully readable text and loops stop.
System, light and dark as three tiny previews of the real interface; system is split dark and light down the middle. Also ThemeSwitch, a glowing key whose pixel sun scatters and lands as a pixel moon as it slides. Includes useThemeMode: saves to localStorage, puts .light or .dark on <html> and crossfades with View Transitions.
A membership card with a half ring gauge showing points toward the next tier, a tier ladder and the perks the next tier unlocks, with a quiet Top tier line once the top tier is reached. The gauge is a labelled progressbar with readable value text, SVG ids come from useId, and the arc moves only when points change, instantly under reduced motion.
A small explainer chart you can play, with a real state machine behind it: every button follows the rules of the process it shows, and a button that cannot fire yet answers with one sentence saying why. One machine, four layouts: isometric (steps as blocks on an isometric floor, each with an optional code-drawn scene such as a desk, counter, shelf, warehouse, truck, house or post box, and a character who hops onto the current step), flow (steps and branches), timeline (each step to scale) and cycle (a loop and its exit). Play all, Next step and a choice button for each branch; the path walked is drawn in the brand spot colour while the rest stays muted, and a logic panel checks the machine for unreachable steps, dead ends and ambiguous buttons. Exports a headless useStatechart hook for your own drawings. Under reduced motion the line and the marker jump to the new step at once.
Notifications on a raised surface that stack, fan out on hover or focus and dismiss by swipe, Escape or Delete, with optional thumbnail and undo action; timers pause while the tab is hidden. Includes useToasts and useUndoable, which applies a removal at once and shows an Undo toast that stays until used or closed, no confirm dialog.
Table of contents that highlights the section being read, with a bar in the brand spot colour that slides between entries. It counts a section as read once its top passes an offset, lights the last entry at the bottom of the page, jumps smoothly on click and moves focus to the heading. Works on the window or a scroll container, with nested entries and a useScrollSpy hook for your own layout.
Three typographic effects behind one effect prop. text-on-path flows a line of text along any SVG path, with wave, circle and arc presets, and each letter turns to follow the curve. variable-font animates font weight, width or any variable axis between from and to, for the whole word or as a per-letter wave, and falls back to the nearest static weight. text-mask cuts heavy text out of an image, video or drifting theme gradient, with an optional reveal of the full picture at the end.
Types phrases once with grapheme-correct CJK timing and rests on the last one (loop optional). Thin caret in the text colour; screen readers get the full text once.
Product colour swatches and size options driven by per-combination stock. Hovering or focusing a colour previews its stock on the size row in place, and switching to a colour where the chosen size is sold out keeps the size and opens an inline note listing the colours that still have it. With onNotify, sold-out sizes open an Email me when it is back action in place, and showSummary adds a line such as Fog grey · M · Only 2 left where only the changed part rolls. Sizes are bordered boxes or, with sizeStyle="chips", typographic chips with one sliding outline; OptionChips exports that row on its own. Every row is a labelled radiogroup whose arrow, Home and End keys skip sold-out options, stock changes are announced politely, and all motion is instant under reduced motion.