# SunUI (full) > Every SunUI block with when-to-use notes, plus the design rules. Short index: https://sunui.synvize.com/llms.txt. MCP server: https://sunui.synvize.com/mcp. Agent skill: `npx shadcn@latest add https://sunui.synvize.com/r/sunui-skill.json`. ## Rules for every block - Blocks are copied into the project by the shadcn CLI. After install they are the user's code: edit props and copy, do not wrap them in extra providers. - Each block is one file that depends only on `framer-motion` and `cn` (`@/lib/utils`). Icons are inline SVG at stroke width 1.5 using `currentColor` (the two-tone set on /icons is for app UI and pages, not for blocks). Take icon shapes from SunUI icons (`search_icons`, `get_icon`). Icons marked Pro belong to seasonal packs that install with a Pro license; Pro scenes depend on them, free blocks never do. - Keep coupling to shadcn thin: shadcn is only the delivery format. Do not depend on shadcn/ui components, Radix, Base UI or `shadcn/tailwind.css`; import `cn` from `@/lib/utils`, not the `cn` package; `registryDependencies` may only be `utils` and SunUI's own items. Use only the standard shadcn colour token names. Projects without shadcn get them from `sunui-theme.css` (https://sunui.synvize.com/sunui-theme.css). - Every block supports `prefers-reduced-motion` (`useReducedMotion()`): motion becomes an instant switch and no information is lost. Keep that when you edit. - Numbers, prices and timers use `tabular-nums`. Codes and order numbers use `font-mono`. - Never add decorative gradients, glows, coloured shadows, particles or confetti around a block. Content layers never get frosted glass. - Motion only answers a user action or a data change. No decorative fade-up on page load, no idle loops (countdowns and loading states are the exception). Popovers, menus, drawers and panels may settle in from `scale(0.96)` with a fade, under 200ms. - Exception for full-page templates (registry `categories` include `template`): the hero's signature element may run one idle loop, such as campaign-landing's discount figure cycling through sale product photos that drift inside the numerals. One per page, plays only while on screen and the tab is visible, holds the first frame under reduced motion, and the loop must show real content (products), never decorative breathing, flicker or glow. - Continuity: when state changes, reshape the same container instead of swapping it, and keep one anchor (thumbnail, icon, amount) in place across states. Old content leaves fast (about 100ms), new content arrives with the main line first and the secondary line slightly later. Plain crossfades and hard cuts are not enough. For dropdowns, drawers and accordions, also check what the rest of the page does while they move: content below should slide, not jump. When switching views or encodings, keep the same geometry through every state (a dot stays a dot that grows or lies flat; do not swap it for a different shape). Run multi-step transitions in sequence, one property at a time (for example drop the height, then turn the view, then add labels), each step under 400ms, instead of changing everything at once. - Density by layer: overview surfaces (lists, card grids, dashboards) stay flat, dense and easy to compare. Heavier treatments (3D, large charts, detailed motion) belong only in the drill-down layer the user opens on purpose (drawer, side panel, detail page). Carry the title, numbers and colours from the overview into the drill-down so it reads as the same data in more depth, and keep an exact way to read it there (a flat view toggle, exact values on hover). - One primary action per block. Name buttons after the result ("Claim coupon", not "OK"). - Be honest: no fake scarcity, no fake timers, no showing 0 as social proof. - Check light and dark mode and a 375px wide screen. Chinese and Japanese copy must fit without layout changes. ## When the user asks for a motion by name Full list with allowed motions: https://sunui.synvize.com/docs/motion. Shared springs and allowed motions are installable as `sunui-motion` (`npx shadcn@latest add https://sunui.synvize.com/r/sunui-motion.json`). Avoid (offer the alternative instead): - **Fade Up** (Fade In Up, Reveal on Scroll, Animate on Scroll): Content is simply there when the page loads. If a value arrives later, roll the number instead of fading the block in. - **Blur In** (Focus In, Blur Text Reveal): SunUI uses no blur at all. Swap the content instantly. - **Bounce In** (Zoom In, Jack In The Box, Back In, Puff In): A bounce from zero has no mass behind it. Dialogs and popovers settle in from 96% with a fade in under 200ms, without overshoot. - **Heartbeat / Tada / Jello / Wobble** (Rubber Band, Swing, Bounce (attention), Ping): Attention-seeking loops. A result settles once as the Result mark; an idle element does not move. - **Flash / Flicker** (Blink, Flicker In): Hard on the eyes and unsafe for people sensitive to flashing. Mark new content with a small label. - **Parallax / Zoom on Scroll** (Parallax Layers, Scroll Zoom, Text Marquee on Scroll): Brand-page decoration that says nothing about the product, and a crowded space other libraries already own. - **Smooth Scroll** (Inertia Scroll): Do not take over native scrolling. For anchor jumps, CSS scroll-behavior is enough and respects reduced motion. - **Text Scramble** (Scramble Decode, Matrix Text): Reads as a hacker effect and hides the code from screen readers while it runs. To reveal a coupon code, tear the stub instead. - **Gradient / Neon / Glitch Text** (Animated Gradient Text, Neon Glow Text, Holographic Text, Glitch Text): Decorative gradients and glows are banned outright. Emphasis comes from size, weight and contrast. - **Glow / Shine Sweep / Border Beam** (Hover Border Gradient, Neon Glow Button, Rotating Gradient Border): Colored glows and gradients are the clearest template signal. A hover may change color or lift by 1 px, nothing more. - **3D Tilt / Glare Card** (Holographic Card, Tilt Parallax Image): Pretty but says nothing, and it does not work on touch. Depth comes from light and elevation, not from tilting the object at the cursor. - **Custom Cursor / Magnetic Button** (Cursor Follower, Cursor Trail, Cursor Spotlight): Decoration that fights the pointer people already know, and does nothing on phones where most shoppers are. - **Confetti** (Particles Burst, Fireworks): SunUI has no celebration. The result settles once as the Result mark where the action happened. - **Particles / Aurora / Animated Gradient** (Sparkles, Meteors, Light Rays, Background Beams, Mesh Gradient, Starfield): Every item here breaks the color rules and adds an idle loop. A SunUI page gets its character from material, light, type and the feel of each press. - **Ken Burns** (Slow Zoom, Pan and Zoom): An idle loop on the product photo, which is the one thing shoppers need to see still. Limited (only in this situation): - **Fade In / Fade Out** (Backdrop Scrim Fade): Only for a scrim or overlay that appears because the user opened something. 180 to 220 ms. - **Stagger** (Cascade, Staggered Animation): Only when a list changes because of the user, such as applying a filter. Never on page load, and the whole run stays under 400 ms. - **Card Flip** (Flip In, Flip Card): Only when the back carries information, such as coupon terms, and only on press. Not as decoration on hover. - **Pulse** (Pulsing): Only a small dot for a real live state such as processing or recording. Never on buttons or call-to-action areas. - **Scroll-Linked Animation** (Scroll Scrub, Scroll-Driven Animation, Mask Reveal): Progress is tied to scroll and reverses when scrolling back. Keep it to one storytelling section; under reduced motion show the final state. - **Typewriter** (Typing Effect, Text Generate): One short rotating line at most, paused when off screen. Never for body copy, prices or anything people need to read in full. - **Underline Draw** (Underline Reveal, Text Highlighter): On hover or focus of a link, 120 ms. Not as a load-in highlight on headlines. - **Like / Heart Burst** (Heart Burst, Favorite): One small burst in the brand spot colour on the press that saves the item. No particles, no loop afterwards. - **Marquee** (Infinite Card Wall, Logo Marquee): One of the few allowed loops, for reviews only. It pauses on hover and focus and stops under reduced motion. - **Carousel Slide** (Carousel Crossfade, Coverflow, 3D Carousel): Moves only when the user swipes or presses. No autoplay unless it has a visible pause button. Coverflow and 3D rings are out. - **Page Transition** (Curtain Wipe, Circular Reveal, Shared Element Transition): A framework concern (View Transitions in Next.js), not a block. If you add one, keep it under 250 ms and skip it under reduced motion. - **Bar Chart Grow / Donut Fill** (Chart Data Transition, Line Chart Draw): When the data loads or changes, once. Not replayed every time the chart scrolls into view. ## Series: craft (default when meta.series is missing) Craft: precise objects with material, light and a tactile press. Neutral theme surfaces with real depth (hairline plus near-invisible layered shadow, top highlight in dark mode), concentric radii, and one brand spot colour taken from the theme. Covers stores and campaigns (coupons, carts, checkout, loyalty) and everyday UI. SunUI dropped its old "paper" look on 2026-11-19: no paper or ink hex colours, no perforations, notches or zigzag tears (not even on coupons or pickup tickets; reveal a code with a raised lid that lifts away from an inset well, or a bar that slides away), no flat shadowless cards. If an older block still has `#f7f7f7`, `#e2e2e2` or `#171717` classes, that is legacy; new code uses the tokens below. | Role | Tailwind | Fallback | |---|---|---| | Surface | `bg-card` | theme card | | Inset | `bg-muted` | theme muted (inputs, tracks, unselected cells) | | Hairline | `border-foreground/10` | theme foreground at 10% | | Text | `text-foreground`, `text-muted-foreground` | theme | | Primary action | `bg-primary text-primary-foreground` | theme | | Brand spot | `text-[color:var(--sunui-spot,var(--primary))]` | theme primary | | Like (semantic) | `text-[color:var(--sunui-like,#dc3d43)] dark:text-[color:var(--sunui-like,#ff6b70)]` | red | | Rating (semantic) | `text-[color:var(--sunui-rating,#e8a020)] dark:text-[color:var(--sunui-rating,#f5b84a)]` | amber | | Success (semantic) | `text-[color:var(--sunui-success,#1f9d55)] dark:text-[color:var(--sunui-success,#4cd68a)]` | green | | Danger (semantic) | `text-destructive` | theme | - Grays are neutral with no warm or cool cast. Do not use cream, beige, warm gray or the Tailwind stone scale. - Brand spot colour: SunUI picks no colour of its own. Selection, discount values, current progress and the main button read `var(--sunui-spot, var(--primary))` (on a filled spot background use `--sunui-spot-foreground`, falling back to `--primary-foreground`). Set `--sunui-spot` on `:root` and `.dark` to use the store brand colour. Body text, headings and hairlines never use it. Do not pick an accent colour per block. - Semantic colours, three only: meanings everyone recognises do not follow the brand spot and ship in the right colour: a saved heart is red (shared with danger, #dc3d43, dark #ff6b70) (`--sunui-like`), filled stars are amber (`--sunui-rating`, #e8a020, dark #f5b84a), done and verified states are green (`--sunui-success`, #1f9d55, dark #4cd68a), errors use the theme `--destructive`. Buyers can override each variable. Use them only for these meanings, never as decoration. - Content colours: blocks may carry colour at rest, but only on content: avatars without a photo, category tags and dots, chart series. Always use shades of the brand spot (`color-mix(in oklch, var(--sunui-spot, var(--primary)) N%, transparent)`; avatars hash a name to 12, 20 or 28%, charts use five shades), never a separate palette, so a buyer's brand colour recolours them too. Gradient avatars stay within that one hue. The only exception is person-chip, whose job is telling people apart on a roster, so it keeps eight hues. Never use spot shades to decorate buttons, backgrounds or headings. - Object colours in illustration scenes (since 2026-11-22): a block that draws a space or a set of objects (for example the pop-up book rooms in popup-store-tour) fills them with object colours, not spot shades. The palette is fixed to the pixel icon pigments (brown wood, green leaves, blue and pink fabric, gold lamps, steel, bone, red accents); do not add hues. Name fills by material role (wood, fabric, plant, glass, metal, lamp, accent, ceramic) and map roles to colours in one table, mixed with `var(--card)` (furniture 70 to 90%, glass about 30%, walls about 16%, floors about 36%) so they read in light and dark. Lines stay the brand spot. Only inside illustrations; buttons, headings and backgrounds are unchanged. - Full-page templates (registry `categories` include `template`) may have one fixed dark section (`bg-[#111111] text-[#ededed]`, dark in both modes), usually the hero. Do not fill sections with the spot colour. - Light comes from straight above, one source per page. Elevation levels, each already including the hairline (do not add a border on top): - e1 (cards, coupons, inputs, secondary buttons): `shadow-[0_0_0_1px_rgb(0_0_0/0.06),0_1px_2px_rgb(0_0_0/0.05)]` - e2 (hovered cards, dropdowns, featured plan): `shadow-[0_0_0_1px_rgb(0_0_0/0.06),0_4px_8px_-4px_rgb(0_0_0/0.06),0_12px_20px_-8px_rgb(0_0_0/0.08)]` - e3 (panels, dialogs, drawers): `shadow-[0_0_0_1px_rgb(0_0_0/0.06),0_16px_32px_-8px_rgb(0_0_0/0.10),0_32px_64px_-16px_rgb(0_0_0/0.10)]` - Dark mode does not rely on drop shadows: lift the surface one step and use `dark:shadow-[inset_0_1px_0_rgb(255_255_255/0.06),0_0_0_1px_rgb(255_255_255/0.08)]`. - Raised objects (primary button, selected segment, result disc) get a 1px inner top highlight such as `shadow-[inset_0_1px_0_rgb(255_255_255/0.12)]`. Inset controls (inputs, switch and progress tracks) use the inset colour with `shadow-[inset_0_1px_2px_rgb(0_0_0/0.06)]`. - Gradients only to model light: a same-hue surface shading of at most 3% lightness, edge fade masks, or the material signature below (foil, lacquer, metal rim), which may show clear light and shade but stays one hue with light from straight above. Never blue-purple or rainbow gradients or coloured backgrounds. The one multi-hue exception is the pearl material below: pastel stops taken from the hues either side of the brand colour, so it follows the buyer's brand; never a fixed rainbow palette. Gradient text is allowed once per screen, on the single most important word of a headline, using two neighbouring hues with a solid-colour fallback; never a whole sentence or paragraph. Frosted glass only on functional layers floating over content (sticky bars, floating toolbars, popovers) with at least 80% opacity. - Concentric radii: controls 6px (`rounded-md`), cards and coupons 12px (`rounded-xl`), panels and dialogs 16px (`rounded-2xl`); inner radius = outer radius minus padding. Separators are solid hairlines (`divide-foreground/10`), not dashed tear lines. - Discount values, promo emphasis and the current step are set apart by weight, size and contrast; "others" use `text-muted-foreground`. - Every pressable element has hover, focus-visible and pressed states: `whileTap={{ scale: 0.97 }}` with the snappy spring, or CSS `motion-safe:active:scale-[0.97]` with `scale` in the transition list (0.99 for large pressable cards); hover appears instantly and fades out over about 150ms. This shared press weight is a SunUI signature. - Visible material at rest (since 2026-11-23): every block has at least one signature object you can see without touching it, such as a brand-colour foil coupon face or cover, a lacquered wheel in a metal rim, or a key with real thickness. Press feel alone looks like ordinary UI in a thumbnail. Foil recipe: background `var(--sunui-spot, var(--primary))` with three layers, `linear-gradient(180deg, rgb(255 255 255/0.3), transparent 45%, rgb(0 0 0/0.16))` for top light, `linear-gradient(115deg, transparent 34%, rgb(255 255 255/0.3) 47%, transparent 60%)` for a sheen that may follow the pointer, and `repeating-linear-gradient(90deg, rgb(255 255 255/0.05) 0 1px, transparent 1px 3px)` for brushing; shadow `inset 0 1px 0 rgb(255 255 255/0.4), inset 0 -1px 0 rgb(0 0 0/0.18)` plus e1 or e2. Pearl recipe (since 2026-11-28): five pastel stops `oklch(from var(--sunui-spot, var(--primary)) L C calc(h + D))` with D = -60, -25, 0, 35, 70, L 0.84 to 0.92, C 0.06 to 0.11; a conic-gradient under a centred white radial highlight (`radial-gradient(circle, rgb(255 255 255/0.92) 0 20%, transparent 66%)`) for round objects, a 45 degree linear gradient for faces; set a fallback background colour `color-mix(in oklch, var(--sunui-spot) 22%, white)` first for browsers without relative colour syntax; text on it is `#18181b` in both themes; thin progress lines may sweep D from -30 to +40 at L 0.66, C 0.17. Reference: pro/radial-upload. Unavailable states use the same recipe on steel (`color-mix(in oklch, var(--foreground) 14%, var(--card))`). Text on material uses `--sunui-spot-foreground`. One or two material spots per block; the light stays fixed when an object rotates. References: pro/prize-wheel, pro/coupon-claim-card, pro/scratch-card, free/coupon-wallet. - Acceptance test before you finish (since 2026-11-23): shrink the catalog card to 256px wide and cover the text; it must still read as SunUI because of one material object, not because of press feel or a 4px strip. Do not stack two brand-colour objects in one column (a foil plate right above a lacquer key: make the key the ink primary). Semantic colours win over material: amber stars, red hearts and green success stay; put them on a steel plate when brand foil would kill the contrast. Never override `--sunui-spot` inside a block to quiet it down; the buyer's brand colour must still apply. - Results use the shared `Result` component (install `stamp` from the SunUI registry, `import { Result } from "@/components/ui/stamp"`; `Stamp` is its old name). Positive results show a small spot-colour disc with a check that draws in and settles once on the pop spring; expired, sold out, ended or no prize use `tone="muted"`; `void` adds a strikethrough. Place it where the action happened (for example where the button was), never absolutely positioned over other content. `shape` only adds detail: `date` adds a date, `seal` adds a second line. No confetti, no whole-card bounce. Labels that are not results (Recommended, Popular) must not use it. - Springs: snappy `{ stiffness: 520, damping: 34 }`, gentle `{ stiffness: 240, damping: 30 }`, pop `{ stiffness: 620, damping: 20, mass: 0.8 }` (old name: stamp). Single animations stay under 400ms. Do not animate box-shadow; cross-fade two layers instead. ## Series: product Quiet tool UI: neutral shadcn tokens, one accent color, status shown only as small dots, the reason written on screen. - Colors come only from shadcn tokens. One accent (`bg-primary`, `text-primary`) for today, focus, current state, the main action or the data highlight. Selection uses `bg-primary/10`. - Status colors (emerald, amber, destructive, sky) go only on dots 6px or smaller; text stays foreground or muted. - Controls `rounded-md`, cards `rounded-xl`, menus `rounded-lg`. Floating layers use at most `shadow-sm`. - Easing `[0.23, 1, 0.32, 1]`; durations 120 / 180 / 240 / 360ms. Animate only transform and opacity. - Autoplaying demos play only while visible, pause when the tab is hidden, and offer pause and replay. - Write the reason on screen: why a suggestion, why a slowdown, check results next to the main button. Background failures stay visible. ## Series: story Ink and lamp: near-black panels, warm white serif text, one gold accent, all colors through --story-* CSS variables. - Every color goes through CSS variables set on the block root: `--story-bg`, `--story-panel`, `--story-line`, `--story-text`, `--story-muted`, `--story-accent`, `--story-danger`, and optionally `--story-rare` (a cool blue used only to mark rarity in reward reveals, never for selection, hints or the main action). Themes: `ink` (default, dark), `rice` (light), `moon` (blue accent). Re-skin by passing `theme`, not by editing classes. - Radius 0 to 4px. Story text uses a serif stack ("Noto Serif TC", "Songti TC", serif); UI text stays sans. Body line length up to 34em, line height 1.8. - Easing `[0.22, 0.72, 0.2, 1]`; hover 120ms, panels 220 to 240ms. The "next line" hint may breathe slowly; it is the only idle loop and it stops under reduced motion. - Keyboard and gamepad parity: number keys pick choices, Enter or Space advances, Esc toggles menus. Timers pause on hover, focus, open menus and hidden tabs. - Destructive actions say what will be lost and offer a third path (save, then leave). ## Series: showcase Landing-page signature visuals in a quiet editorial dark, ported from real launch pages. - Use on landing pages for one signature moment, not repeated down the page. - Follow the product rules for motion: play only while visible, pause on hidden tabs, keep reduced motion complete. ## Series: motion Motion effect libraries: one block per family (text, entrances, buttons, cards, backgrounds, scroll, cursor, loaders), each switching between many effects with an `effect` or `preset` prop. - The craft restraint rules do not apply: decorative gradients, glows, entrance animations and loops are allowed here. Colors still come from theme tokens, `currentColor` or a `colors` prop, never hard-coded purple or pink. - Pick the effect with the `effect` (or `preset`) prop and the timing with `trigger`: mount, inView, hover, click or loop. - Reduced motion shows the final state, stops loops and keeps every word readable. Loops pause off screen and on hidden tabs. - Do not put motion blocks inside craft or product blocks; use them on landing pages, heroes and marketing sections. ## Series: anime Anime cut: ordinary controls that are plain at rest and react like a key animator's hit when used. Ink outline with a hard shadow in a pale tint of the brand spot; squash and overshoot on springs; drawn impact stars, smoke, chips and sound-effect lettering (Japanese, or Chinese on Chinese pages) from the free anime-fx engine. - Build on `anime-fx` (`@sunui/anime-fx`): `paletteOf(el)`, the effects (`burst`, `puff`, `shards`, `ticks`, `lines`, `wob`, `kira`, `splash`, `slash`), `sfx(P, slot, x, y)`, `useSquash` and `useBackLayer`. Never copy the anime blocks' effect code into another block; compose the blocks instead. - Resting look: `border-[3px] border-foreground bg-card` with `shadow-[4px_5px_0_color-mix(in_oklch,var(--sunui-spot,var(--primary))_38%,var(--card))]`. That hard tinted shadow is the only coloured shadow allowed; labels on the control are italic 800. - Colours: effect lit faces are white in both themes, shadow faces are the brand spot mixed into white, outlines are the brand spot, accent wedges are the semantic red. Rating effects use the rating amber (`paletteOf(el, "var(--sunui-rating)")`). No new hues, no purple or pink. - Write each reaction as beats: anticipation (the press), the hit (the moment state changes), follow-through, settle. One or two effects per beat, at most one sound-effect word per reaction, on the hit. - State changes at once; effects only decorate it. Nothing a person must read may depend on an effect, and no state may wait on the effect clock (it pauses in hidden tabs). - Effects leave by shrinking or thinning, never by fading. Squash keeps volume. Anything the hand moves follows a spring, and stretch comes from its speed, so a slow drag stays quiet. - `setMotion("twos")` or `` draws every effect on twos (12 drawings a second, like hand-drawn animation); springs and anything that follows the hand stay smooth. - Hold to confirm (`anime-hold`): the trace round the edge is the progress, so it must read without effects; return false from onConfirm to refuse without the hit. - Effects never cover a label: launch chips from a control's edge, put words above the control or past the end of its label, and turn lettering off where there is no room (anime-slider does by default). - The control is plain at rest: no idle animation. With reduced motion no effect is drawn and every state still changes. - Native semantics underneath: a real button, checkbox, radio or range input, role="switch" for toggles, the tabs and radiogroup keyboard patterns; value controls work in forms. ## Series: aura Aura: fighting-game controls with live WebGL effects (ki flames, clashing beams, impact frames, cut-ins, inked katakana), vendored from Aura Clash UI (MIT). Pro only. SunUI skin by default: the anime series' ink outline and hard spot shadow on every control body, SunUI element colours (cobalt default, ember, verdant) for the flames and beams, and SunUI's own sound-effect words in ink lettering (Chinese on Chinese pages). setAura({ skin: "classic" }) switches to the original element colours and shells. - Install a block (`@sunui-pro/aura-button` and so on); each pulls in `aura-fx`, which puts the engine in `components/aura-clash` with the original MIT licence. Keep that licence file. - Use the typed components (`AuraButton`, `AuraHold` ...) and their callbacks; for page-wide theme, element colour, motion on twos and sound call `setAura` from `@/components/aura-clash/aura-core`. Sound starts muted. - Effects spill about 200px past each control: no `overflow: hidden` on parents, and leave room around each control. Each control is about 200 KB of WebGL; keep it to a dozen per page. - Keep the SunUI skin unless the user asks for the original look; for small brand-tinted controls without WebGL use the anime series instead. ## Other platforms (port guides) SunUI blocks are React code. For a project that is not React, each block has a port guide: the platform's adapter rules plus the block's source and demo, written for a coding agent to follow. Platforms: Vue (`vue`), Svelte (`svelte`), SwiftUI (`swiftui`), Flutter (`flutter`), React Native (`react-native`). - Get one: the `get_port_prompt` MCP tool, or `https://sunui.synvize.com/r/port//.md`. Pro guides need `Authorization: Bearer $SUNUI_LICENSE_KEY`. - Each guide states its status: verified (SunUI ran it and compared with the original), untested, needs manual work (SVG filters, WebGL) or web only. - In a React project, install the block instead. A port is a rewrite by your model, so it can differ from the original; the installed React block cannot. # Blocks ## Add To Cart Button (`add-to-cart-button`) Raised add-to-cart button whose label rolls through adding and added while a small product card lifts off and arcs into the cart, tilting with its speed; the cart dips as it catches it and the badge settles. Use on product cards and detail pages. Reduced motion skips the flight. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: commerce, button, cart - npm dependencies: framer-motion - Files: add-to-cart-button.tsx - Live preview: https://sunui.synvize.com/blocks/add-to-cart-button ### When to use - Product cards and quick-add rows in a shop - Any action that moves an item somewhere the user can see ### Watch out - Point the flight at a cart icon that stays visible, or the motion has nowhere to land - Keep the server request independent of the animation so a slow network does not freeze it Also known as: fly to cart, add to bag button, cart animation, buy button, add to cart fly, cart badge bounce ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/add-to-cart-button.json ``` --- ## Add-on Checklist (`addon-checklist`) A card of optional extras with dotted leaders between each item and its price, where every row is a checkbox and the subtotal rolls to its new value as you tick. Rows use role=checkbox with keyboard toggling, the subtotal is announced via aria-live, and the number jumps instantly under reduced motion. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: commerce, receipt, checkout - npm dependencies: framer-motion - Files: addon-checklist.tsx - Live preview: https://sunui.synvize.com/blocks/addon-checklist ### When to use - Gift wrap, warranty and accessory upsells on a product or cart page - Booking extras such as parking, prints or insurance before checkout ### Watch out - The total is display only; recalculate the price on the server from the selected ids - Required rows always count toward the total and cannot be unticked Also known as: add-ons, upsell checklist, extras picker, live total checklist, order options ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/addon-checklist.json ``` --- ## Animate Presets (`animate-presets`) A typed preset library for framer-motion with 62 named animations in three families: 30 entrances, 16 exits and 16 emphasis effects. Pick one with the preset prop, choose a trigger (mount, inView, hover, click or loop), and use Stagger to play a preset across a list; with reduced motion, entrances and exits jump to their end state and loops stop. - Tier: Free (MIT) - Series: motion (call get_design_rules with this series before editing the block) - Interaction: scroll - Categories: animation, entrance - npm dependencies: framer-motion - Files: animate-presets.tsx - Live preview: https://sunui.synvize.com/blocks/animate-presets ### When to use - Revealing sections, cards and lists as they scroll into view - Drawing attention to a badge, button or error with a short emphasis effect ### Watch out - Use one or two entrance presets per page so motion stays consistent - Keep emphasis loops rare; a constantly moving element competes with content Also known as: animate.css, fade in, slide in, bounce in, zoom in, flip, clip reveal, stagger, entrance animation, exit animation, attention seeker, shake ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/animate-presets.json ``` --- ## Animated Number (`animated-number`) Mechanical odometer for changing numbers such as counts, stats and prices: each digit wheel turns in the direction the value moved, with Intl currency formatting and an optional small trend arrow. Screen readers get the formatted value. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: loading - Categories: commerce, number, price - npm dependencies: framer-motion - Files: animated-number.tsx - Live preview: https://sunui.synvize.com/blocks/animated-number ### When to use - Prices, totals and counters that change after a choice - Dashboard stats that update live ### Watch out - Use tabular numbers so the width does not jump - Do not animate numbers that change many times a second Also known as: odometer, number ticker, count up, rolling digits, price animation, number counter, price roll ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/animated-number.json ``` --- ## Announcement Strip (`announcement-strip`) A notice bar for the top of the store, a theme surface between two hairlines, with manual previous and next for several messages and a dismiss that collapses its height and is remembered under a storageKey. Messages sit in a labelled region with a polite live area, controls have ARIA labels, and the collapse is instant under reduced motion. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: notification, section, commerce - npm dependencies: framer-motion - Files: announcement-strip.tsx - Live preview: https://sunui.synvize.com/blocks/announcement-strip ### When to use - Site-wide notices such as free shipping thresholds, holiday returns or store hours - Rotating two or three short messages in one bar without auto-playing ### Watch out - With a storageKey the strip renders after mount, so reserve no space for it or accept a small shift; change the key when the message changes - Keep each message to one line on mobile; long copy wraps and makes the bar tall Also known as: announcement bar, promo bar, top banner, site notice, dismissible banner ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/announcement-strip.json ``` --- ## App Shell (`app-shell`) The app frame: a grouped left sidebar on desktop that collapses to an icon rail or slides away completely (Cmd/Ctrl + B), with one toggle that stays at the same spot in every state, and second-level sections that expand in place or fly out to the right when collapsed. Below 768px it becomes a top bar whose title fades in once you scroll past the page's large heading (with Back on detail pages), a bottom tab bar for pages that set tabLabel, and a More sheet holding every page, the workspace switcher and the account row. Switches on its own width by default, so it works inside any container. Links use aria-current, sections use aria-expanded, menus support arrow keys and Esc, the sheet traps focus and can be dragged down to close, and reduced motion turns animations into instant changes. - Tier: Free (MIT) - Series: product (call get_design_rules with this series before editing the block) - Interaction: press - Categories: navigation, layout, menu - npm dependencies: framer-motion - Files: app-shell.tsx - Live preview: https://sunui.synvize.com/blocks/app-shell ### When to use - The outer frame of a dashboard or tool: sidebar on desktop, tab bar on phones, from one nav config - Apps whose pages fall into groups and where a few pages deserve a thumb-reach tab on mobile ### Watch out - breakpoint="container" (default) needs the shell to have a height, such as h-dvh, and scrolls content inside it; use breakpoint="viewport" for page-level scrolling with a fixed tab bar - Keep tabLabel on four pages or fewer; everything else lands in More - Container queries need Tailwind v4 (or the container-queries plugin on v3) - Pass renderLink and call preventDefault in onNavigate to use your framework's router - layout="flush" drops the desktop page padding and max width and gives the content the sidebar's background, for content that draws its own surfaces such as tabs joined to a panel - pinBrand keeps the brand beside the toggle like a window title; content at the top must leave room for it while the sidebar is collapsed (its right edge is the element marked data-shell-brand) Also known as: sidebar, bottom navigation, tab bar, app layout, dashboard shell, responsive nav ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/app-shell.json ``` --- ## Avatar Stack (`avatar-stack`) Social proof avatar stack: overlapping initial discs (or, with fallback="gradient", a stable two-tone gradient per person), a +N count and hover or focus tooltips; a newly added person slides into the stack. Use it for team members, recent sign-ups or recent buyers, next to the action they vouch for. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: hover - Categories: feedback, avatar, team - npm dependencies: framer-motion - Files: avatar-stack.tsx - Live preview: https://sunui.synvize.com/blocks/avatar-stack ### When to use - Showing collaborators on a document, project or channel - Compact team rows in cards and table cells ### Watch out - Each avatar is a tab stop so tooltips work by keyboard; keep max low in dense tables - Initials colors come from the name, so two people with the same name share a color Also known as: avatar group, facepile, people stack, member list, user avatars ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/avatar-stack.json ``` --- ## Back To Top (`back-to-top`) Round button that appears after you scroll past a threshold and takes you back to the top, with a ring in the brand spot colour around it that fills as you read. Works on the window or a scroll container, scrolls smoothly unless reduced motion is on, and can sit fixed to the viewport or inside a relative container. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: scroll - Categories: navigation, scroll, button - npm dependencies: framer-motion - Files: back-to-top.tsx - Live preview: https://sunui.synvize.com/blocks/back-to-top ### When to use - Long category pages, search results and articles ### Watch out - Keep it clear of chat widgets or cookie banners in the same corner - Turn off showProgress if scroll-progress is already on the page Also known as: back to top, scroll to top, go to top button, top button, scroll up button ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/back-to-top.json ``` --- ## Background Effects (`background-effects`) A library of 13 animated section backgrounds (aurora, mesh gradient, grid pattern, dot glow, retro grid, beams, meteors, particles, starfield, waves, ripple rings, noise grain, spotlight) switched with the effect prop on EffectBackground, which fills its positioned parent and renders children on top. Loops pause off screen or in a hidden tab, and with reduced motion each effect shows a static frame. - Tier: Free (MIT) - Series: motion (call get_design_rules with this series before editing the block) - Interaction: section - Categories: animation, background - npm dependencies: framer-motion - Files: background-effects.tsx - Live preview: https://sunui.synvize.com/blocks/background-effects ### When to use - Hero sections, launch banners and feature panels that need a living backdrop - Empty areas behind a headline or call to action that feel too flat ### Watch out - Keep text contrast high: add a scrim or pick a quieter effect behind long copy - Use one animated background per screen; several at once compete and cost battery Also known as: animated background, aurora background, mesh gradient, grid pattern, retro grid, background beams, meteors, particles background, starfield, animated waves, film grain, spotlight effect ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/background-effects.json ``` --- ## 3D Book (`book-3d`) A 3D book you can actually read: it opens from the cover, turns pages with a leaf that folds around the spine, and closes onto the back cover after the last page. The text is split into pages by measuring CSS columns. The 3D scene is aria-hidden, a hidden linear copy of the text is what screen readers read, and the control bar's page counter is announced politely. With reduced motion, the page turn is skipped and the 3D transitions switch instantly. - Tier: Free (MIT) - Series: story (call get_design_rules with this series before editing the block) - Interaction: press - Categories: story, media, navigation - npm dependencies: none - Files: book-3d.tsx - Live preview: https://sunui.synvize.com/blocks/book-3d ### When to use - End-of-chapter memoirs, journey recaps or short stories you want to present as a physical object - Long-form text that should be paged by real layout rather than a fixed paragraph count ### Watch out - children render once per visible page plus a measuring copy and a screen-reader copy, so avoid ids or stateful widgets inside the content - Keyboard defaults to window-level arrow and PageUp/PageDown keys like the original; use keyboard="self" when several readers share a page Also known as: memoir book, page flip, flipbook, 3d book reader ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/book-3d.json ``` --- ## Browser Frame (`browser-frame`) Device chrome mockups that share one set of traffic lights, tone rings (danger, success, brand) and colour schemes: BrowserFrame has a tab title and a pill address bar with lock icon, WindowFrame is a macOS window with a centered title, optional icon, right slot and menu row, and Stage is a dotted backdrop to set them on. BrowserFrame renders as a figure labelled with the URL, the chrome and menu row are hidden from assistive tech, and a single frame does not animate. BrowserStack tilts a BrowserFrame in 3D with two quieter windows stacked behind and crossfades through image or ReactNode slides while the URL changes per slide, moving only on arrows, dots, arrow keys or an opt-in autoplay that pauses off screen and in hidden tabs, with instant swaps under reduced motion. - Tier: Free (MIT) - Series: product (call get_design_rules with this series before editing the block) - Interaction: section - Categories: marketing, presentation, layout - npm dependencies: framer-motion - Files: browser-frame.tsx - Live preview: https://sunui.synvize.com/blocks/browser-frame ### When to use - Presenting a web page or dashboard screenshot in docs, landing pages or slides - Framing a live embedded UI so readers know it represents a website ### Watch out - The address bar is static text, not a real input - Set maxHeight for long content so it scrolls inside the frame instead of stretching the page Also known as: browser mockup, browser window, website frame, safari mockup, browser showcase 3d, browser carousel, 3d browser mockup, stacked browser windows ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/browser-frame.json ``` --- ## Brush Reveal (`brush-reveal`) Two stacked layers where the pointer or a finger paints through the top one: a soft airbrush or a blotchy ink drop leaves a trail that uncovers the reveal layer and fades back over a set time, or stays when fade is 0. Both layers are ordinary React content (images, text, cards), masked by a small canvas that only redraws while a stroke is painting or fading. Keyboard focus shows the whole reveal layer, a hidden hint explains the interaction to screen readers, and with reduced motion hovering or tapping shows the layer at once without trails. - Tier: Free (MIT) - Series: motion (call get_design_rules with this series before editing the block) - Interaction: hover - Categories: animation, media, marketing, hero - npm dependencies: framer-motion - Files: brush-reveal.tsx - Live preview: https://sunui.synvize.com/blocks/brush-reveal ### When to use - Before and after pairs that feel more playful than a slider: sketch and finished product, day and night, plain and styled - Campaign teasers where a member offer or launch date sits under an ink layer people brush away - Portfolio or lookbook heroes where the pointer uncovers a second photo of the same product ### Watch out - The reveal layer ignores the pointer; keep links and buttons in the base layer or outside the block - On touch screens the area captures the finger, so do not make it taller than most of the viewport - Both layers stay in the page for screen readers; do not hide information that only some people can uncover - It is a motion series piece; do not use it for real prize draws or anything that must be fair or verifiable Also known as: hover reveal, ink reveal, paint reveal, mask reveal, cursor reveal image, brush mask, reveal on hover, image reveal brush, spotlight reveal, erase to reveal ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/brush-reveal.json ``` --- ## Button Effects (`button-effects`) A library of 16 hover and press effects for a real button element, from rolling text and ripple to magnetic pull, 3D press and a send-to-check morph. Switch them with the effect prop; with reduced motion the movement is dropped and only color changes remain. - Tier: Free (MIT) - Series: motion (call get_design_rules with this series before editing the block) - Interaction: hover - Categories: animation, button - npm dependencies: framer-motion - Files: button-effects.tsx - Live preview: https://sunui.synvize.com/blocks/button-effects ### When to use - Primary calls to action on landing and marketing pages - Submit buttons that should confirm the action with a spinner and check ### Watch out - Use one effect style per page so buttons feel consistent - Hover-only effects are invisible on touch screens, so keep the label clear without them Also known as: button animation, hover button, ripple button, magnetic button, shine button, glow button, 3d button, rolling text button, animated border button, loading button, submit button, neon button ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/button-effects.json ``` --- ## Capsule Nav (`capsule-nav`) A full-width blurred header that becomes a floating pill after you scroll past a threshold. It can hide while you scroll down, highlights the section in view and has a mobile menu panel. The menu traps focus, closes on Escape and the backdrop, and locks scroll. With reduced motion the morph and hide transitions switch instantly. - Tier: Free (MIT) - Series: product (call get_design_rules with this series before editing the block) - Interaction: scroll - Categories: navigation, header - npm dependencies: framer-motion - Files: capsule-nav.tsx - Live preview: https://sunui.synvize.com/blocks/capsule-nav ### When to use - Marketing or portfolio pages with a few top-level links and one main call to action - Long single pages where the nav should show the current section ### Watch out - Give target sections scroll-margin so the bar does not cover headings after an anchor jump - Inside a scroll container pass fixed={false} and scrollContainer, otherwise it listens to window Also known as: dynamic island, floating header, pill nav, sticky navbar, tab indicator slide, sliding highlight ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/capsule-nav.json ``` --- ## Card Effects (`card-effects`) A library of 14 hover effects for cards: 9 single-card effects switched with the effect prop on EffectCard (lift, spotlight, 3D tilt, glare, flip, info slide-up, wobble, curl, border beam) plus 5 group components (FocusGrid, StackFan, SpotlightGrid, ExpandingPanels, BentoExpand) that take an items array. border-beam sends a thin segment once around the border on hover or focus and keeps it travelling in the brand colour while active (processing or selected), and passing a price makes tilt-3d split image, title and price into three depth layers (depth sets the spacing). With reduced motion the cards stay still, only colors change, flip backs and info panels remain reachable, and active shows as a full brand-colour border. - Tier: Free (MIT) - Series: motion (call get_design_rules with this series before editing the block) - Interaction: hover - Categories: animation, card - npm dependencies: framer-motion - Files: card-effects.tsx - Live preview: https://sunui.synvize.com/blocks/card-effects ### When to use - Product, article or destination grids that need a responsive hover state - Feature showcases and galleries where one card should stand out ### Watch out - Hover does not exist on touch screens, so keep key info visible without it - Use one effect per grid; mixing tilt, glare and wobble on one page feels noisy Also known as: hover card, tilt card, 3d card, holographic card, glare card, flip card, spotlight card, card hover effect, expanding cards, bento grid, card stack, page curl, border beam, border trail, processing card, product tilt card ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/card-effects.json ``` --- ## Chart Effects (`chart-effects`) Seven animated SVG chart pieces with no chart library: bar grow, donut segments, line draw, number counter, bar race, radial progress and sparkline, switched with one variant prop and played when scrolled into view by default. Under reduced motion the charts render their final values at once and the bar race stops on its last frame. - Tier: Free (MIT) - Series: motion (call get_design_rules with this series before editing the block) - Interaction: scroll - Categories: animation, chart - npm dependencies: framer-motion - Files: chart-effects.tsx - Live preview: https://sunui.synvize.com/blocks/chart-effects ### When to use - Landing pages and reports that reveal a few key numbers as the reader scrolls - Dashboard cards that need a light, dependency free chart with an entrance ### Watch out - Built for small data sets; use a real chart library for axes, tooltips or thousands of points - Always pass a label so the chart summary read by screen readers makes sense Also known as: animated chart, bar chart animation, donut chart, line chart draw, count up, number counter, bar chart race, radial progress, progress ring, sparkline, svg chart ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/chart-effects.json ``` --- ## Check-in Streak (`checkin-streak`) Daily check-in card led by a large streak count and one line on what today does ("check in to make it 5 days"). The last 7 days form a chain: consecutive days are joined by a line, today is linked by a dashed line that turns solid on check-in, and missed days read as missed, not claimable. An optional milestone (for example a bonus every 7 days) adds a segmented progress track. Includes a reward toast and a window event that tells quota displays to refresh. Days carry aria labels, and under reduced motion every change is instant. - Tier: Free (MIT) - Series: product (call get_design_rules with this series before editing the block) - Interaction: press - Categories: rewards, engagement - npm dependencies: framer-motion - Files: checkin-streak.tsx - Live preview: https://sunui.synvize.com/blocks/checkin-streak ### When to use - Daily login or check-in rewards that add credits or quota - Showing a week of attendance next to a single claim action ### Watch out - Pass today as a local YYYY-MM-DD so the 7-day window matches the server - Keep refreshEvent the same as the one your quota display listens to - Set milestone only if your backend pays the bonus too; without onCheckIn returning reward the card adds the bonus itself Also known as: daily check-in, streak, login reward, attendance, streak milestone, login bonus ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/checkin-streak.json ``` --- ## Checkout Steps (`checkout-steps`) Checkout steps that keep their answers: completed steps collapse into a compact line with a small check and the buyer's choice ("7-Eleven pickup", "Visa ·· 4242"), clickable to go back with onStepClick; the current step expands into a labelled pill and future steps shrink to quiet numbered ticks. When the step changes the same track morphs on a spring and an ink line advances; under 420px it becomes "2/4 Payment" with a segmented bar and the answers stay reachable. Ordered list with aria-current="step", shadcn tokens only; reduced motion switches instantly. - Tier: Free (MIT) - Series: product (call get_design_rules with this series before editing the block) - Interaction: section - Categories: checkout, navigation - npm dependencies: framer-motion - Files: checkout-steps.tsx - Live preview: https://sunui.synvize.com/blocks/checkout-steps ### When to use - Showing where a buyer is in a short 2 to 4 step checkout above the step content - Multi-step forms where a full stepper with connectors would be too heavy ### Watch out - Step names are used as React keys, so keep them unique - The theme follows prefers-color-scheme by default; pass theme="light" or "dark" if your site uses a class toggle Also known as: checkout progress, stepper, order steps, step indicator, step progress, step summary, wizard steps ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/checkout-steps.json ``` --- ## CJK Heading (`cjk-heading`) Typeset Traditional Chinese and Japanese campaign headlines: punctuation compression, CJK and Latin spacing, optional vertical writing and a solid highlight in the text colour for one key word. No motion. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: section - Categories: typography, section, cjk - npm dependencies: framer-motion - Files: cjk-heading.tsx - Live preview: https://sunui.synvize.com/blocks/cjk-heading ### When to use - Chinese or Japanese headlines on landing pages - Editorial layouts that want vertical writing ### Watch out - Vertical writing needs a fixed height and short lines - Check punctuation placement in every target font Also known as: vertical text, tategaki, chinese heading, japanese typography ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/cjk-heading.json ``` --- ## Cloth Curtain (`cloth-curtain`) A real WebGL cloth curtain on a rail: a Verlet mass-spring grid with anime cel shading in a deep wine-red by default (pass tones to recolour) that sways in the breeze, gathers into folds as it draws aside (single panel or a centre-parting pair), can follow a dragging hand, and has an adjustable see-through amount. The canvas is aria-hidden and pauses when off screen or the tab is hidden. Under prefers-reduced-motion, or without WebGL, it shows a static striped curtain that switches instantly. - Tier: Free (MIT) - Series: story (call get_design_rules with this series before editing the block) - Interaction: press - Categories: animation, canvas, transition - npm dependencies: framer-motion - Files: cloth-curtain.tsx, cloth-simulation.ts, cloth-renderer.ts - Live preview: https://sunui.synvize.com/blocks/cloth-curtain ### When to use - Revealing a scene, chapter or hero behind a curtain that opens on a button or a story beat - Drag-to-reveal moments where the user pulls the cloth aside with a pointer (pass handRef) ### Watch out - Each instance uses its own WebGL context, so avoid many curtains on one page - sheer is fixed when the simulation is built; use 0 when the curtain must fully hide a scene change Also known as: curtain reveal, fabric simulation, drape transition, stage curtain ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/cloth-curtain.json ``` --- ## Compare Slider (`compare-slider`) Before and after comparison with a draggable divider over a transparent native range input, so click to jump, arrow keys and screen readers all work. An optional demo sweep runs once when the slider first scrolls into view and stops the moment the user touches it. It is skipped under reduced motion. - Tier: Free (MIT) - Series: product (call get_design_rules with this series before editing the block) - Interaction: drag - Categories: media, comparison - npm dependencies: none - Files: compare-slider.tsx - Live preview: https://sunui.synvize.com/blocks/compare-slider ### When to use - Showing an uploaded original next to a generated or edited result - Retouch, upscale or restyle previews where the difference is spatial ### Watch out - The frame follows the result's ratio; a before image with another ratio is letterboxed, not cropped - Keep the demo sweep to one slider per screen Also known as: before after, image compare, reveal slider, diff slider, before-after slider ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/compare-slider.json ``` --- ## Confirm Button (`confirm-button`) Press-twice confirm with no modal. The first press arms the button, swaps its label to the outcome and shows a short notice. A second press within 2.5 s runs the action, and the result appears in a polite status line. It uses usermeld's shadcn button variants and sizes, Escape disarms it, and the spinner respects reduced motion. - Tier: Free (MIT) - Series: product (call get_design_rules with this series before editing the block) - Interaction: press - Categories: buttons, forms - npm dependencies: framer-motion - Files: confirm-button.tsx - Live preview: https://sunui.synvize.com/blocks/confirm-button ### When to use - Irreversible row actions in admin tables where a dialog would be too heavy - Actions that lose progress, such as quick load, where one misclick should not commit ### Watch out - Name confirmLabel after the outcome ("Remove signup"), not "Confirm" - The notice line reserves a little height under the button; account for it in dense tables Also known as: double press, press again to confirm, two-step button, arm and confirm, button loading state, success checkmark ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/confirm-button.json ``` --- ## Content Gate (`content-gate`) Paywalls for paid content in two forms: ContentGate is an inline locked-course card whose sign-in button shows a spinner and disables itself after one press, with different copy for signed-out and no-access visitors, and PaywallOverlay is a blurred overlay with a lock, preview-count message and a primary call to action laid over a player once the free preview runs out. Both follow light and dark themes, the card announces the sign-in state politely, the overlay is a labelled region with a real link or button, and the spinner only spins when reduced motion is off. - Tier: Free (MIT) - Series: product (call get_design_rules with this series before editing the block) - Interaction: press - Categories: commerce, auth - npm dependencies: none - Files: content-gate.tsx - Live preview: https://sunui.synvize.com/blocks/content-gate ### When to use - A paid course or members page reached by someone signed out - A signed-in visitor whose account has no purchase for this content ### Watch out - Pass signInHref or onSignIn; after a press the button stays disabled until the page navigates - Give the parent enough height; the card centers itself with vertical padding Also known as: course gate, locked content, sign-in wall, access card ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/content-gate.json ``` --- ## Cookie Consent (`cookie-consent`) A cookie banner on a raised surface that slides up only until a choice is made. Reject all and Accept all have equal weight, Customize opens per-category switches with necessary ones always on, and a choice shows a small Saved check that settles once before the banner slides away. onChange hands you the consent map and storageKey remembers it. Switches use role switch and the banner is a labelled region. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: section - Categories: form, notification, compliance - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: cookie-consent.tsx - Live preview: https://sunui.synvize.com/blocks/cookie-consent ### When to use - Stores in regions that require opt-in consent for analytics or marketing cookies - Any site that needs a reject option as easy as accept ### Watch out - The component only reports the choice; load analytics or ad scripts yourself after onChange - Change storageKey when your categories change so returning visitors are asked again Also known as: cookie banner, gdpr banner, consent banner, cookie notice, privacy preferences, cookie settings ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/cookie-consent.json ``` --- ## Copy Code Button (`copy-code-button`) Promo code chip with the code set in mono beside a Copy button; copying fades the code and shows a check with Copied over it that settles once, then announces the result. Falls back when the clipboard API is unavailable. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: commerce, button, coupon - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: copy-code-button.tsx - Live preview: https://sunui.synvize.com/blocks/copy-code-button ### When to use - Coupon and promo codes in checkout or emails - Any short string the user needs to paste elsewhere ### Watch out - Clipboard access needs a secure context (https or localhost) - Keep the code visible as text so it can still be copied by hand Also known as: coupon code, copy to clipboard, promo code chip, copy button feedback, copy feedback, copied tooltip ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/copy-code-button.json ``` --- ## Countdown Banner (`countdown-banner`) Sale banner on a raised surface with discount, prices and a flip-card countdown to a real end date, or to the start of a live event followed by a Live now state; shows a quiet Ended line when time is up. Hydration safe (the server prints only the date text), pauses while the tab is hidden and resyncs on return, in English, Chinese and Japanese. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: section - Categories: section, commerce - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: countdown-banner.tsx - Live preview: https://sunui.synvize.com/blocks/countdown-banner ### When to use - Time limited sales with a real end time - Launch day announcements ### Watch out - Only show a countdown that reflects a real deadline - Render the end time on the server so every visitor sees the same clock Also known as: sale banner, timer banner, flash sale, announcement bar, split-flap, flip clock ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/countdown-banner.json ``` --- ## Coupon Wallet (`coupon-wallet`) A stack of owned coupons that fans out on hover, keyboard focus or a first tap, so shoppers can compare and pick one to apply, which marks it Applied. It is a radiogroup with roving focus (arrow keys, Home, End, Escape to collapse), ineligible coupons explain why in their label, and the fan snaps into place without motion under reduced motion. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: hover - Categories: coupon, checkout, cart - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: coupon-wallet.tsx - Live preview: https://sunui.synvize.com/blocks/coupon-wallet ### When to use - Choosing which of several owned coupons to apply at checkout or in the cart - A compact coupon picker where a full list would push the order summary off screen ### Watch out - The fan is about 1.5 card widths wide, so give it a column of at least 22rem or keep it to four coupons - Recalculate the discount on the server; the selection only tells you which coupon the shopper picked Also known as: coupon picker, voucher selector, apply coupon, stacked coupons, fan out cards ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/coupon-wallet.json ``` --- ## Cursor Effects (`cursor-effects`) A library of 7 pointer effects: follower, trail, spotlight, blend circle, crosshair, image hover preview and magnetic area. Switch them with the effect prop; they stay inside their container unless global is set, hide on touch screens, and drop lag and trails when reduced motion is on. - Tier: Free (MIT) - Series: motion (call get_design_rules with this series before editing the block) - Interaction: hover - Categories: animation, cursor - npm dependencies: framer-motion - Files: cursor-effects.tsx - Live preview: https://sunui.synvize.com/blocks/cursor-effects ### When to use - Portfolio and agency pages that want a playful pointer - Project lists that preview an image while hovering each row ### Watch out - Do not hide the system cursor on forms or dense interfaces - Prefer the scoped container over global so the rest of the page stays calm Also known as: custom cursor, cursor follower, cursor trail, mouse trail, spotlight cursor, blend mode cursor, crosshair cursor, image hover reveal, hover preview, magnetic hover ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/cursor-effects.json ``` --- ## Depth Hero (`depth-hero`) A layered hero where a giant headline sits behind the product: a background layer, the headline, a front subject (a transparent image or any node) and readable content on top. Moving a mouse over the section shifts each layer by a different depth through spring-smoothed motion values, and the optional scroll prop also moves the layers at different speeds as the section scrolls past. The content layer never moves. Pointer depth only runs on fine pointers; with reduced motion or depth 0 every layer stays still. - Tier: Free (MIT) - Series: motion (call get_design_rules with this series before editing the block) - Interaction: hover - Categories: animation, hero, landing, marketing - npm dependencies: framer-motion - Files: depth-hero.tsx - Live preview: https://sunui.synvize.com/blocks/depth-hero ### When to use - Product launch and pre-order heroes where one cut-out product should stand in front of its name - Campaign or collection openers with a short word (a product name, a season, two CJK characters) set very large - Founder or portfolio intros with a cut-out portrait in front of a name, with scroll on for a little depth while leaving the section ### Watch out - The subject needs a transparent background (PNG, WebP or SVG) to read as standing in front of the word - Keep the headline short: it is sized to fill the width and is set on one line; long words get cut off on small screens - Put prices, copy and buttons in children so they stay still and readable; do not put them in the moving layers - One per page: it is a signature hero moment, not a section pattern to repeat Also known as: depth hero, parallax hero, layered hero, text behind image, text behind subject, mouse parallax, 3d hero, product launch hero, big type hero, depth effect ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/depth-hero.json ``` --- ## Dial Scrubber (`dial-scrubber`) A large ruler you scrub through: major and minor ticks with labels slide under a fixed center needle, and the ticks near the needle stretch a little. Drag with momentum, scroll the wheel, or use the arrow, Page and Home/End keys; it always settles on a step with a spring. Pass marks to label points such as years or sizes, formatValue for currency or units, and use it controlled or uncontrolled. It is a real slider for assistive tech (role slider with value text). With reduced motion it jumps straight to each step and drops momentum. - Tier: Free (MIT) - Series: motion (call get_design_rules with this series before editing the block) - Interaction: drag - Categories: animation, input, marketing, storytelling - npm dependencies: framer-motion - Files: dial-scrubber.tsx - Live preview: https://sunui.synvize.com/blocks/dial-scrubber ### When to use - Brand history or campaign timelines where scrubbing through years changes the story next to it - Showy single-value pickers on landing pages: gift card amount, donation, ring or shoe size, distance - Pair marks with a caption or image that changes with the value to make a small scrollytelling moment without scrolling the page ### Watch out - It is a display control; inside dense checkout forms use a plain input or the range-slider block - The wheel moves the dial while the pointer is over it, so keep it compact on long pages - Very wide ranges with tiny steps make long drags; raise step or spacing so the whole range is a few swipes - Give it a label; marks should pass text when their label is not plain text so the value is announced fully Also known as: ruler slider, scrubber, timeline scrubber, year picker, dial picker, tick slider, measuring tape slider, amount picker, size picker, wheel picker, horizontal picker ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/dial-scrubber.json ``` --- ## Dialog Sheet (`dialog-sheet`) One dialog for both screens: a centred card on desktop that becomes a bottom sheet under 640px, with a handle you can drag down to close. Focus trap, Escape and scrim close, focus returns to the trigger, controlled or uncontrolled, and contained mode for previews. Ships useExitIntent to open it when the cursor leaves through the top of the page. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: overlay, form - npm dependencies: framer-motion - Files: dialog-sheet.tsx - Live preview: https://sunui.synvize.com/blocks/dialog-sheet ### When to use - Size guides, shipping details or terms that should not leave the product page - A sign-up or offer dialog triggered by exit intent with useExitIntent ### Watch out - Use side-panel instead for long navigation or a cart drawer - useExitIntent never fires on touch devices; give mobile visitors another way to see the offer Also known as: modal, dialog, bottom sheet, popup, exit intent popup, responsive dialog, drawer dialog ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/dialog-sheet.json ``` --- ## Empty State (`empty-state`) Dashed empty-state card with a 1.5-stroke icon, title, description and a Load example plus outline button pair (or a custom action), centered or start-aligned. Buttons are real buttons or links with visible focus rings; it is static, so nothing animates under reduced motion. - Tier: Free (MIT) - Series: product (call get_design_rules with this series before editing the block) - Interaction: section - Categories: feedback, states - npm dependencies: none - Files: empty-state.tsx - Live preview: https://sunui.synvize.com/blocks/empty-state ### When to use - Lists or tables that have no data yet and need a clear next step - First-run screens where loading an example teaches the product faster than an empty form ### Watch out - Passing action replaces the built-in Load example and secondary buttons - Keep the description to one or two short sentences so the card stays scannable Also known as: zero state, blank slate, no data, empty list ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/empty-state.json ``` --- ## Error State (`error-state`) Error panel with a warning icon, friendly title and message, and an optional Retry button. Uses role="alert" so screen readers announce it; it is static, so nothing animates under reduced motion. - Tier: Free (MIT) - Series: product (call get_design_rules with this series before editing the block) - Interaction: section - Categories: feedback, states - npm dependencies: none - Files: error-state.tsx - Live preview: https://sunui.synvize.com/blocks/error-state ### When to use - A list or panel whose data request failed and can be retried - Replacing a section in place when it cannot load, without breaking the rest of the page ### Watch out - Never pass raw exceptions as the message; map them to friendly text first - Omit onRetry when retrying cannot help, so users are not sent in a loop Also known as: error panel, failed to load, retry state, fetch error ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/error-state.json ``` --- ## Expanding Search (`expanding-search`) Store search field that expands into a panel of product suggestions with thumbnails, prices and keyboard navigation (combobox pattern, / shortcut). - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: type - Categories: navigation, search, input - npm dependencies: framer-motion - Files: expanding-search.tsx - Live preview: https://sunui.synvize.com/blocks/expanding-search ### When to use - Compact navbars where a full search field does not fit - Sites where search is secondary but should stay one click away ### Watch out - Leave room in the layout for the expanded width so neighbouring items do not jump - Built-in filtering is a simple substring match; set filterSuggestions to false for server results Also known as: search toggle, collapsible search, search bar, navbar search, autocomplete ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/expanding-search.json ``` --- ## Favorite Button (`favorite-button`) Favorite heart outline that fills red on a short press when saved (the semantic --sunui-like colour, not the brand spot), for bookmarks, likes or a wishlist. aria-pressed toggle with optional count. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: commerce, button, wishlist - npm dependencies: framer-motion - Files: favorite-button.tsx - Live preview: https://sunui.synvize.com/blocks/favorite-button ### When to use - Wishlists, likes and saves on product or content cards - Lightweight toggles that deserve a little delight ### Watch out - Update the count optimistically and roll back on error - Give it an accessible name that includes the item Also known as: like button, heart button, wishlist toggle, save button, like with burst, heart burst ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/favorite-button.json ``` --- ## Floating Field (`floating-field`) A text field that tells you what is left and fixes the obvious: with mask (for example 999-9999) typed characters are followed by the remaining slots in muted text and separators are added for you; with suggest (suggestEmail is exported) it offers a fix for common email domain typos after you leave the field, such as gmial.com to gmail.com, and accepting swaps only the wrong letters in place; with maxLength a character count sits on the label line, or with counter="ring" a small ring fills as you type and shows the characters left in the last tenth. With strength it becomes a password field with a four-segment concave meter that fills by level (the spot colour only when every rule passes) and a live checklist of configurable rules; the show/hide button still goes in the trailing slot. The floated label stays readable at 12px, and validation, hints, server errors, textarea and the trailing slot work as before. Reduced motion switches instantly. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: type - Categories: form, input - npm dependencies: framer-motion - Files: floating-field.tsx - Live preview: https://sunui.synvize.com/blocks/floating-field ### When to use - Checkout, address and sign-up forms - Fixed-format fields such as postcodes and phone numbers, and email fields where domain typos are common ### Watch out - Validation is synchronous; pass async results through the error prop - mask suits fixed-length formats; textareas do not show remaining slots - suggestEmail ships with common domains; pass your own list as the second argument Also known as: floating label, inline validation, text field, material input, form field, input with label, input mask, email typo, did you mean, password strength, password strength input, password meter, password checklist ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/floating-field.json ``` --- ## Gradient Backdrop (`gradient-backdrop`) A code-drawn gradient background with nine presets: mesh, grain, silk, aurora, color flow, floral, horizon, line maze and a real-time plasma shader on Canvas 2D. Pick a named palette or pass your own colors (hex, oklch or var(--token)), add film grain and an optional pointer light, and put any content on top as children. No image files. Loops pause off screen and in hidden tabs; with reduced motion it draws a still frame. - Tier: Free (MIT) - Series: motion (call get_design_rules with this series before editing the block) - Interaction: section - Categories: background, hero, animation, marketing - npm dependencies: framer-motion - Files: gradient-backdrop.tsx - Live preview: https://sunui.synvize.com/blocks/gradient-backdrop ### When to use - Behind a landing page hero, launch banner or pricing header that needs atmosphere without image assets - A branded backdrop for cards, empty states or section dividers, using the brand colors through the colors prop - Picking a background style quickly: switch preset and palette instead of exporting a new image ### Watch out - It is a motion series piece. Core and product series pages stay restrained, without decorative gradients - Check text contrast on top: light palettes (pastel, meadow) need dark text, the rest need light text - colors[0] is the base color; the rest are accents, so put the background color first - Keep one animated backdrop per screen; for many small cards set animate={false} Also known as: gradient background, mesh gradient, grainy gradient, noise gradient, aurora background, animated gradient, silk gradient, shader background, hero background, blob background ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/gradient-backdrop.json ``` --- ## Hero Billboard Carousel (`hero-billboard-carousel`) A full-width billboard carousel: a large centre cover with the previous and next slides peeking at the sides, a blurred ambient glow behind, swipe or drag to change, arrows, and dot indicators where the current dot becomes a 6.5 s progress bar. It follows the W3C APG carousel pattern (pauses on hover, on keyboard focus and when the tab is hidden; arrow keys; slide roles and labels); reduced motion turns off autoplay, Ken Burns and slide motion. - Tier: Free (MIT) - Series: showcase (call get_design_rules with this series before editing the block) - Interaction: drag - Categories: carousel, hero, marketing - npm dependencies: none - Files: hero-billboard-carousel.tsx - Live preview: https://sunui.synvize.com/blocks/hero-billboard-carousel ### When to use - First screen of a landing page promoting a few events, courses or launches - Featuring 3 to 7 items where each needs a title, meta line and call to action ### Watch out - Use at least 3 slides so both sides have a peeking card - Sizes come from the container width and viewport height, so give it a full-width parent Also known as: billboard, hero slider, featured carousel, netflix style hero ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/hero-billboard-carousel.json ``` --- ## Hotspots (`hotspots`) Numbered pins on a picture (a product shot, screenshot, map or diagram) that open a note card about that part: positions in percent, the open pin turns into an x, notes open to the side away from the nearest edge, and Escape or a click outside closes. Controlled or uncontrolled, numbers or plain dots, and an action slot for a link, a price or add to cart. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: product, media, commerce - npm dependencies: framer-motion - Files: hotspots.tsx - Live preview: https://sunui.synvize.com/blocks/hotspots ### When to use - Product pages that explain materials and details - Shop the look photos with several products in one picture ### Watch out - Keep pins away from the outer 10 percent so notes have room - Repeat the key details as text on the page for people who skip the picture Also known as: hotspots, image hotspots, product tour, shop the look, annotated image, pins on image ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/hotspots.json ``` --- ## Hover Card (`hover-card`) A product quick-view card that opens after a short hover delay and stays open while the pointer moves into it, with price, discount and an add to cart button. Keyboard focus opens it, Escape closes it and returns focus, touch opens it on first tap, it flips above the trigger near the viewport edge, and reduced motion removes the slide. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: hover - Categories: commerce, overlay, product - npm dependencies: framer-motion - Files: hover-card.tsx - Live preview: https://sunui.synvize.com/blocks/hover-card ### When to use - Product names inside carts, bundles or editorial text where a quick preview saves a page visit - Recommendation lists where shoppers compare price before opening the product page ### Watch out - It is positioned inside its parent, so an overflow hidden ancestor will clip the card - Keep essential information on the product page too; the card is a shortcut, not the only place Also known as: quick view, product preview, popover card, hover preview, peek card ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/hover-card.json ``` --- ## Hover Motion (`hover-motion`) Four small hover pieces for navigation and landing pages: Magnetic pulls a button gently toward the cursor and springs back, InkUnderline draws a line in from the left and out to the right, TextRoll rolls each letter up while the same word rolls in from below, and HoverPreviewList shows a row's picture beside the cursor. All switch off on touch screens and with reduced motion. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: hover - Categories: animation, navigation, cursor - npm dependencies: framer-motion - Files: hover-motion.tsx - Live preview: https://sunui.synvize.com/blocks/hover-motion ### When to use - Header menus and footer links - One main call to action on a campaign page - Text-only lookbook or collection lists that preview a photo on hover ### Watch out - Use Magnetic on one button per view, not every button - HoverPreviewList previews never show on touch screens, so rows must make sense as text alone Also known as: magnetic button, underline animation, text roll, hover image reveal, link hover, menu hover, cursor image preview ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/hover-motion.json ``` --- ## Image Effects (`image-effects`) A library of 11 image effects: 9 switched with the effect prop on ImageEffect (Ken Burns, clip reveal, soft mask, hover zoom, zoom lens, image swap, glitch, saturate, parallax frame) plus SliceSlideshow and Lightbox for several images. With reduced motion images appear in their final state, loops and autoplay stop, and every image keeps its alt text. - Tier: Free (MIT) - Series: motion (call get_design_rules with this series before editing the block) - Interaction: hover - Categories: animation, media - npm dependencies: framer-motion - Files: image-effects.tsx - Live preview: https://sunui.synvize.com/blocks/image-effects ### When to use - Product photos, portfolios and editorial images that need a hover or reveal effect - Hero and gallery sections that benefit from slow motion or a zoom view ### Watch out - Zoom lens and parallax need images larger than their frame to stay sharp - Glitch and Ken Burns draw attention; use them on one image, not a whole grid Also known as: ken burns, image reveal, clip path reveal, image hover zoom, zoom lens, magnifier, image swap, glitch effect, grayscale hover, parallax image, slice slideshow, lightbox ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/image-effects.json ``` --- ## Infinite Canvas (`infinite-canvas`) A gallery board that never ends: images or your own nodes tile a grid that wraps in both directions, and only the cells near the viewport are rendered and recycled. Drag to pan with inertia, scroll or swipe a trackpad, or use the arrow keys to glide one cell at a time and Enter to open the centered tile. Clicks under the drag threshold call onSelect. An optional slow drift pans it on its own while it is on screen. Loops pause off screen and in hidden tabs; with reduced motion it still pans but drops inertia and drift. - Tier: Free (MIT) - Series: motion (call get_design_rules with this series before editing the block) - Interaction: drag - Categories: animation, media, gallery, marketing - npm dependencies: framer-motion - Files: infinite-canvas.tsx - Live preview: https://sunui.synvize.com/blocks/infinite-canvas ### When to use - Lookbooks, moodboards and collection pages where browsing should feel like wandering a table of products - Portfolio or campaign archives with more pieces than fit a grid, so visitors explore instead of paging - A hero backdrop that drifts slowly behind a headline, with drift set and onSelect left out ### Watch out - The wheel pans the canvas, so the page will not scroll while the pointer is over it; give it a fixed height and leave page room around it, or set wheel={false} - Items repeat across the plane, so it suits 8 or more pieces; with only a few, the repetition is obvious - Tiles inside the canvas are hidden from screen readers; a plain list of item labels is rendered for them, so give every item a label or alt - It is a motion series piece; do not use it for product grids people need to filter, sort or compare Also known as: infinite canvas, infinite gallery, draggable gallery, pan and zoom gallery, endless grid, moodboard, lookbook, infinite scroll grid, drag to explore, wrap around grid ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/infinite-canvas.json ``` --- ## Jobs Tray (`jobs-tray`) One background job kit in four layouts sharing a single Job type: a bottom-right tray with a useBackgroundJobs hook, a console row, a progress side panel with named steps and cancel or retry, and a grid tile with a shimmer over the reference image. Progress percent, queue position, ETA, failure notes and the four-locale strings come from the same helpers; the tray is a polite live region and every pulse, shimmer and spinner stops under reduced motion. - Tier: Free (MIT) - Series: product (call get_design_rules with this series before editing the block) - Interaction: loading - Categories: feedback, status - npm dependencies: framer-motion - Files: jobs-tray.tsx, job-views.tsx - Live preview: https://sunui.synvize.com/blocks/jobs-tray ### When to use - Saving, encoding or exporting continues after the user is allowed back into the editor - Surfacing background failures that need the user's attention ### Watch out - Successful jobs are removed after 8 s and quick ones are never shown, so do not rely on the tray as a log - Keep failed rows until dismissed; they are the reason the tray exists Also known as: background jobs panel, task tray, job queue ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/jobs-tray.json ``` --- ## Lightbox (`lightbox`) Image gallery whose thumbnail grows into the full view and shrinks back on close; switching images sends the old one back to its thumbnail while the next grows from its own. Arrow keys and swipe change images, Escape, the scrim or a downward drag closes, focus returns to the thumbnail, and you can control the index or render custom thumbnails. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: media, product, overlay - npm dependencies: framer-motion - Files: lightbox.tsx - Live preview: https://sunui.synvize.com/blocks/lightbox ### When to use - Product photo galleries and review photos - Lookbooks and user generated photo grids ### Watch out - Provide real alt text for every image; it is the dialog label - Custom thumbnails from renderThumb do not get the grow animation Also known as: lightbox, image gallery, photo viewer, image zoom modal, gallery modal, view transition ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/lightbox.json ``` --- ## Loading Button (`loading-button`) A submit button that handles its own async state: return a Promise from onClick and it goes loading, then success with a drawn check or error with a retry label, and resets after a delay. Shrink style collapses into a round spinner, inline style keeps the width. Also accepts a controlled state, announces each state politely and ignores presses while busy. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: button, feedback, form - npm dependencies: framer-motion - Files: loading-button.tsx - Live preview: https://sunui.synvize.com/blocks/loading-button ### When to use - Subscribe, pay, apply coupon or save buttons that call an API - Any form submit where people press twice because nothing seemed to happen ### Watch out - The success check is the whole confirmation; do not add a celebration on top - Pass state yourself if the result arrives through a websocket or polling instead of the click Promise Also known as: submit button, async button, spinner button, progress button, stateful button, loading state ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/loading-button.json ``` --- ## Loading Effects (`loading-effects`) Twenty-six loading indicators: a Loader with twenty-three variants (bouncing dots, equalizer, ring spinner, spinner to check, orbit, pulse dot, progress ring, bar, indeterminate bar, typing indicator, liquid fill, eight dot orbit, center dots, six dot scale, half ring, twin pulse, wave scanner, split diamond, type sweep, step relay, scale fade, signal trace, loop track) switched by the variant prop, plus TopLoadingBar, MultiStepLoader, Skeleton and DotMatrixLoader. DotMatrixLoader is a 7 by 7 dot grid with six patterns (wave, spiral, rain, ripple, snake, scan) and four states: loading loops the pattern, progress fills dots by value in the order of that pattern, success and error light every dot once and then keep only a check or a cross. The palette prop picks the colour: spot (the brand spot colour, default), status (green on success), mono (the theme text colour only, black on light and white on dark), or a drifting oklch gradient (aurora, sunset, lagoon, prism); error is always red. shape (dot, square, diamond, ring, bar), glow (LED glow for dark surfaces) and emphasis (fade or scale) change the look; the demo shows eight combinations. The spinner-check variant closes its arc when done is true, then a disc settles once and a check is drawn. Loader, TopLoadingBar and MultiStepLoader take the same palette prop as DotMatrixLoader (spot by default, now reading --sunui-spot with a --primary fallback; status turns green when finished; gradients colour each dot, bar or step along the hue range). Skeleton stays neutral. Every loader has role status with a hidden label, and under reduced motion loops stop while progress values stay visible. - Tier: Free (MIT) - Series: motion (call get_design_rules with this series before editing the block) - Interaction: loading - Categories: animation, feedback - npm dependencies: framer-motion - Files: loading-effects.tsx - Live preview: https://sunui.synvize.com/blocks/loading-effects ### When to use - Waiting states for fetches, uploads and route changes, from inline spinners to a top page bar - Long jobs with known stages or percentages, shown with the multi-step list, progress ring or liquid fill - One indicator that carries an upload from waiting to percent to done or failed without swapping components: DotMatrixLoader with the state prop ### Watch out - Prefer skeletons or determinate progress when the wait is longer than a second or two - Pass a localized label so screen readers announce what is loading Also known as: spinner, loader, loading dots, progress bar, progress ring, circular progress, nprogress, top loading bar, typing indicator, skeleton, shimmer, monochrome loader, black and white spinner, multi step loader, loader set, spinner to check, loading success, spinner checkmark, dot matrix loader, pixel loader, grid loader, upload progress, gradient loader, colorful loader, led matrix, pixel grid loader ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/loading-effects.json ``` --- ## Low Stock Indicator (`low-stock-indicator`) Honest stock meter: one segment per unit when stock is small, otherwise a thin bar; the brand spot colour at the critical level and a plain muted Sold out line when it runs out. Never counts down on its own. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: loading - Categories: commerce, inventory, status - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: low-stock-indicator.tsx - Live preview: https://sunui.synvize.com/blocks/low-stock-indicator ### When to use - Product pages where stock is genuinely limited - Ticket and seat selection ### Watch out - Only show real inventory numbers, fake scarcity erodes trust - Hide it entirely when stock is comfortable Also known as: stock badge, inventory meter, only n left, scarcity indicator ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/low-stock-indicator.json ``` --- ## Micro Interactions (`micro-interactions`) Twenty-seven small, self-contained interaction components: like burst, confetti button, success check, drawn checkbox, stretchy toggle, copy feedback, notification badge, floating label, slide to confirm, hold to confirm, swipe to delete, paper plane send button, password reveal, clear input, radio select with a travelling dot, folder drop, quick reply chips, mute switch, reaction tray, padlock toggle, pin toggle, list to grid, permission gate, face scan, crop frame with aspect ratios, sort handle with keyboard reordering and resize frame that snaps to a grid. The toggle's knob squashes and stretches toward its target while pressed and settles with a spring on release. Import each by name or switch with the effect prop on MicroInteraction; with reduced motion, bursts and flights are skipped and only the state and color change remain. Accent parts read --sunui-spot like the other blocks, falling back to --primary. - Tier: Free (MIT) - Series: motion (call get_design_rules with this series before editing the block) - Interaction: press - Categories: animation, feedback - npm dependencies: framer-motion - Files: micro-interactions.tsx - Live preview: https://sunui.synvize.com/blocks/micro-interactions ### When to use - Confirming small actions such as liking, copying, sending or toggling a setting - Guarding destructive or payment actions with slide, hold or swipe gestures ### Watch out - Always keep the keyboard and visible button alternatives for gesture controls - Do not stack several celebratory effects on one action Also known as: like button, confetti, success animation, animated checkbox, toggle switch, copy to clipboard, notification badge, floating label, slide to confirm, hold to confirm, swipe to delete, password toggle, clear button, radio group, save to folder, suggested replies, mute toggle, emoji reactions, lock toggle, pin button, view switcher, permission prompt, face id, image cropper, drag to reorder, resizable box ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/micro-interactions.json ``` --- ## Notify Badge (`notify-badge`) Count badge for any icon: wraps a bell, bag or chat icon and shows a number, a max+ cap or a plain dot. It gives a small bump when the count rises and stays still when it falls, sits in one of three corners, and offers the brand spot colour (accent), the text colour (ink) or theme primary tones with a screen reader label you phrase yourself. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: badge, notification, navigation - npm dependencies: framer-motion - Files: notify-badge.tsx - Live preview: https://sunui.synvize.com/blocks/notify-badge ### When to use - Cart counts, unread messages and new notifications in a store header ### Watch out - Keep one emphasized badge per header; use the quieter tone for the rest - The wrapper is a span, so put the button around it, not inside Also known as: notification badge, count badge, cart count, unread dot, badge counter, indicator ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/notify-badge.json ``` --- ## Orbit Gallery (`orbit-gallery`) Images on a sphere in CSS 3D, spread evenly with a Fibonacci layout. Drag to spin it and it keeps turning and slows down; click or tab to a tile and the sphere turns it to the front and calls onSelect. Tiles facing away fade out and stop taking clicks, a slow auto-rotate runs until someone interacts, and every loop pauses off screen and in hidden tabs. Arrow keys turn it, the chosen image is announced politely, and with reduced motion it becomes a plain grid of all images. - Tier: Free (MIT) - Series: motion (call get_design_rules with this series before editing the block) - Interaction: drag - Categories: animation, media, marketing, hero - npm dependencies: framer-motion - Files: orbit-gallery.tsx - Live preview: https://sunui.synvize.com/blocks/orbit-gallery ### When to use - A hero or campaign section that shows the breadth of a collection, portfolio or community at a glance - Picking one item out of many in a playful way, with onSelect driving a caption or detail panel - Brand or event pages where a 3D moment helps more than a long grid ### Watch out - It is a motion series piece; keep it out of checkout, cart and other core or product blocks - With fewer images than count, images repeat; pass at least 8 distinct images so repeats are not obvious - Vertical drags on touch screens scroll the page; the sphere turns sideways on touch and in both directions with a mouse or keys - Tiles are small: do not rely on text inside the images Also known as: image sphere, 3d gallery, sphere gallery, globe gallery, orbit sphere, rotating gallery, photo globe, 3d photo sphere, spinning gallery, fibonacci sphere ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/orbit-gallery.json ``` --- ## Order History (`order-history`) A list of past orders on a card with small status marks, expandable line items with dotted leaders and totals, an actions slot for buy again or track, and an empty state. Each row is a disclosure button with aria-expanded and aria-controls, and the expand and collapse are instant under reduced motion. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: commerce, receipt, status - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: order-history.tsx - Live preview: https://sunui.synvize.com/blocks/order-history ### When to use - The orders tab of a customer account page - A recent orders panel on an account dashboard with buy again shortcuts ### Watch out - Totals are computed from line items, shipping and discount on the client; pass server-confirmed values so they match the real charge - For a single order's shipping timeline use order-tracker instead Also known as: order list, purchase history, my orders, past orders, order receipts ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/order-history.json ``` --- ## OTP Input (`otp-input`) One-time code entry with one bordered box per digit: auto-advance, paste to fill, keyboard navigation, a short error shake and a check with Verified on success that settles once. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: type - Categories: form, input, auth - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp, @sunui/sunui-motion - Files: otp-input.tsx - Live preview: https://sunui.synvize.com/blocks/otp-input ### When to use - Sign in and two step verification codes - Short numeric codes from SMS or email ### Watch out - Keep autocomplete one-time-code so phones can autofill - Do not auto-submit before the last digit is entered Also known as: one-time code input, verification code, pin input, 2fa code, shake on error ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/otp-input.json ``` --- ## Pagination (`pagination`) Page navigation with a fixed width ellipsis range (first, last, current and siblings), previous and next controls, aria-current="page" and an optional compact '3 / 12' mode; pass getHref to render crawlable links or onPageChange for buttons. A small underline slides to the current page with a snappy spring, and jumps instantly under reduced motion. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: navigation, listing - npm dependencies: framer-motion - Files: pagination.tsx - Live preview: https://sunui.synvize.com/blocks/pagination ### When to use - Product listing, search result and order history pages with a known page count - SEO sensitive catalogues where every page needs a real link ### Watch out - Use getHref for pages that should be indexed; buttons alone are invisible to crawlers - For endless feeds without a total count, prefer a load more button Also known as: pager, page numbers, paginator, page navigation, next previous ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/pagination.json ``` --- ## Payment Status Banner (`payment-status-banner`) Frosted full-width banner shown when a buyer returns from checkout: pending polls every 3 s up to 8 times and turns into success once access is unlocked, success stays and links to the course, failed and error close themselves after 8 s. Uses role="status" for pending and success and role="alert" for failures, has a labelled close button, and the spinner stops under reduced motion. - Tier: Free (MIT) - Series: product (call get_design_rules with this series before editing the block) - Interaction: loading - Categories: checkout, feedback - npm dependencies: framer-motion - Files: payment-status-banner.tsx - Live preview: https://sunui.synvize.com/blocks/payment-status-banner ### When to use - Landing page after a hosted payment redirect (?checkout=success|pending|failed|error) - Payments where a webhook unlocks access some seconds after the redirect ### Watch out - onRefresh must actually refetch and update the unlocked prop, otherwise pending never turns into success - Colours are tuned for dark pages; set fixed={false} when placing it inside a layout Also known as: checkout banner, payment result, order confirmation bar, payment pending notice ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/payment-status-banner.json ``` --- ## Person Chip (`person-chip`) Name and project chips with a stable identity dot hashed from the id, drawn from 8 equal-lightness, low-chroma OKLCH hues that read the same in light and dark; text stays ink, colour lives only on the dot. PersonChip has emphasized (self), selected, highlighted (changed, dashed), muted and locked states, EmployeeChip is the same keyed by employeeId, AppChip tags an app with an optional paid mark, and AppDot is the dot alone. PersonChipGroup collapses people past max into a +N chip that expands in place, names sliding out of it while surrounding content slides, and one shared selection frame slides between chips; arrow keys move between chips. Clickable chips are buttons with aria-pressed, the toggle has aria-expanded, dots are aria-hidden, and reduced motion switches instantly. - Tier: Free (MIT) - Series: product (call get_design_rules with this series before editing the block) - Interaction: press - Categories: badge, avatar, data-display - npm dependencies: framer-motion - Files: person-chip.tsx - Live preview: https://sunui.synvize.com/blocks/person-chip ### When to use - Staff or member rows on schedules and rosters where each person keeps the same colour on every screen - Busy team panels that show the first few people and collapse the rest into +N - Selecting one person to open details in a side panel ### Watch out - personColor cycles 8 colours by id modulo, so different ids can share a colour; never use colour as the only identifier - Pass onClick (onSelect on a group) to get a button with aria-pressed; without it the chip is a plain span - When PersonChipGroup is collapsed, the selected person always stays visible Also known as: person chip, employee chip, staff tag, member pill, avatar group ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/person-chip.json ``` --- ## Phone Frame (`phone-frame`) A phone mockup with a dynamic island, status bar (time, signal, wifi, battery), an optional browser URL bar and a home indicator, with a compact layout below 240px width. It renders as a labelled figure with the decorative chrome hidden from assistive tech, and a single frame does not animate. The PhonePair named export overlaps two PhoneFrames tilted in 3D with screens passed as ReactNode, where the front phone follows the cursor more than the back one (springs, fine pointers only) and reduced motion keeps the resting pose. - Tier: Free (MIT) - Series: product (call get_design_rules with this series before editing the block) - Interaction: section - Categories: marketing, presentation, layout - npm dependencies: framer-motion - Files: phone-frame.tsx - Live preview: https://sunui.synvize.com/blocks/phone-frame ### When to use - Showing a mobile screen or mobile web page next to an article or pitch - Previewing how a flow such as a cart or checkout looks on a phone ### Watch out - The width is fixed in pixels and shrinks to 100% in narrow containers; set height so long content scrolls inside the screen - It is a mockup; pass badge (for example Simulated) when the content is drawn, not recorded Also known as: phone mockup, iphone frame, mobile device frame, smartphone mockup, tilted phone pair, phone pair, two phone mockup ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/phone-frame.json ``` --- ## Pixel FX (`pixel-fx`) Code-drawn pixel art effects on a canvas that sits over any element: a collect burst for claiming a reward, two party poppers of paper confetti, and a block dissolve that covers a screen or unveils what is underneath. Ported from the MIT pixelfx engine (two buffers, opaque pixels with ordered dither plus additive light, seeded so each play is repeatable). Effects take a palette and default to the story series' gold and SunUI's neutral grays. The canvas ignores the pointer and runs only while playing; with reduced motion nothing animates and onDone fires at once. - Tier: Free (MIT) - Series: story (call get_design_rules with this series before editing the block) - Interaction: press - Categories: game-ui, animation, canvas, rewards - npm dependencies: framer-motion - Files: pixel-fx.tsx, pixel-fx-core.ts, pixel-fx-effects.ts - Live preview: https://sunui.synvize.com/blocks/pixel-fx ### When to use - The moment a player claims a daily reward, a drop or in-game currency - Unveiling a prize, a gift code or a gacha result after the player asks for it - A screen-to-screen transition in a pixel or retro styled game UI ### Watch out - It is a celebration language for game UI. Core-series commerce pages confirm with the Result mark, not particles - Play it in response to a user action, never on a loop or on page load - Content under pixelReveal is visible to the DOM; mark it inert and aria-hidden until onDone, as the demo does - Effects are drawn in art pixels: a very large box at pixelSize 1 costs more per frame, keep pixelSize at 2 or more Also known as: pixel effects, particles, confetti, reward burst, sparkle, pixel transition, dissolve, gacha reveal, game vfx ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/pixel-fx.json ``` --- ## Plush Portrait (`plush-portrait`) A cut-out portrait visitors can grab and stretch like a soft toy. The skin is a damped spring mesh: a pull drags the cheek out, the head leans on a soft neck, and it wobbles back on release. Faces cross-fade on hover, grab, pull and release, the eyes follow the cursor and blink, and it yawns when the page goes quiet. The bust sits in a circle or square and the head pops out above it. One WebGL draw, no dependencies; without WebGL or with reduced motion it stays a still picture. Bring your own face images, all with the same framing; the install includes a plush-faces agent skill that generates, checks and converts the set. - Tier: Free (MIT) - Series: motion (call get_design_rules with this series before editing the block) - Interaction: section - Categories: hero, avatar, animation, marketing - npm dependencies: framer-motion - Files: plush-portrait.tsx, SKILL.md, check-faces.mjs, SKILL.md, check-faces.mjs - Live preview: https://sunui.synvize.com/blocks/plush-portrait ### When to use - An about page, personal site or founder section where the portrait should feel alive and playful - A brand mascot or creator profile on a campaign page that invites visitors to play - Team pages where each person gets a squishable avatar (one live portrait per screen works best) ### Watch out - You supply the images: a transparent PNG or WebP per face, all the same size, square, and pixel-aligned, or the cross-fades will jump. Only faces.rest is required. The install adds a plush-faces agent skill (.claude/skills and .agents/skills) that makes the set with an image tool, checks alignment and converts it - Images must be same-origin or served with CORS headers; otherwise WebGL cannot read them - frameBox sets where the circle or square sits in image space; adjust it when the head is not centred like the demo - The canvas reaches about a third of the portrait's width past each side so skin can stretch. Near a viewport edge, give a parent overflow-x: clip - Uses WebGL. Keep one per screen, and do not use a real person's photo without their consent Also known as: squishy avatar, stretchy face, grabbable portrait, plushie photo, interactive avatar, face that follows cursor, jelly portrait, about me hero, founder portrait, soft body image ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/plush-portrait.json ``` --- ## Point Cloud (`point-cloud`) A cloud of dots in 3D that forms a sphere, torus, helix, cube, wave or the outline of a word (CJK included), drawn on Canvas 2D with perspective so nearer dots are larger and brighter. Drag to spin it with inertia, and a fine pointer pushes nearby dots aside before they spring back. Changing the shape prop morphs every dot to its new place. It spins slowly while on screen (words only sway so they stay readable), pauses off screen and in hidden tabs, follows the text color, and with reduced motion draws one still frame and switches shapes instantly. - Tier: Free (MIT) - Series: motion (call get_design_rules with this series before editing the block) - Interaction: drag - Categories: animation, hero, marketing, landing - npm dependencies: framer-motion - Files: point-cloud.tsx - Live preview: https://sunui.synvize.com/blocks/point-cloud ### When to use - Landing heroes that want one technical, three-dimensional visual without a 3D library or model files - Feature lists where hovering each item morphs the cloud into a matching shape (pass the shape from state) - Sale or launch banners that spell a short word in dots, such as SALE or a two-character CJK word ### Watch out - Use one per view: each cloud runs its own animation loop while visible - Keep text to a short word; long strings get thin and hard to read - Dots use currentColor; on a dark panel set color or a light text class so they stay visible - Touch drags rotate horizontally while vertical swipes still scroll the page Also known as: particle sphere, 3d particles, dot sphere, point cloud, particle globe, particle text, morphing particles, rotating globe dots, 3d dots, interactive particles ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/point-cloud.json ``` --- ## Product Media (`product-media`) The image slot for a product card or page: on desktop hovering swaps to the second angle and a click zooms in and pans with the pointer; on touch it swipes left and right instead. Dots and a 1/3 counter sit below, arrow keys change images, Escape leaves zoom, and renderImage accepts next/image. Under reduced motion images switch instantly. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: hover - Categories: media, commerce - npm dependencies: framer-motion - Files: product-media.tsx - Live preview: https://sunui.synvize.com/blocks/product-media ### When to use - Product cards that should show a second angle on hover - Product pages where shoppers need to inspect texture or detail without opening a lightbox ### Watch out - Provide images of the same aspect ratio; they are cropped with object-cover - Zoom uses the displayed image, so pass a large enough source for zoomScale Also known as: image swap on hover, hover zoom, zoom and pan, magnifier, product image carousel, swipe gallery, second image hover ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/product-media.json ``` --- ## Quantity Stepper (`quantity-stepper`) Quantity stepper with tabular count, long-press repeat, typed input, min and max limits and a remove action at the minimum. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: commerce, input, cart - npm dependencies: framer-motion - Files: quantity-stepper.tsx - Live preview: https://sunui.synvize.com/blocks/quantity-stepper ### When to use - Cart and checkout line items - Any bounded numeric input changed in small steps ### Watch out - The plus and minus buttons are removed from the tab order; keyboard users adjust via the field itself - Typed values snap to the nearest step, so tell users when step is larger than 1 Also known as: number stepper, counter input, qty picker, spin button, plus minus input, number roll stepper ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/quantity-stepper.json ``` --- ## Quota Meter (`quota-meter`) Remaining quota as a percent plus about how many images are left, in three forms: sidebar ring, mobile sheet bar, and plans-page card. When today's check-in is unclaimed, the second line becomes a check-in nudge. The included hook refetches on window focus, on route or job-count change, and on the rewards event. It uses progressbar roles, an aria-labelled link and a focus-reachable tooltip when the sidebar is collapsed, and drops transitions under reduced motion. - Tier: Free (MIT) - Series: product (call get_design_rules with this series before editing the block) - Interaction: loading - Categories: billing, usage - npm dependencies: none - Files: quota-meter.tsx - Live preview: https://sunui.synvize.com/blocks/quota-meter ### When to use - Showing remaining generation quota in an app sidebar or account sheet - A plans page summary with a nudge toward a daily reward ### Watch out - Show images and percent, never raw credits, to match the source wording - Pass a refreshKey that changes when a job finishes so the meter updates Also known as: usage meter, credits left, quota ring, remaining balance ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/quota-meter.json ``` --- ## Range Slider (`range-slider`) Slider for any numeric value or range (price, rating, volume, quota) that takes a number for one thumb or a [low, high] pair for a range: step snapping, minimum gap, ticks, a value bubble while dragging or focused, custom formatting and hidden inputs for forms. Click the track to jump the nearest thumb, use arrows, Page keys, Home and End, and get onValueCommit once when the drag ends. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: drag - Categories: input, form, commerce - npm dependencies: framer-motion - Files: range-slider.tsx - Live preview: https://sunui.synvize.com/blocks/range-slider ### When to use - Price range filters on a product listing - Minimum rating, budget or distance filters ### Watch out - Run expensive searches from onValueCommit, not onValueChange - For a handful of exact values, sliding-tabs chips are easier to hit on phones Also known as: price slider, range slider, dual slider, double range, min max slider, price filter ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/range-slider.json ``` --- ## Raster Image (`raster-image`) Redraws any image as print-style marks on a canvas: halftone dots on an angled screen, ASCII characters, a dot matrix, 1-bit ordered dither or engraved lines, switched with the mode prop. Marks take the text color, so they follow Light and Dark themes, and a fine pointer makes nearby marks swell and push aside before they ease back. An optional sweep draws it in the first time it scrolls into view. It redraws only while something moves, pauses off screen and in hidden tabs, keeps the alt text on the wrapper, and with reduced motion shows a still print. - Tier: Free (MIT) - Series: motion (call get_design_rules with this series before editing the block) - Interaction: hover - Categories: animation, media, marketing, hero - npm dependencies: framer-motion - Files: raster-image.tsx - Live preview: https://sunui.synvize.com/blocks/raster-image ### When to use - Product or campaign images that should read as a print, poster or newspaper photo instead of a plain photo - Editorial and lookbook sections where one hero image gets a halftone or ASCII treatment that reacts to the pointer - Dark sections that need a light, low-contrast rendition of a product (use invert with a light color) ### Watch out - Remote images must send CORS headers or the canvas cannot read their pixels; data URIs and same-origin files always work - Give the wrapper a size: it defaults to a 4:3 box at full width, override with aspect or height classes - Small cells over large areas cost more per frame; keep cell at 6px or above for full-width heroes, and ASCII at 8px or above - It is a motion series piece; do not use it for product photos people need to inspect before buying Also known as: halftone image, ascii art, ascii image, dot matrix, dither effect, bitmap effect, newspaper print effect, engraving effect, pixel image, image to dots, interactive halftone ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/raster-image.json ``` --- ## License and Redeem Panel (`redeem-key-input`) Dark, monochrome license panel with one input for a 12-character supporter code or a Lemon Squeezy UUID key. As you type it detects which one it is and groups it (XXXX-XXXX-XXXX or 8-4-4-4-12); each group settles only when it is complete, and the label shows what was detected and how many characters are in. A paste fills it at once. On success the input row morphs in place into the license card: the masked key stays as the anchor and the tier name and an Activated stamp appear where the button was; deactivating morphs it back. It shows the free, trial, basic, pro and supporter tiers, explains grace, expired and invalid states, offers activate, deactivate and revalidate, and turns provider errors into next steps. A rejected key shakes the row once. The accent defaults to neutral ink and can be overridden. Results are announced in a polite live region, and under reduced motion every morph is instant. - Tier: Free (MIT) - Series: product (call get_design_rules with this series before editing the block) - Interaction: type - Categories: commerce, forms - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/sunui-motion, @sunui/stamp - Files: redeem-key-input.tsx - Live preview: https://sunui.synvize.com/blocks/redeem-key-input ### When to use - License or plan screen in a desktop app or browser extension - Activating a purchased key and redeeming a supporter code in the same place ### Watch out - Decide hasKey from stored key state, not from tier, or users offline past the grace period lose their deactivate button - Return provider error codes or raw text from onActivate so the mapping can show the next step Also known as: license dialog, activate license key, redeem code, supporter code, shake on error ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/redeem-key-input.json ``` --- ## Reservation Timer (`reservation-timer`) A calm hold ticket: it leads with the absolute time (Held until 18:30, with the date if not today) and gets more precise as time runs down: about N h left above an hour, minutes under an hour, seconds only in the last five minutes, rolling only the digits that change. With startedAt or holdMs a row of 12 ink dots goes out one by one; item pins what is held as the ticket's anchor. On expiry the same ticket morphs in place: the time is struck through, a void Released stamp takes the countdown's place and the note says the item went back on sale. Optional one-time extension. shadcn tokens only, accent via primary. The remaining time is role="timer" (not read every second), aria-live fires only on expiry, and reduced motion switches instantly. Includes ReservationExpiredPanel. - Tier: Free (MIT) - Series: product (call get_design_rules with this series before editing the block) - Interaction: loading - Categories: checkout, commerce - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: reservation-timer.tsx - Live preview: https://sunui.synvize.com/blocks/reservation-timer ### When to use - Exclusive or limited items held for one buyer during checkout - Any pending order with a real server-side expiry ### Watch out - onExpire fires once when time reaches zero; refetch the order there instead of trusting the client clock - The ink dots need the full hold length: pass startedAt or holdMs or they are not shown - The onExtend button shows only once; after extending, pass the new expiresAt - Only show it for a real hold; never use it to invent urgency Also known as: hold timer, cart reservation, checkout countdown, held for you ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/reservation-timer.json ``` --- ## Ribbon Carousel (`ribbon-carousel`) Cards on a curved ribbon in CSS 3D. Drag or flick sideways and it snaps to the nearest card with a spring, use the arrow keys or buttons, or click a side card to bring it to the middle. It loops by default, can bend away from you (convex) or wrap around you (concave), and only draws the cards near the middle. Optional autoplay runs only while on screen and pauses on hover, focus and hidden tabs, and announcements are turned off while it plays. With reduced motion it becomes a flat scroll-snap row. With layout="stack" the cards become a deck where deeper cards step back, tilt slightly and dim, and the top card swings to the back on drag, flick or arrow keys. - Tier: Free (MIT) - Series: motion (call get_design_rules with this series before editing the block) - Interaction: drag - Categories: animation, media, marketing, landing - npm dependencies: framer-motion - Files: ribbon-carousel.tsx - Live preview: https://sunui.synvize.com/blocks/ribbon-carousel ### When to use - Lookbooks, new arrivals and campaign pages that show 6 to 20 visuals one after another - A portfolio or case study strip where each card should be seen at full size in turn - Replacing a flat slider when the section is a visual moment, not a list to compare ### Watch out - It is a motion series piece; keep it out of core and product blocks such as cart or checkout - Use loop={false} when there are fewer than about 2 x visible + 1 cards, or the ends will meet - Autoplay is off by default; turn it on only where people do not need to read - Images are decorative cards here; put prices and buttons outside the ribbon or in your own caption via onChange Also known as: curved carousel, 3d carousel, cylinder carousel, ribbon slider, cover flow, drum carousel, coverflow, curved slider, lookbook carousel, 3d slider, stacked carousel, card stack, stacked preview carousel, deck carousel ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/ribbon-carousel.json ``` --- ## Scripted Demo (`scripted-demo`) 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. - Tier: Free (MIT) - Series: product (call get_design_rules with this series before editing the block) - Interaction: section - Categories: marketing, landing, demo - npm dependencies: none - Files: scripted-demo.tsx - Live preview: https://sunui.synvize.com/blocks/scripted-demo ### When to use - Landing hero that shows a full product flow without a video - Explaining a multi-step workflow in short chapters people can jump between ### Watch out - Scenes run on timers, so they cannot be scrubbed or frozen on a frame; use step-demo when you need jump-to-any-second, screenshots or a fixed stage that scales on phones - Cursor and popover targets are measured on scene change and resize, so keep target elements' layout stable - Scene content is decorative, so put the real claims in the surrounding copy Also known as: product demo, fake cursor demo, interactive walkthrough, autoplay showcase ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/scripted-demo.json ``` --- ## Scroll Effects (`scroll-effects`) 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. - Tier: Free (MIT) - Series: motion (call get_design_rules with this series before editing the block) - Interaction: scroll - Categories: animation, scroll - npm dependencies: framer-motion - Files: scroll-effects.tsx - Live preview: https://sunui.synvize.com/blocks/scroll-effects ### When to use - Landing and product story pages where scrolling should move the narrative forward - Section transitions that reveal the next block, such as a circle reveal or split doors ### Watch out - Pinned effects add scroll length; use one or two per page so readers are not stuck scrolling - Inside a scrolling box, pass its ref as container and its height as stageHeight Also known as: parallax, horizontal scroll, scroll zoom, velocity skew, scroll marquee, circle reveal, split doors, stacking cards, sticky cards, scroll draw svg, scroll animation, scrollytelling ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/scroll-effects.json ``` --- ## Scroll Progress (`scroll-progress`) Hairline reading progress bar in the brand spot colour for the window or a scroll container, with optional section ticks you can jump to. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: scroll - Categories: scroll, navigation, content - npm dependencies: framer-motion - Files: scroll-progress.tsx - Live preview: https://sunui.synvize.com/blocks/scroll-progress ### When to use - Long articles, docs and changelogs - Step based onboarding pages ### Watch out - Hide it on short pages where it adds noise - Section markers need stable heading ids Also known as: reading progress, progress bar, scroll indicator, back to top progress, reading progress ring ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/scroll-progress.json ``` --- ## Scroll Reveal Text (`scroll-reveal-text`) 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. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: scroll - Categories: scroll, typography, cjk - npm dependencies: framer-motion - Files: scroll-reveal-text.tsx - Live preview: https://sunui.synvize.com/blocks/scroll-reveal-text ### When to use - Manifesto or mission statements on landing pages - Story style product sections ### Watch out - Keep the full text readable without scrolling for screen readers - Long paragraphs feel slow, use it on two to four lines Also known as: text reveal, scroll highlight, word by word, scrollytelling, scroll-linked text, mask reveal ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/scroll-reveal-text.json ``` --- ## Scroll Story (`scroll-story`) 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. - Tier: Free (MIT) - Series: product (call get_design_rules with this series before editing the block) - Interaction: scroll - Categories: marketing, landing, storytelling - npm dependencies: none - Files: scroll-story.tsx - Live preview: https://sunui.synvize.com/blocks/scroll-story ### When to use - Walking through 3 to 5 core features, each with its own small demo - Long-form landing sections where scroll position should drive the visual ### Watch out - The sticky panel needs no overflow-hidden ancestor, or it will not stick - Each step's Visual gets an active prop and must stop its timers when it is false (useLoop does this) Also known as: sticky scroll story, scrollytelling, feature story, pinned feature panel, pinned section, stacking cards, split screen scroll ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/scroll-story.json ``` --- ## Scroll Tilt Stage (`scroll-tilt-stage`) 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. - Tier: Free (MIT) - Series: showcase (call get_design_rules with this series before editing the block) - Interaction: scroll - Categories: marketing, scroll, showcase - npm dependencies: none - Files: scroll-tilt-stage.tsx - Live preview: https://sunui.synvize.com/blocks/scroll-tilt-stage ### When to use - Revealing a product demo or app window below the hero - Giving a screenshot or embedded demo a dramatic entrance on scroll ### Watch out - Inside a custom scroll area, pass scrollContainer or progress follows the window - The wrapper uses overflow-x clip; leave vertical room for the shadow below Also known as: scroll 3d reveal, tilt on scroll, perspective stage, stand-up demo window ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/scroll-tilt-stage.json ``` --- ## Scroll Timeline (`scroll-timeline`) 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. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: scroll - Categories: scroll, status, storytelling - npm dependencies: framer-motion - Files: scroll-timeline.tsx - Live preview: https://sunui.synvize.com/blocks/scroll-timeline ### When to use - Order tracking and application status - Brand history, making-of or campaign schedules ### Watch out - Progress mode ignores scrolling; pass current from your order data - Keep descriptions short so dots stay evenly spaced Also known as: timeline, scroll timeline, order tracking, progress timeline, history timeline, stepper timeline ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/scroll-timeline.json ``` --- ## Shipping Options (`shipping-options`) 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. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: commerce, checkout, form - npm dependencies: framer-motion - Files: shipping-options.tsx - Live preview: https://sunui.synvize.com/blocks/shipping-options ### When to use - Choosing standard, express or pickup delivery at checkout - Any single choice between two to five priced options with a date ### Watch out - Recalculate the shipping fee on the server; the card fee is display only - Mark unavailable methods as disabled instead of hiding them so shoppers know why Also known as: delivery options, shipping method, radio cards, option cards, delivery picker ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/shipping-options.json ``` --- ## Side Panel (`side-panel`) 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. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: overlay, navigation - npm dependencies: framer-motion - Files: side-panel.tsx - Live preview: https://sunui.synvize.com/blocks/side-panel ### When to use - Filters, carts and detail views beside a list - Mobile navigation and settings ### Watch out - Trap focus and restore it to the trigger on close - Avoid stacking more than one drawer Also known as: drawer, sheet, off-canvas, slide over, collapsible sidebar, drawer slide, bottom sheet ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/side-panel.json ``` --- ## Skeleton Set (`skeleton-set`) 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. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: loading - Categories: feedback, loading - npm dependencies: framer-motion - Files: skeleton-set.tsx - Live preview: https://sunui.synvize.com/blocks/skeleton-set ### When to use - First load of cards, lists and profiles - Any content that takes over 300 ms to arrive ### Watch out - Match the real layout so the page does not jump - Use a spinner instead for actions under a second Also known as: shimmer placeholder, loading placeholder, content loader, ghost ui, skeleton shimmer, pulse placeholder ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/skeleton-set.json ``` --- ## Sliding Tabs (`sliding-tabs`) 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). - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: navigation, input, form - npm dependencies: framer-motion - Files: sliding-tabs.tsx - Live preview: https://sunui.synvize.com/blocks/sliding-tabs ### When to use - Product detail tabs such as details, care and reviews - Day, week and month switches on a chart - Filter chips above a product grid ### Watch out - Content panels only appear when items have content; without it the control is a pure selector - For more than about six options use a select instead Also known as: tabs, segmented control, filter chips, toggle group, pill tabs, chip filter, tab bar, animated tabs, folder tabs, browser tabs, tabs with badges ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/sliding-tabs.json ``` --- ## Spine Shelf (`spine-shelf`) 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. - Tier: Free (MIT) - Series: showcase (call get_design_rules with this series before editing the block) - Interaction: drag - Categories: commerce, product, media, landing - npm dependencies: framer-motion - Files: spine-shelf.tsx - Live preview: https://sunui.synvize.com/blocks/spine-shelf ### When to use - Bookshops, record stores, tea or perfume ranges where products have a recognisable side and a front - A landing section that lets people browse a short line-up (8 to 14 items) one at a time - Staff picks or a collection page that wants a physical, editorial feel instead of a grid ### Watch out - Pass a cover image with the same aspect ratio as coverRatio (default 0.68) so the front does not crop - Spines show the title vertically; keep titles short or pass your own spine node - It is one signature moment: do not repeat it down the page, and keep the full product grid elsewhere for comparison Also known as: book shelf, bookshelf, spine carousel, vhs shelf, record shelf, product shelf, book picker, 3d books, cover flow, library shelf ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/spine-shelf.json ``` --- ## Spring Rig (`spring-rig`) 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. - Tier: Free (MIT) - Series: motion (call get_design_rules with this series before editing the block) - Interaction: hover - Categories: animation, svg, illustration, marketing - npm dependencies: framer-motion - Files: spring-rig.tsx - Live preview: https://sunui.synvize.com/blocks/spring-rig ### When to use - Feature grids, empty states and landing heroes that want a small drawing which reacts when people point at it - Category tiles in a shop (bags, gifts, deals) where a playful spot illustration replaces a static icon - Rigging your own SVG: write a rig that maps the pointer to channel goals and a draw function that turns channel values into paths ### Watch out - It is a motion series piece; keep it out of core and product blocks such as checkout or cart - Autoplay is a loop: use it for one hero drawing, not a whole grid, and leave it off where people need to read - Define custom rigs outside components so the springs are not reset on every render - Drawings use currentColor and fill-background; place them on the page background or a card so the overlaps read correctly Also known as: spring animation, elastic animation, interactive illustration, animated icon, hover illustration, rigged svg, physics icon, bouncy icon, follow pointer, jelly animation, isometric animation ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/spring-rig.json ``` --- ## Result mark (`stamp`) SunUI's result mark (exported as Result; Stamp is the old name of the same component): placed where the result happened, a small disc in the brand spot colour with a top highlight and a check that draws in and settles once on a spring, or muted text for negative results such as ended, expired or sold out. The shape picks what extra detail it carries (date adds a date, seal adds a second line) rather than how it looks. Appears instantly under reduced motion. The registry name stays stamp so existing installs keep working. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: status, feedback, commerce - npm dependencies: framer-motion - Files: stamp.tsx - Live preview: https://sunui.synvize.com/blocks/stamp ### When to use - Showing the result of a shopper action: claimed, paid, won, sold out, ended - Building your own block that needs a SunUI style result mark without copying code ### Watch out - Place it in the layout where the action was (for example where the button stood), never on top of other content - Do not use it for labels that are not results, such as Recommended or Popular - One result line per card; do not repeat the same status on every item of a list when the list already says it Also known as: status label, result label, claimed label, paid label, success checkmark, result badge, stamp, status stamp ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/stamp.json ``` --- ## Star Rating (`star-rating`) 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. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: form, input, feedback - npm dependencies: framer-motion - Files: star-rating.tsx - Live preview: https://sunui.synvize.com/blocks/star-rating ### When to use - Collecting product or order reviews and the reason behind the score - Showing an average rating next to a review count - Low scores that should come with set reasons you can count ### Watch out - Half-star hit areas are small on mobile; use precision 1 on touch-first forms - Pass name to submit the value with a native form; reasons are not part of the form value, read them with onReasonsChange - Keep each reason set to 3 to 5 chips so the frame stays short Also known as: rating input, review stars, emoji rating, feedback rating, score picker, rating with reasons, feedback tags, what went wrong ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/star-rating.json ``` --- ## Status Dot (`status-dot`) 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. - Tier: Free (MIT) - Series: product (call get_design_rules with this series before editing the block) - Interaction: section - Categories: badge, status, data-display - npm dependencies: framer-motion - Files: status-dot.tsx - Live preview: https://sunui.synvize.com/blocks/status-dot ### When to use - Status columns in order lists, tables and job queues - Inline state next to a name where a filled pill would be too loud ### Watch out - Tone colours come from built-in CSS variables with light and dark values; the muted tone uses the site's muted-foreground - Always pass a text label; the dot alone is hidden from screen readers Also known as: status dot, status indicator, state label, dot label, progress dot, last updated ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/status-dot.json ``` --- ## Step Demo (`step-demo`) 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. - Tier: Free (MIT) - Series: product (call get_design_rules with this series before editing the block) - Interaction: section - Categories: marketing, landing, demo - npm dependencies: none - Files: step-demo.tsx - Live preview: https://sunui.synvize.com/blocks/step-demo ### When to use - Landing hero or feature section that shows an app working step by step without a video - Docs or launch pages that need the same demo frame in screenshots, with scrubbing or jump-to-step ### Watch out - Derive all state from t inside each View; timers, effects or CSS keyframes break scrubbing and reduced motion - Draw at the fixed stage size with large type: on phones the whole stage shrinks instead of reflowing - Every step's final frame must read as a complete picture, because reduced motion shows only that frame Also known as: html demo, app demo window, product walkthrough, scrubbable demo, screen recording alternative, animated screenshot ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/step-demo.json ``` --- ## Store Header (`store-header`) 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. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: scroll - Categories: navigation, section, commerce - npm dependencies: framer-motion - Files: store-header.tsx - Live preview: https://sunui.synvize.com/blocks/store-header ### When to use - The top bar of a store with brand, a few category links and a cart count - Long product listing pages where the header should get out of the way while browsing ### Watch out - Pass scrollContainer when the page scrolls inside a div instead of the window, or the header will not react - Keep links to four or five; the rest belong in the mobile menu or a mega menu Also known as: headroom, hide on scroll header, sticky header shrink, navbar, site header, shop header, cart icon header ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/store-header.json ``` --- ## Story Player (`story-player`) 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. - Tier: Free (MIT) - Series: product (call get_design_rules with this series before editing the block) - Interaction: press - Categories: media, storytelling - npm dependencies: framer-motion - Files: story-player.tsx, recap-slides.tsx - Live preview: https://sunui.synvize.com/blocks/story-player ### When to use - Yearly or monthly recap stories (Wrapped style) - Short full-screen onboarding or highlight reels ### Watch out - The last two slides stay 5x longer by design, so put summary content there - The side arrows sit outside the card and only show from md up Also known as: stories, wrapped, recap, instagram stories ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/story-player.json ``` --- ## SVG Effects (`svg-effects`) 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. - Tier: Free (MIT) - Series: motion (call get_design_rules with this series before editing the block) - Interaction: section - Categories: animation, svg - npm dependencies: framer-motion - Files: svg-effects.tsx - Live preview: https://sunui.synvize.com/blocks/svg-effects ### When to use - Feature and integration sections that show how data or services connect - Signatures, logos, toggles and progress gauges that benefit from vector motion ### Watch out - Line draw children need stroke-based shapes as direct children of the SVG - Liquid fill is a meter: always pass a label so screen readers know what it measures Also known as: svg animation, line drawing, path animation, blob animation, gooey effect, orbiting circles, icon morph, hamburger to close, animated beam, radar, liquid progress, wave fill ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/svg-effects.json ``` --- ## Terms Consent (`terms-consent`) 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. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: commerce, checkout, forms - npm dependencies: framer-motion - Files: terms-consent.tsx - Live preview: https://sunui.synvize.com/blocks/terms-consent ### When to use - Right above the pay button when terms of sale or a privacy notice must be accepted - Sign up or subscription flows that mix required agreements with optional opt-ins ### Watch out - The gate is only a UI hint, so record and verify consent on the server - Never pre-tick optional marketing items; many regions require an explicit opt-in Also known as: terms checkbox, consent checklist, agree to terms, checkout agreement, gated button ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/terms-consent.json ``` --- ## Testimonial Marquee (`testimonial-marquee`) 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. - Tier: Free (MIT) - Series: showcase (call get_design_rules with this series before editing the block) - Interaction: hover - Categories: testimonials, social-proof, marketing - npm dependencies: none - Files: testimonial-marquee.tsx - Live preview: https://sunui.synvize.com/blocks/testimonial-marquee ### When to use - A social-proof section on a course or product landing page with many short reviews - When each review has extra detail (rating breakdown, course, role) worth opening on demand ### Watch out - accentColor must be a hex value, because transparency suffixes are appended to it - Below 768px it switches to static scroll rows on purpose; this is not a bug Also known as: review marquee, testimonial wall, scrolling reviews, quote carousel, marquee, infinite card wall, tilted marquee background, cover wall, image marquee background, hero background marquee ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/testimonial-marquee.json ``` --- ## Text Effects (`text-effects`) 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. - Tier: Free (MIT) - Series: motion (call get_design_rules with this series before editing the block) - Interaction: section - Categories: animation, text - npm dependencies: framer-motion - Files: text-effects.tsx - Live preview: https://sunui.synvize.com/blocks/text-effects ### When to use - Hero headlines and section titles that need a memorable entrance - Short labels or badges that loop to draw attention, such as a rotating keyword ### Watch out - Keep animated text short; long paragraphs split into letters get slow and noisy - Use one strong effect per screen rather than mixing many at once Also known as: text animation, kinetic typography, letter animation, scramble text, split flap, glitch text, neon text, shimmer text, gradient text, word rotate, blur in text, circular text ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/text-effects.json ``` --- ## Tier Progress (`tier-progress`) 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. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: section - Categories: loyalty, rewards, status - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: tier-progress.tsx - Live preview: https://sunui.synvize.com/blocks/tier-progress ### When to use - Account or rewards pages that show how far a member is from the next tier - Order confirmation pages that show the points just earned against the next tier ### Watch out - Pass tiers sorted from lowest to highest threshold, with the first tier starting at 0 Also known as: membership level, loyalty tier, points progress, vip progress, rewards gauge ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/tier-progress.json ``` --- ## Tiny Chart (`tiny-chart`) 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. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: section - Categories: chart, diagram, data-display - npm dependencies: framer-motion - Files: tiny-chart.tsx, tiny-scenes.tsx - Live preview: https://sunui.synvize.com/blocks/tiny-chart ### When to use - Help, FAQ and policy pages that explain a process: order tracking, returns and refunds, pre-order timelines, subscription rules - Showing which branch a customer is on and what happens next, with the rule behind each step in plain words - Onboarding or how-it-works sections where a reader should click through the steps instead of reading a paragraph ### Watch out - Keep it to about 4 to 10 steps; a bigger process reads better as several charts - Give flow charts explicit at: [column, row] positions once there are branches that rejoin, so arrows do not cross - Labels are measured, not wrapped: keep step names to a few words, and long sentences in say instead - It explains a process, it is not live order status: pass the real current step from your data by building a machine that starts there - Scenes only draw in the isometric layout; they are neutral props, so keep brand imagery in the surrounding page Also known as: statechart, state machine diagram, flowchart, process diagram, interactive diagram, how it works, order tracking diagram, refund process, decision tree, timeline to scale, lifecycle diagram, explainer chart, isometric diagram, 2.5D flowchart, isometric process, isometric scene, isometric illustration, diorama diagram ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/tiny-chart.json ``` --- ## Toast Stack (`toast-stack`) 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. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: loading - Categories: feedback, notification - npm dependencies: framer-motion - Files: toast-stack.tsx - Live preview: https://sunui.synvize.com/blocks/toast-stack ### When to use - Confirmations after save, copy or add to cart - Non blocking errors that the user can retry ### Watch out - Do not put critical errors only in a toast - Keep messages short and give actions a clear label Also known as: toast notification, snackbar, stacked toasts, alert, toast slide-in ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/toast-stack.json ``` --- ## TOC Scrollspy (`toc-scrollspy`) 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. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: scroll - Categories: navigation, scroll - npm dependencies: framer-motion - Files: toc-scrollspy.tsx - Live preview: https://sunui.synvize.com/blocks/toc-scrollspy ### When to use - Long product guides, size and care pages, FAQ or policy pages ### Watch out - Set offset to your sticky header height plus a little so the right entry lights up - Every item id must match an element id on the page Also known as: scrollspy, table of contents, toc, on this page, section nav, active heading ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/toc-scrollspy.json ``` --- ## Typewriter (`typewriter`) 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. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: type - Categories: typography, hero, cjk - npm dependencies: framer-motion - Files: typewriter.tsx - Live preview: https://sunui.synvize.com/blocks/typewriter ### When to use - Hero headlines that rotate through use cases - Terminal or chat style intros ### Watch out - Keep the static part of the sentence meaningful on its own - Respect reduced motion by showing the first phrase Also known as: typing effect, text rotator, typed text, animated headline ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/typewriter.json ``` --- ## Variant Picker (`variant-picker`) 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. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: commerce, product, form - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/sunui-motion, @sunui/stamp - Files: variant-picker.tsx - Live preview: https://sunui.synvize.com/blocks/variant-picker ### When to use - Apparel and goods product pages with colour and size variants - Showing low stock and sold-out combinations before add to cart without trying each colour - Letting shoppers ask to be told when a sold-out size is back ### Watch out - Stock keys are colorId:sizeId and missing keys count as sold out - Switching to a colour where the chosen size is sold out keeps the size and marks it sold out; enable add to cart from onChange info.available, not from whether a size is set - Without onNotify, sold-out sizes cannot be pressed and no notify action appears Also known as: colour swatches, size selector, product options, variant selector, SKU picker, back in stock, notify me ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/variant-picker.json ``` --- ## Scene Transitions (`scene-transitions`) 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. - Tier: Free (MIT) - Series: motion (call get_design_rules with this series before editing the block) - Interaction: section - Categories: animation, transition, media - npm dependencies: framer-motion - Files: scene-transitions.tsx - Live preview: https://sunui.synvize.com/blocks/scene-transitions ### When to use - Hero banners and campaign slides that change between scenes - Step-by-step product stories, onboarding screens or before and after reveals - Any place a plain fade feels flat and you want a named film transition ### Watch out - Shatter and doors render the outgoing scene several times while they run, so keep heavy video out of those scenes - Pixelate uses an SVG filter on HTML, which Safari renders less smoothly than Chrome - Give the stage a fixed size or aspect ratio; scenes are stacked absolutely inside it Also known as: scene transition, slide transition, page transition, cross dissolve, fade to black, wipe transition, iris out, whip pan, smash cut, cube transition, page curl, glass shatter, pixelate transition, liquid transition, blinds transition, mask transition, zoom transition, slideshow ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/scene-transitions.json ``` --- ## Camera Moves (`camera-moves`) 21 film camera moves (pan, tilt, dolly in, zoom, tracking, orbit, crane, dolly zoom, rack focus, handheld, FPV, Dutch angle, pedestal, barrel roll, Steadicam, fly-through, low and high angle, establishing shot, extreme close-up, bullet time) applied to a scene built from your own layers. Wrap content in CameraStage and give each CameraLayer a depth from 0 (far) to 1 (near); every move computes per-layer shift, scale and blur from depth, so parallax behaves like a real camera and the subject layer stays fixed in a dolly zoom. Triggers are loop, mount, inView, hover and click, or pass a progress number or MotionValue to drive the move from scroll. Loops pause off screen and in hidden tabs, and reduced motion shows the final frame. - Tier: Free (MIT) - Series: motion (call get_design_rules with this series before editing the block) - Interaction: scroll - Categories: animation, media - npm dependencies: framer-motion - Files: camera-moves.tsx - Live preview: https://sunui.synvize.com/blocks/camera-moves ### When to use - Campaign and product heroes that should feel filmed, such as a slow push in, a dolly zoom or an orbit around a product - Scroll stories where a scene of layered illustrations or cutout photos should move like a camera - Showing cinematography vocabulary on a page, for example a storyboard or a video brief ### Watch out - Layers move and scale, so give background layers art larger than the frame or keep the default bleed; transparent cutouts work best for mid and near layers - Handheld, FPV and barrel roll are energetic; use one per view and never behind body text - Rack focus and extreme close-up use CSS blur, which costs more on large frames; keep those stages small or few Also known as: camera move, cinematic camera, parallax camera, parallax scene, pan, tilt, dolly in, push in, dolly out, zoom in, tracking shot, truck, orbit, arc shot, crane shot, jib, dolly zoom, vertigo effect, zolly, rack focus, focus pull, handheld, camera shake, fpv drone, dutch angle, canted angle, pedestal, barrel roll, steadicam, gimbal, fly-through, low angle, high angle, establishing shot, extreme close-up, ken burns, bullet time, frozen moment ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/camera-moves.json ``` --- ## Photo Looks (`photo-looks`) A library of 24 photography looks and lighting styles applied to any image or element with the effect prop on PhotoLook: backlighting, rim light, silhouette, split, Rembrandt and butterfly lighting, golden hour, blue hour, bokeh, tilt-shift, long exposure, panning shot, lens flare, fisheye, chromatic aberration, vignette, high-key, low-key, black and white, duotone, teal and orange, film grain, light leak and double exposure. The look fades in on mount, in view, on hover or in a loop, and invert turns it into a colour-on-hover pattern that shows the original. Built with CSS filters, blend-mode overlays and per-instance SVG filters; colors, lightAngle, lightPosition, focusPoint and focusBand tune tints and light direction. With reduced motion the final look shows at once and grain and leak animations stop. - Tier: Free (MIT) - Series: motion (call get_design_rules with this series before editing the block) - Interaction: hover - Categories: animation, media - npm dependencies: framer-motion - Files: photo-looks.tsx - Live preview: https://sunui.synvize.com/blocks/photo-looks ### When to use - Product photos, portfolios and campaign pages that need one consistent colour grade or mood - Image grids with a colour-on-hover or filter-on-hover interaction - Hero images that want a lighting mood such as golden hour, backlight or lens flare without editing the photo ### Watch out - On children, bokeh, tilt-shift, panning shot, long exposure and rim light duplicate the content as an overlay layer; avoid video or stateful content inside - Many SVG filters running at once cost GPU time; in large grids prefer the hover trigger - Lighting looks are gradient overlays, not real relighting; set lightAngle to match the subject Also known as: photo filter, instagram filter, image filter, color grading, colour grading, film look, duotone, black and white, grayscale, sepia, teal and orange, film grain, light leak, lens flare, vignette, bokeh, tilt shift, fisheye, chromatic aberration, double exposure, golden hour, blue hour, rim light, rembrandt lighting, silhouette, high key, low key, long exposure, motion blur, color on hover ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/photo-looks.json ``` --- ## Motion Principles (`motion-principles`) Eighteen classic animation principles as one wrapper that animates any child, such as an icon, badge, button or product image: burst, easing, overshoot, squash and stretch, motion trail, impact shake, anticipation, follow-through, bounce, wiggle, pulse, ping-pong, stop-motion, repeater, kaleidoscope, line boil, exploded view and stagger. Pick one with the effect prop and play it on mount, in view, hover, click or loop, with intensity, duration, distance, count and color to tune it. Named easing curves, Stagger, ExplodedView, Repeater and Kaleidoscope are exported too. Loops pause off screen and in hidden tabs, and reduced motion shows the child at rest. - Tier: Free (MIT) - Series: motion (call get_design_rules with this series before editing the block) - Interaction: press - Categories: animation, effects - npm dependencies: framer-motion - Files: motion-principles.tsx - Live preview: https://sunui.synvize.com/blocks/motion-principles ### When to use - Give an icon, badge or add-to-cart button a physical reaction, such as a burst on like, a pulse on a new item or a bounce on drop-in - Explain how a product is built with an exploded view, or reveal a list or chart with a stagger ### Watch out - Travel effects (easing, anticipation, ping-pong, motion trail, stop-motion) move the child outside its box, so leave room around it - Repeater, kaleidoscope, motion trail and stop-motion duplicate the child; pass decorative content, not links or form fields - Use one principle per element; stacking several on a page gets noisy fast Also known as: 12 principles of animation, animation principles, squash and stretch, anticipation, follow-through, overlapping action, overshoot, easing curves, bounce, wiggle, jiggle, shake, heartbeat pulse, ping-pong loop, yoyo, stop motion, onion skin, motion trail, echo, burst, like burst, impact shake, repeater, radial repeat, kaleidoscope, line boil, hand-drawn wobble, exploded view, stagger, staggered list ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/motion-principles.json ``` --- ## Type Motion (`type-motion`) 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. - Tier: Free (MIT) - Series: motion (call get_design_rules with this series before editing the block) - Interaction: type - Categories: animation, text - npm dependencies: framer-motion - Files: type-motion.tsx - Live preview: https://sunui.synvize.com/blocks/type-motion ### When to use - Campaign headlines and hero words that should carry a picture or brand gradient inside the letters - Badges, stamps and banners with text running around a circle or along a wave, or a headline that breathes between thin and bold ### Watch out - variable-font only animates smoothly with a variable font; static fonts jump between their available weights - text-mask scales the word to fill its container width, so set the width rather than a font size, and keep the word short - Video masks use an SVG foreignObject; test in Safari before relying on them Also known as: text along path, text on path, curved text, circular text, text on a circle, wavy text, variable font animation, font weight animation, breathing text, font-variation-settings, text mask, knockout text, image inside text, video text, clipping mask text, background clip text ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/type-motion.json ``` --- ## Theme Picker (`theme-picker`) 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 and crossfades with View Transitions. - Tier: Free (MIT) - Series: product (call get_design_rules with this series before editing the block) - Interaction: press - Categories: settings, theme, dark-mode - npm dependencies: framer-motion - Files: theme-picker.tsx, theme-script.ts, theme-switch.tsx - Live preview: https://sunui.synvize.com/blocks/theme-picker ### When to use - Appearance setting in a settings page or a header popover - When people should see the result before they choose, instead of reading Light and Dark - ThemeSwitch: a one-click light and dark switch for a header, or as the showpiece on a landing page ### Watch out - Inline themeScript() in , or a reload shows the wrong theme for a frame - Point Tailwind's dark variant at the .dark class, the same as the shadcn default - ThemeSwitch only has light and dark. Pass useThemeMode().resolved as its value so system mode shows the right side Also known as: dark mode toggle, theme switcher, appearance picker, light dark switch, color scheme picker, theme toggle, pixel sun moon switch, glowing toggle ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/theme-picker.json ``` --- ## Morph Menu (`morph-menu`) An action menu that grows out of its own trigger: the round button stretches from its corner into the full menu, so the eye never loses where it came from. It picks the corner with room inside the viewport and any clipping parent (drawers, scroll lists), shrinks back into the button on close, has full menu keyboard support, and reduced motion swaps the morph for an instant switch. With layout="radial" it becomes a corner floating action button whose actions fan out from its centre along an arc toward the inside of the screen, set by corner. - Tier: Free (MIT) - Series: product (call get_design_rules with this series before editing the block) - Interaction: press - Categories: overlay, menu - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/sunui-motion - Files: morph-menu.tsx - Live preview: https://sunui.synvize.com/blocks/morph-menu ### When to use - Per-row actions in carts, saved lists, order history and admin tables (move to cart, change size, remove) - Product cards that need three or more secondary actions without crowding the card ### Watch out - The menu covers its trigger while open; close it with Escape, an outside click or a selection - Keep the primary action outside the menu; the menu is for secondary actions only - It is positioned inside its parent, so an overflow hidden ancestor limits where it can open; it flips to the side with room Also known as: context menu, dropdown menu, kebab menu, overflow menu, more actions, action menu, popover menu, morphing popover, floating action menu, fab menu, speed dial, radial menu ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/morph-menu.json ``` --- ## Command Palette (`command-palette`) A ⌘K / Ctrl+K command dialog with fuzzy search that marks matched characters in the brand spot colour, grouped results, recent items, per-item shortcut hints, an empty state and a footer legend. Built as an ARIA combobox and listbox with arrow, Home/End, Enter and Escape keys, a focus trap, focus restore and body scroll lock; it settles in from scale 0.96 with a fade and the highlight slides with the pointer and arrow keys. An inline mode renders it open in place without a scrim, the opt-in global hotkey ignores typing in other fields, and reduced motion keeps every state readable. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: type - Categories: navigation, search, dialog - npm dependencies: framer-motion - Files: command-palette.tsx - Live preview: https://sunui.synvize.com/blocks/command-palette ### When to use - Apps with many pages or actions that power users jump between - A single keyboard entry point for navigation, actions and settings ### Watch out - The hotkey is global; disable it when another component already owns ⌘K - Fuzzy matching runs on the client, so very large lists should be pre-filtered or virtualised Also known as: cmdk, spotlight search, command menu, quick switcher, omnibar, inline command menu ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/command-palette.json ``` --- ## Notification Bell (`notification-bell`) A bell button with a capped unread badge in the brand spot colour, opening a popover with avatars, relative times, unread dots, mark all as read and an empty state. When new items arrive the bell swings once on a damped spring and the badge number pops once; marking an item read fades the same row in place, and new rows expand so the list slides instead of jumping. The panel is a labelled dialog with aria-expanded, Escape and outside click to close and focus return, and new arrivals are announced politely; reduced motion switches instantly and keeps every state. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: feedback, notification, popover - npm dependencies: framer-motion - Files: notification-bell.tsx - Live preview: https://sunui.synvize.com/blocks/notification-bell ### When to use - Store or product headers that surface shipping, replies, restocks and system alerts - Inbox style feeds where users clear unread items in bulk ### Watch out - The component is controlled, so persist read state yourself in onItemClick and onMarkAllRead - Relative times use Intl.RelativeTimeFormat; pass locale and labels (including labels.count) to match your UI language Also known as: notification center, inbox, alerts dropdown, activity feed, unread badge ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/notification-bell.json ``` --- ## Logo Marquee (`logo-marquee`) A seamless loop of logos, wordmarks or short text, optionally in two rows running in opposite directions. Logos are monochrome in the muted text colour and brighten to the foreground on hover. Edges fade out, it pauses on hover or keyboard focus, and a real pause button is included. It only moves while on screen and the tab is visible, duplicate copies are hidden from assistive tech, and with reduced motion it renders a static wrapped list. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: hover - Categories: section, marquee, logos - npm dependencies: framer-motion - Files: logo-marquee.tsx - Live preview: https://sunui.synvize.com/blocks/logo-marquee ### When to use - A trusted by row of customer and partner logos on a landing page - A list of wordmarks or short text that does not fit on one line, such as supported platforms or integrations ### Watch out - Use single-colour currentColor SVG logos, not full-colour brand images - One strip per page; use testimonial-marquee for review cards and scroll-marquee for big text that moves with scroll Also known as: logo cloud, logo wall, trusted by, customer logos, infinite scroll, ticker, carousel loop ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/logo-marquee.json ``` --- ## Live Bento (`live-bento`) Feature bento grid: each tile has a title, a short body and a recessed showcase area for your own small visual that demonstrates the feature. A useTicker hook replays each visual only while it is in view and the tab is visible, and holds the last, complete frame with reduced motion. Tiles have no entrance animation; on hover they crossfade from e1 to an e2 shadow layer, and dark mode lifts the surface instead. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: section - Categories: marketing, landing, section - npm dependencies: none - Files: live-bento.tsx - Live preview: https://sunui.synvize.com/blocks/live-bento ### When to use - A features section below the hero where each feature needs a small live illustration - Explaining secondary capabilities without heavy images or video ### Watch out - Each visual runs its own observer and timer, so keep one grid to around 4 to 6 tiles - Visuals are aria-hidden, so the tile title and body must carry the meaning - Draw the last step as the complete state: with reduced motion it is the only frame shown Also known as: bento grid, feature grid, animated feature tiles, features section, more features ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/live-bento.json ``` --- ## Link Preview Card (`link-preview-card`) Unfurls a pasted URL into a preview card with site name, title, description and image. Pass metadata you already have, or a fetchMeta function that calls your own endpoint. Empty, loading and resolved are one frame that morphs, with the skeleton inside the card and the favicon and domain held in place; an invalid URL shows an inline message, and a failed fetch falls back to a domain-only card that still opens. The whole card lifts on hover and presses in, with row or stacked layouts and an optional remove button. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: loading - Categories: card, media, content - npm dependencies: framer-motion - Files: link-preview-card.tsx - Live preview: https://sunui.synvize.com/blocks/link-preview-card ### When to use - Unfurling a pasted link into a card in a notes page, doc, comment box or chat composer - Bookmark or reference lists where the metadata comes from your own Open Graph endpoint ### Watch out - fetchMeta must call your own server route; browsers cannot read another site's HTML because of CORS - The URL opens as given, so check user-supplied links on your server first Also known as: link card, url preview, link unfurl, open graph card, bookmark card, rich link ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/link-preview-card.json ``` --- ## Social Links (`social-links`) 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. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: hover - Categories: navigation, button, marketing - npm dependencies: framer-motion - Files: social-links.tsx - Live preview: https://sunui.synvize.com/blocks/social-links ### When to use - Social links in the header and footer of a personal site, portfolio or creator page - Profile links in an article byline, a team member card or a contact section ### Watch out - These link to profiles; they are not share buttons. To share the current page, use the system share sheet or a copy-link button - Icon-only links need the tooltip or nearby text that says which accounts they are; keep it to six links or fewer - Brand colour shows only on hover; GitHub, X and email have no brand colour and stay on the foreground Also known as: social icons, social buttons, share links, social media links, profile links, follow buttons, footer social ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/social-links.json ``` --- ## Chapter Seekbar (`chapter-seekbar`) A video seek bar split into chapter segments with small gaps. The bar grows on hover and the segment under the pointer grows more, following it on springs. The played part and the knob use the brand spot colour on a concave track; a floating chip with optional thumbnail, chapter title and time follows the pointer and stays inside the bar. Monochrome markers snap clicks. Touch drag and keyboard (arrows 5 s, Shift 30 s, Page Up and Page Down for chapters, Home and End) work, and reduced motion switches instantly. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: drag - Categories: media, input - npm dependencies: framer-motion - Files: chapter-seekbar.tsx - Live preview: https://sunui.synvize.com/blocks/chapter-seekbar ### When to use - Long videos, courses and interviews with named chapters - Showing bookmarks, notes or clips on the timeline ### Watch out - Many or very short chapters make thin segments; it reads best with about ten or fewer - The chip only shows on hover and drag, so show the chapter title elsewhere in the player too Also known as: video scrubber, chapter progress bar, timeline seek, video chapters, course player progress ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/chapter-seekbar.json ``` --- ## Social Button (`social-button`) 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. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: hover - Categories: button, navigation, marketing - npm dependencies: framer-motion - Files: social-button.tsx - Live preview: https://sunui.synvize.com/blocks/social-button ### When to use - Colourful follow buttons on a studio, creator or event page - A labelled grid of channels in a contact or press section - The buttons inside a floating social menu (floating-social uses this) ### Watch out - Profile links, not share buttons: to share the current page use the system share sheet or a copy-link button - Brand colours are loud; one row per page is usually enough. For a quiet footer use social-links instead - Icon-only buttons need the tooltip or nearby text that names the accounts Also known as: social buttons, coloured social icons, brand social buttons, follow buttons, social media buttons, SocialButton ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/social-button.json ``` --- ## Floating Social (`floating-social`) A corner button that fans out platform-coloured social buttons. Three layouts from the classic SunUI FloatingButton: petal (quarter-circle rings of 3, then 5), column and grid. Buttons spring out with a short stagger and fold back in reverse; the menu icon's three lines fold into a cross. Pins to the viewport or to a positioned parent, any of four corners. Escape closes and returns focus, a press outside closes, aria-expanded on the main button. The main button takes the brand spot colour. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: button, navigation, marketing - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/social-button - Files: floating-social.tsx - Live preview: https://sunui.synvize.com/blocks/floating-social ### When to use - A floating follow or contact menu on a portfolio, landing page or small shop site - Keeping social links reachable on long pages without a footer trip ### Watch out - One floating button per page, and keep clear of chat widgets and cookie banners in the same corner - Five to eight links read well in petal; more than eight pushes the second ring far out, use grid - On small screens keep it closed by default so it does not cover content Also known as: floating action button, FAB, speed dial, floating social menu, radial social menu, FloatingButton ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/floating-social.json ``` --- ## Skill Grid (`skill-grid`) 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. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: marketing, grid - npm dependencies: framer-motion - Files: skill-grid.tsx - Live preview: https://sunui.synvize.com/blocks/skill-grid ### When to use - The skills or stack section of a developer or designer portfolio - An integrations or tech partners wall with a category filter - A tools-we-use section on an agency or studio page ### Watch out - Built for up to about 30 tiles; for a long catalog use a real list with search - Pass logo colours that read on light and dark; near-black logos tint grey - Loading logos from a CDN adds requests: ship your own files or inline SVGs in production Also known as: skills grid, tech stack, logo wall, hexagon grid, honeycomb, integrations grid, FilterGrid ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/skill-grid.json ``` --- ## Anime FX (`anime-fx`) The engine behind the anime series: springs, one shared clock, one canvas over the page that ignores the pointer, and drawn effects in flat lit, shadow and outline tones (impact star, smoke puff, crystal chips, accent wedges, speed lines, wobble marks, glint, splash, slash) plus manga sound-effect lettering stored as glyph outlines (Japanese, traditional and simplified Chinese), picked from . Colours follow the brand spot. Hooks for a press that squashes and overshoots and for a canvas behind a control. setMotion("twos") (or ) draws every effect on twos at 12 drawings a second, like hand-drawn animation, while springs stay smooth. With reduced motion nothing is drawn. - Tier: Free (MIT) - Series: anime (call get_design_rules with this series before editing the block) - Interaction: press - Categories: animation, effects, canvas - npm dependencies: none - Files: anime-fx.tsx, anime-fx-core.ts, anime-fx-glyphs.ts - Live preview: https://sunui.synvize.com/blocks/anime-fx ### When to use - Building your own control in the anime series that needs the same drawn effects and lettering - Adding one anime-style reaction (an impact on a confirm, dust on a landing) to an existing component ### Watch out - The effects canvas sits on top of the page, so effects can fly over a modal or a sticky header - Keep every state change independent of the effect clock: it pauses in a hidden tab - One sound-effect word per reaction, placed off any label; effects leave by shrinking, never by fading - The lettering glyphs come from SIL OFL fonts (Dela Gothic One, Noto Sans TC and SC); the notice ships in anime-fx-glyphs.ts Also known as: anime effects, sakuga, impact effect, manga sound effects, onomatopoeia, comic effects, canvas effects engine, squash and stretch, on twos, 12 fps, hand-drawn timing ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/anime-fx.json ``` --- ## Anime Button (`anime-button`) A real button that is plain at rest and lands like an anime hit: it squashes while held, inverts for a frame on release, an impact star goes off behind it, smoke rolls off the corners, chips fly from its edge and a sound-effect word lands above it. status="done" draws a check with a glint; the secondary variant is a small squash and three wedges; hit={false} keeps a press that will not go through quiet. Type, disabled and every button attribute work as usual. - Tier: Free (MIT) - Series: anime (call get_design_rules with this series before editing the block) - Interaction: press - Categories: buttons, feedback, game-ui - npm dependencies: none - Installs these SunUI blocks too: @sunui/anime-fx - Files: anime-button.tsx - Live preview: https://sunui.synvize.com/blocks/anime-button ### When to use - The one action on a screen that deserves a big moment: confirm, publish, claim, join - Game, anime and fan-community pages where the UI should feel like the show ### Watch out - Use the full hit on one button per view; give other buttons the secondary variant - Set status from your request result; the hit itself fires on click - Pass hit={false} while the form would fail validation, so a click that goes nowhere is not celebrated - The word lands above the button and can briefly cover text right above it; leave some room Also known as: anime button, impact button, confirm button, manga button, sakuga button, comic button ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/anime-button.json ``` --- ## Anime Checkbox (`anime-checkbox`) A real checkbox (forms and Space work) that ticks like an anime cut: the box pops, crystal chips fly, the tick draws itself, a wisp of smoke rolls off and a screentone word lands past the label. Unticking only wobbles. Controlled or uncontrolled. - Tier: Free (MIT) - Series: anime (call get_design_rules with this series before editing the block) - Interaction: press - Categories: forms, input, game-ui - npm dependencies: none - Installs these SunUI blocks too: @sunui/anime-fx - Files: anime-checkbox.tsx - Live preview: https://sunui.synvize.com/blocks/anime-checkbox ### When to use - Consents, settings and checklists on game or anime pages - A single opt-in that should feel like a commitment ### Watch out - Many checkboxes ticked fast stack many words; keep lettering for short lists or turn it off - With reduced motion no effect is drawn and the state still changes, so it reads the same without effects Also known as: anime checkbox, tick box, manga checkbox, consent checkbox ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/anime-checkbox.json ``` --- ## Anime Progress (`anime-progress`) A progress bar that charges like a power-up: a rumble word when it starts, the fill surges on a spring with dust at its leading edge, and at the end an impact star, chips and a hit word, settling on a check and a done label. The number and aria-valuenow always show the real value; only the fill is sprung; the first render shows the current value without effects. - Tier: Free (MIT) - Series: anime (call get_design_rules with this series before editing the block) - Interaction: loading - Categories: loading, feedback, game-ui - npm dependencies: none - Installs these SunUI blocks too: @sunui/anime-fx - Files: anime-progress.tsx - Live preview: https://sunui.synvize.com/blocks/anime-progress ### When to use - Uploads, downloads and multi-step jobs whose progress arrives in steps - Goal and milestone bars on game or campaign pages ### Watch out - Feed it real progress in steps; a smooth stream of tiny increments makes constant dust - Turn lettering off when another element lands the word for the same moment - With reduced motion no effect is drawn and the state still changes, so it reads the same without effects Also known as: anime progress bar, power up bar, charging bar, upload progress, manga progress ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/anime-progress.json ``` --- ## Anime Toggle (`anime-toggle`) A switch that flips like a drawn cut: the knob smears across on a spring, longer and thinner the faster it moves, slams into the end and throws a splash while the track floods with the brand colour, plus a click word. role="switch" so Space and Enter work, with an optional hidden input so it submits in a form. - Tier: Free (MIT) - Series: anime (call get_design_rules with this series before editing the block) - Interaction: press - Categories: forms, settings, game-ui - npm dependencies: none - Installs these SunUI blocks too: @sunui/anime-fx - Files: anime-toggle.tsx - Live preview: https://sunui.synvize.com/blocks/anime-toggle ### When to use - Settings and notification switches on game or anime pages - A feature flag that should feel like turning something on ### Watch out - Give it a short visible label; the word lands past the end of the label - With reduced motion no effect is drawn and the state still changes, so it reads the same without effects Also known as: anime switch, toggle switch, on off switch, manga toggle ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/anime-toggle.json ``` --- ## Anime Radio Group (`anime-radio`) Native radio buttons in a fieldset (arrow keys and forms work as usual) where a pick lands like a pop: the dot springs in past full size, a fan of accent wedges flies off, two small puffs roll away and a hollow word pops beside the label. - Tier: Free (MIT) - Series: anime (call get_design_rules with this series before editing the block) - Interaction: press - Categories: forms, input, game-ui - npm dependencies: none - Installs these SunUI blocks too: @sunui/anime-fx - Files: anime-radio.tsx - Live preview: https://sunui.synvize.com/blocks/anime-radio ### When to use - Picking one of a few options: a class, a platform, a difficulty, a plan - Short single-choice questions on game or anime pages ### Watch out - Two to five options with short labels read best - With reduced motion no effect is drawn and the state still changes, so it reads the same without effects Also known as: anime radio, radio group, single choice, option picker, manga radio ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/anime-radio.json ``` --- ## Anime Rating (`anime-rating`) Star rating in the semantic rating amber where the stars pop in one after another up to the chosen score, each on its own spring; a full score ends with an amber impact star behind the row and a hit word. A radiogroup with arrow keys, Home and End, and an optional hidden input for forms. - Tier: Free (MIT) - Series: anime (call get_design_rules with this series before editing the block) - Interaction: press - Categories: forms, feedback, game-ui - npm dependencies: none - Installs these SunUI blocks too: @sunui/anime-fx - Files: anime-rating.tsx - Live preview: https://sunui.synvize.com/blocks/anime-rating ### When to use - Rating an episode, a chapter, a match or a reward - Quick feedback prompts on game or anime pages ### Watch out - Pass starLabel in the page language for screen readers - Only a full score gets the impact; lower scores stay modest - With reduced motion no effect is drawn and the state still changes, so it reads the same without effects Also known as: anime star rating, stars, review stars, score picker, manga rating ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/anime-rating.json ``` --- ## Anime Slider (`anime-slider`) A native range input drawn with a thumb that lags on a spring and stretches into a leaning teardrop with speed. A slow drag stays quiet; a fast one rolls smoke up behind the thumb, and letting go of a fast drag fires speed lines ahead of it. Keys, forms and screen readers work as usual; format sets the value text. - Tier: Free (MIT) - Series: anime (call get_design_rules with this series before editing the block) - Interaction: drag - Categories: forms, input, settings - npm dependencies: none - Installs these SunUI blocks too: @sunui/anime-fx - Files: anime-slider.tsx - Live preview: https://sunui.synvize.com/blocks/anime-slider ### When to use - Volume, brightness and other settings on game or anime pages - Any single value where a fast flick should feel physical ### Watch out - Lettering is off by default because the label row sits right above the track; turn it on only with room above - Pass format for units so the visible value and aria-valuetext match - With reduced motion no effect is drawn and the state still changes, so it reads the same without effects Also known as: anime slider, range slider, volume slider, manga slider ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/anime-slider.json ``` --- ## Anime Input (`anime-input`) A text field where every key kicks up a little dust where the caret is and a deletion leaves two short speed lines. Nothing fires while an input method is composing Chinese or Japanese, only when the text is committed. A plain input with label, hint and error underneath; every input attribute passes through. - Tier: Free (MIT) - Series: anime (call get_design_rules with this series before editing the block) - Interaction: type - Categories: forms, input, game-ui - npm dependencies: none - Installs these SunUI blocks too: @sunui/anime-fx - Files: anime-input.tsx - Live preview: https://sunui.synvize.com/blocks/anime-input ### When to use - Name, nickname and short text fields on game or anime pages - Sign-up forms where typing should feel alive without getting in the way ### Watch out - Keep it for short fields; on a long text area dust on every key gets tiring - Error text replaces the hint and marks the field invalid - With reduced motion no effect is drawn and the state still changes, so it reads the same without effects Also known as: anime text field, text input, name field, manga input ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/anime-input.json ``` --- ## Anime Tabs (`anime-tabs`) Tabs where the raised tab slides to the new one on a spring, stretching with speed, and lands with accent wedges, wobble marks and dust below the list. Follows the tabs pattern: arrow keys, Home and End move and select, panels are labelled. - Tier: Free (MIT) - Series: anime (call get_design_rules with this series before editing the block) - Interaction: press - Categories: navigation, layout, game-ui - npm dependencies: none - Installs these SunUI blocks too: @sunui/anime-fx - Files: anime-tabs.tsx - Live preview: https://sunui.synvize.com/blocks/anime-tabs ### When to use - Switching between a few views: profile, skills, gear; details, reviews, specs - Character and item pages on game or anime sites ### Watch out - Two to five short tab labels fit; it does not scroll - No sound-effect word: tabs change often, so the landing stays small - With reduced motion no effect is drawn and the state still changes, so it reads the same without effects Also known as: anime tabs, segmented tabs, tab bar, manga tabs ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/anime-tabs.json ``` --- ## Anime Toast (`anime-toast`) A notification that streaks in from the side as a smear, skids to a stop in a puff of dust with a skid word, and leaves by shrinking away; variant="cut-in" instead slams in behind a slanted cut-in band like a super move, and closing it slices the card in half along one stroke. The live region is always on the page so the message is announced; the timer pauses on hover, focus and hidden tabs; Escape and the close button dismiss it; an optional action button. - Tier: Free (MIT) - Series: anime (call get_design_rules with this series before editing the block) - Interaction: press - Categories: notification, feedback, game-ui - npm dependencies: none - Installs these SunUI blocks too: @sunui/anime-fx - Files: anime-toast.tsx - Live preview: https://sunui.synvize.com/blocks/anime-toast ### When to use - Confirming an action on game or anime pages: saved, sent, unlocked - Short messages with one optional action such as Undo ### Watch out - One toast at a time; it is controlled with open and onOpenChange, not a queue - Keep titles short; the word lands above the card's top edge - With reduced motion no effect is drawn and the state still changes, so it reads the same without effects Also known as: anime toast, notification, snackbar, manga toast, alert popup, cut-in, super move alert, sliced toast ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/anime-toast.json ``` --- ## Anime Tooltip (`anime-tooltip`) A hint that springs out of its trigger like a speech bubble: it grows past full size from its tail, two puffs roll off its sides and a small click word lands past its corner. Opens on hover, focus or tap and closes on leave, blur, a second tap or Escape; the trigger gets aria-describedby. - Tier: Free (MIT) - Series: anime (call get_design_rules with this series before editing the block) - Interaction: hover - Categories: overlay, popover, game-ui - npm dependencies: none - Installs these SunUI blocks too: @sunui/anime-fx - Files: anime-tooltip.tsx - Live preview: https://sunui.synvize.com/blocks/anime-tooltip ### When to use - Explaining an icon, a stat or a rule on game or anime pages - Short hints next to numbers such as stamina, cooldowns or rates ### Watch out - Wrap one focusable element such as a button - Keep hints to a sentence; the bubble is at most 16rem wide and opens above - With reduced motion no effect is drawn and the state still changes, so it reads the same without effects Also known as: anime tooltip, speech bubble, hint bubble, manga tooltip ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/anime-tooltip.json ``` --- ## Anime Loader (`anime-loader`) A waiting indicator for when there is no number to show: an ink slug charges back and forth inside a track on a spring, stretching with speed, and kicks up dust with wobble marks at each end. role="status" with a label; with reduced motion it is a still half bar. - Tier: Free (MIT) - Series: anime (call get_design_rules with this series before editing the block) - Interaction: loading - Categories: loading, feedback, game-ui - npm dependencies: none - Installs these SunUI blocks too: @sunui/anime-fx - Files: anime-loader.tsx - Live preview: https://sunui.synvize.com/blocks/anime-loader ### When to use - Matchmaking, loading a level or any wait without a known length - Short waits on game or anime pages ### Watch out - Use anime-progress instead when you know how far along it is - It animates for as long as it is mounted; remove it when the wait ends Also known as: anime loader, loading indicator, spinner, waiting bar, manga loader ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/anime-loader.json ``` --- ## Anime Hold to Confirm (`anime-hold`) A button you press and hold to confirm something you cannot undo. While held, an ink line traces round its edge (the trace is the progress, so it reads without effects), the button flattens under the pressure and trembles, and a rumble word rises; at 100% it inverts for a frame and detonates with an impact star, chips and the impact word, then settles on a check. Let go early and the trace springs back. onConfirm can return false to refuse (the button shakes its head instead). Space and Enter hold it from the keyboard; the hint and the result are read out. - Tier: Free (MIT) - Series: anime (call get_design_rules with this series before editing the block) - Interaction: press - Categories: buttons, forms, game-ui - npm dependencies: none - Installs these SunUI blocks too: @sunui/anime-fx - Files: anime-hold.tsx - Live preview: https://sunui.synvize.com/blocks/anime-hold ### When to use - Destructive or irreversible actions: delete a save, leave a guild, cancel an order - A sign-up or claim that should never happen by accident, such as pre-registering or redeeming a code ### Watch out - Pass a hint that says to hold; screen readers read it with the label - Keep duration between about 0.8 and 2 seconds; longer feels broken - Return false from onConfirm when the action cannot go through (an invalid form), so it does not detonate - With reduced motion no effect is drawn; the trace, the squash and the state still work Also known as: anime hold button, hold to confirm, long press, press and hold, hold to delete, destructive confirm, manga button ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/anime-hold.json ``` --- ## Anime Copy (`anime-copy`) A line of text with a copy button for install commands, invite codes and referral links. Hover or focus the button and two wedges point at it; click and one stroke cleaves across the whole bar, the bar recoils, the button inverts for a frame and a click word lands, then the button settles on a check and the result is read out. If the clipboard refuses, the text is selected so the person can copy it by hand. - Tier: Free (MIT) - Series: anime (call get_design_rules with this series before editing the block) - Interaction: press - Categories: buttons, code, game-ui - npm dependencies: none - Installs these SunUI blocks too: @sunui/anime-fx - Files: anime-copy.tsx - Live preview: https://sunui.synvize.com/blocks/anime-copy ### When to use - Invite codes, referral links and gift codes on game or campaign pages - Install commands or API keys that people copy once ### Watch out - Long text is truncated with an ellipsis and shown in full in the title; the full text is what gets copied - The clipboard needs a secure page (https or localhost); elsewhere it falls back to selecting the text - With reduced motion no effect is drawn and the label still changes Also known as: anime copy button, copy to clipboard, copy code, invite code, referral link, clipboard button, manga copy ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/anime-copy.json ``` --- ## Dot Globe (`dot-globe`) A globe drawn as a field of lit dots on a 2D canvas: real coastlines from Natural Earth, a satin sphere shade and a rim light from above, with no WebGL or 3D library. Markers carry a label and a short figure; tap one and the camera flies to it, tap again or press Esc to fly back out. Drag or use the arrow keys to turn it. Nothing spins on its own, it redraws only while something moves, follows your theme colours and switches instantly with reduced motion. The engine (projection, land dots, shading, camera flight) is exported for building your own scenes; SunUI Pro's Store Atlas is built on it. - Tier: Free (MIT) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: drag - Categories: map, hero, marketing, data - npm dependencies: framer-motion - Files: dot-globe.tsx, dot-globe-core.ts, dot-globe-land.ts - Live preview: https://sunui.synvize.com/blocks/dot-globe ### When to use - A store locator, shipping regions, event cities or user map on a landing or about page - A hero visual for anything with locations, without pulling in three.js or a map provider ### Watch out - Fine coastlines at close zoom only cover East and Southeast Asia (94 to 146 E, 8 S to 44 N); elsewhere the coast stays coarse - Keep markers to about a dozen and set side on close pairs so labels do not overlap - It shows positions, not a street map; link out to a real map for directions Also known as: globe, 3d globe, dotted globe, world map, store locator, earth, map pins, cobe alternative ### Install ```bash npx shadcn@latest add https://sunui.synvize.com/r/dot-globe.json ``` --- ## Campaign Landing Template (`campaign-landing`) Full sale landing page for Double 11, Black Friday or 週年慶, laid out like a sale edition: a fixed dark hero where the giant discount figure is a window that cycles through the sale products, each photo drifting inside the numerals (plays only while on screen, still under reduced motion), a newspaper masthead, a hang tag price card, a countdown board, tear-off coupons, a ribbon that moves with scroll, a flyer style price list for flash deals, and FAQ beside a newsletter postcard. The brand color only marks discounts, savings, the selected deal and low stock. Coupons, shipping, FAQ, newsletter and banner are SunUI Pro blocks. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: section - Categories: template, campaign, commerce - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp, @sunui-pro/coupon-claim-card, @sunui-pro/faq-accordion, @sunui-pro/festival-banner, @sunui-pro/free-shipping-progress, @sunui-pro/newsletter-signup - Files: campaign-landing.tsx - Live preview: https://sunui.synvize.com/blocks/campaign-landing ### When to use - A complete sale page for Double 11, Black Friday or an anniversary sale that has to ship fast - A starting point you then trim: every section is a separate Pro block you can remove or reorder ### Watch out - Pass a real endsAt from your campaign config; a hard-coded date shows ENDED the day after - Connect onClaimCoupon, onAddToCart and onSubscribe to your backend, or the buttons only animate Also known as: sale landing page, campaign page template, Double 11 page, Black Friday page, promo landing ### Install ```bash npx shadcn@latest add @sunui-pro/campaign-landing ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Cart Drawer (`cart-drawer`) Cart drawer laid out like an itemized receipt: mono prices, hairline rules, quantity steppers, remove with undo, savings line and free shipping hint. Optional per-line actions grow out of a round button at the end of each line (save for later, gift wrap). Focus trap and scroll lock. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: section - Categories: commerce, cart, drawer - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/morph-menu - Files: cart-drawer.tsx - Live preview: https://sunui.synvize.com/blocks/cart-drawer ### When to use - Mini cart that slides in after add to cart or from the header cart icon - Shops that want quantity edits and removal without leaving the page ### Watch out - Keep cart state in your store and pass items with onItemsChange; the drawer does not persist anything - Compute tax and shipping on the server at checkout; the subtotal here is only for display Also known as: mini cart, shopping cart drawer, flyout cart, cart sidebar, receipt cart ### Install ```bash npx shadcn@latest add @sunui-pro/cart-drawer ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Checkout Button (`checkout-button`) Pay button that, on success, prints a thermal receipt with items and totals and a Paid line dated with the payment day. Async onPay with processing and error states. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: commerce, checkout, button, payment - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: checkout-button.tsx - Live preview: https://sunui.synvize.com/blocks/checkout-button ### When to use - The final Pay or Place order button on a checkout page - One-click buy flows where a printed receipt confirms the purchase ### Watch out - onPay must resolve only after your payment provider confirms; reject it to show the error state - The receipt repeats what you pass in items and amount, so send the same totals the server charged Also known as: button loading state, success checkmark, receipt print, pay button, place order button, payment success receipt, purchase confirmation ### Install ```bash npx shadcn@latest add @sunui-pro/checkout-button ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Coupon Claim Card (`coupon-claim-card`) Claimable coupon in one card with depth: the right side is an inset well holding the code, covered by a raised lid with the Claim button. Claiming lifts the lid away (up, slightly smaller, fading) to reveal the code, with a Claimed result mark beside it. Handles expiry, sold out and errors. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: commerce, campaign, coupon, promotion - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: coupon-claim-card.tsx - Live preview: https://sunui.synvize.com/blocks/coupon-claim-card ### When to use - Claimable coupons on campaign pages, product pages or the cart - Limited coupons where the remaining count and expiry matter ### Watch out - Validate and reserve the coupon in onClaim on the server; return the code from it when codes are generated per user - Only pass claimedCount and limit if they are real numbers; do not fake scarcity Also known as: reveal coupon, claim coupon, voucher card, coupon card, discount voucher, get coupon, promo code card ### Install ```bash npx shadcn@latest add @sunui-pro/coupon-claim-card ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## FAQ Accordion (`faq-accordion`) Editorial FAQ list with numbered questions, hairline rules, optional search and FAQPage JSON-LD. Accessible accordion with arrow key navigation. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: marketing, faq, seo - npm dependencies: framer-motion - Files: faq-accordion.tsx - Live preview: https://sunui.synvize.com/blocks/faq-accordion ### When to use - FAQ sections on campaign, pricing and product pages - Help pages where search engines should read the questions (FAQPage JSON-LD) ### Watch out - Turn jsonLd on for only one FAQ per page, or search engines see duplicate structured data - Set headingLevel so the questions fit the page outline Also known as: accordion expand collapse, faq, frequently asked questions, faq section, collapsible questions, help accordion ### Install ```bash npx shadcn@latest add @sunui-pro/faq-accordion ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Festival Banner (`festival-banner`) Campaign banner and announcement bar with presets for Double 11, Black Friday, Lunar New Year and Christmas, set apart by typography and static line ornaments, with a promo code chip. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: section - Categories: campaign, marketing, banner - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui-pro/sunui-lunar-icons - Files: festival-banner.tsx - Live preview: https://sunui.synvize.com/blocks/festival-banner ### When to use - Top announcement bar or hero for a seasonal campaign (Double 11, Black Friday, Lunar New Year, Christmas) - Site-wide promo code announcements ### Watch out - Remember the dismissal yourself (cookie or storage) through onDismiss, or the bar returns on every page - Use one banner per page; stacking a bar and a hero repeats the same message Also known as: announcement bar, promo banner, holiday banner, seasonal sale banner, top bar ### Install ```bash npx shadcn@latest add @sunui-pro/festival-banner ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## File Dropzone (`file-dropzone`) Return and support upload form: dashed drop area, files listed as itemized rows with thin progress lines, a check that settles once on each finished upload, validation and retry. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: drag - Categories: form, upload - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: file-dropzone.tsx - Live preview: https://sunui.synvize.com/blocks/file-dropzone ### When to use - Return requests, support tickets and review photos where customers attach files - Any form that needs drag and drop upload with per-file progress ### Watch out - Check type and size again on the server; accept and maxSize only guide the browser - onUpload should report progress and throw on failure so the retry button appears Also known as: file drop upload, drag and drop upload, upload area, attachment upload, return photo upload, drop zone ### Install ```bash npx shadcn@latest add @sunui-pro/file-dropzone ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Flash Sale Hero (`flash-sale-hero`) Sale poster hero: a large discount figure, headline, product image slot and a flip-card countdown to a real end date, with an ended state. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: section - Categories: commerce, campaign, hero, countdown - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: flash-sale-hero.tsx - Live preview: https://sunui.synvize.com/blocks/flash-sale-hero ### When to use - The first screen of a flash sale or a limited-time product drop - Campaign pages with one hero product and a real end time ### Watch out - Use the real end time from your server; the countdown must match when prices actually change - Provide endedCta so the page still leads somewhere after the sale Also known as: sale hero, flash sale banner, countdown hero, limited time offer hero ### Install ```bash npx shadcn@latest add @sunui-pro/flash-sale-hero ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Flash Sale Product Card (`flash-sale-product-card`) Lookbook product card with an inset image well, sale price, thin sold-progress line, honest low-stock note, quick add and wishlist; plain sold-out state. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: hover - Categories: commerce, product, card, campaign - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: flash-sale-product-card.tsx - Live preview: https://sunui.synvize.com/blocks/flash-sale-product-card ### When to use - Product grids in flash sales and deal pages - Cards that need sold progress, low stock and quick add in one place ### Watch out - Pass real sold and stock values; the low-stock note is meant to be honest - Keep onQuickAdd for products without variants; send variant products to the detail page instead Also known as: deal card, sale product card, product tile, quick add card ### Install ```bash npx shadcn@latest add @sunui-pro/flash-sale-product-card ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Fold Invite Card (`fold-invite-card`) A folded invitation card that opens only when clicked: the cover turns on its left edge to show the inside page with the opening and closing times, Google and .ics calendar links and your call to action, while the inside of the cover carries a note and a quiet Invited line. Below about 480 px it folds top to bottom instead. The cover is a button with aria-expanded, Escape closes it, and under reduced motion it opens instantly. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: campaign, membership, marketing - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: fold-invite-card.tsx - Live preview: https://sunui.synvize.com/blocks/fold-invite-card ### When to use - Member presales, private sales or launch events with a fixed time window - Emails-to-web landing spots where the invitation itself is the message ### Watch out - Pass start and end as ISO strings with a time zone so calendar links land at the right hour - Keep the inside copy short; the page has a fixed aspect ratio and long text will overflow on narrow screens Also known as: folding card, invitation card, greeting card, presale invite, add to calendar card, folded card open ### Install ```bash npx shadcn@latest add @sunui-pro/fold-invite-card ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Free Shipping Progress (`free-shipping-progress`) Progress line toward a free shipping goal with milestone ticks; reaching the goal shows a quiet Free shipping line. Announces changes to screen readers. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: section - Categories: commerce, cart - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: free-shipping-progress.tsx - Live preview: https://sunui.synvize.com/blocks/free-shipping-progress ### When to use - Cart and mini cart, to show how much more unlocks free shipping - Order summaries with spend milestones such as a gift or a discount ### Watch out - Compute total the same way your shipping rule does (before or after discounts) - Hide it for regions where the free shipping offer does not apply Also known as: free shipping bar, shipping threshold, spend more progress, cart goal bar ### Install ```bash npx shadcn@latest add @sunui-pro/free-shipping-progress ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Gift Box Reveal (`gift-box-reveal`) Gift-with-purchase reveal: a sleeve and gift tag that unlocks at a spend threshold, slides out and shows a quiet Free gift line. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: campaign, commerce, cart - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: gift-box-reveal.tsx - Live preview: https://sunui.synvize.com/blocks/gift-box-reveal ### When to use - Gift with purchase offers that unlock at a spend threshold - Cart pages that reward reaching a basket size ### Watch out - Add the gift to the order on the server in onClaim; the reveal itself grants nothing - Pass the same cart value and threshold the server checks, or the reveal may promise a gift the order will not get Also known as: free gift, gift with purchase, GWP, unlock gift ### Install ```bash npx shadcn@latest add @sunui-pro/gift-box-reveal ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Launch Countdown Wall (`launch-countdown-wall`) Departure-board style flip countdown for product drops with timezone-aware times, notify-me signup and quiet On sale and Closed states. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: loading - Categories: campaign, launch, marketing - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: launch-countdown-wall.tsx - Live preview: https://sunui.synvize.com/blocks/launch-countdown-wall ### When to use - Product drop and pre-launch pages counting down to a release - Ticket or limited edition sales with a notify-me signup ### Watch out - Set timeZone to the launch timezone; showLocalTime then converts it for each visitor - Connect onNotify to a real list and handle the email consent your region requires Also known as: split-flap text, flip clock, departure board, launch countdown, product drop, coming soon page, release timer ### Install ```bash npx shadcn@latest add @sunui-pro/launch-countdown-wall ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Newsletter Signup (`newsletter-signup`) Postcard-style email signup with validation and an async submit; success shows a dated Subscribed line. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: type - Categories: marketing, newsletter, form, conversion - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: newsletter-signup.tsx - Live preview: https://sunui.synvize.com/blocks/newsletter-signup ### When to use - Email capture in footers, campaign pages and post-purchase pages - Places where a short, friendly signup beats a popup ### Watch out - Keep the honeypot field and still rate limit on the server - Ask for consent and double opt-in where your region requires it; onSubmit should reject on failure Also known as: email signup, subscribe form, mailing list, newsletter form ### Install ```bash npx shadcn@latest add @sunui-pro/newsletter-signup ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Order Tracker (`order-tracker`) Order status laid out like a shipping label: tracking number, a timeline and the current step marked with a check, with ETA and an exception state. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: section - Categories: post-purchase, commerce, order - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: order-tracker.tsx - Live preview: https://sunui.synvize.com/blocks/order-tracker ### When to use - Order detail and tracking pages after purchase - Account order history and the tracking link in shipping emails ### Watch out - Map your carrier statuses to the step ids, and use exception for delays instead of a wrong step - Pass timeZone so timestamps match where the customer is Also known as: shipping tracker, delivery status, order timeline, package tracking ### Install ```bash npx shadcn@latest add @sunui-pro/order-tracker ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Order Island (`order-island`) One status pill that carries the whole purchase: bag, paying, order placed, out for delivery. The container reshapes instead of being swapped, and the product thumbnail stays put so the eye never loses its place. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: checkout, commerce, order, status - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: order-island.tsx - Live preview: https://sunui.synvize.com/blocks/order-island ### When to use - A sticky header or bottom bar that shows cart, payment and order status in one place - Quick buy and one-tap checkout where the page should not navigate while paying - Live order status on a product or account page after purchase ### Watch out - Drive status from your real payment and order events; do not fake the timing - Keep the thumbnail the same item through the flow, it is the anchor that makes the change read as continuous - Use declined with onRetry for payment errors instead of resetting to bag Also known as: dynamic island, status pill, live activity, checkout status, order status bar, morphing pill ### Install ```bash npx shadcn@latest add @sunui-pro/order-island ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Peel Sticker Coupon (`peel-sticker-coupon`) A sticker whose corner curls up and follows the pointer with a true fold: the lifted part mirrors across the crease and shows the backing. Pull past half the diagonal and the whole sticker comes off, the coupon is fetched from your server through onPeel, and a quiet Claimed line appears. Released early, it sticks back down. A Peel off button covers keyboard and screen reader users, the result is announced in a polite live region, and errors offer a retry. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: drag - Categories: campaign, coupon, promotion - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: peel-sticker-coupon.tsx - Live preview: https://sunui.synvize.com/blocks/peel-sticker-coupon ### When to use - Post-purchase or member gifts where opening the reward should feel like a small physical act - Campaign pages that hand out one coupon per shopper ### Watch out - Decide and record the coupon on the server inside onPeel; the sticker hides nothing, it only waits for the answer - Pass result for shoppers who already peeled so the sticker does not come back on reload Also known as: sticker peel, peel to reveal, peel off coupon, peel sticker, reveal coupon, sticker reveal ### Install ```bash npx shadcn@latest add @sunui-pro/peel-sticker-coupon ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Plan Comparison (`plan-comparison`) Spec sheet comparing plans with hairline rules, checks and a plain tag on the recommended plan; switches to text tabs on mobile. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: section - Categories: marketing, pricing, table - npm dependencies: framer-motion - Files: plan-comparison.tsx - Live preview: https://sunui.synvize.com/blocks/plan-comparison ### When to use - Detailed feature comparison below pricing cards - SaaS or membership pages with many features per plan ### Watch out - Keep plan names and prices in sync with pricing-cards; use one data source for both - Long tables switch to tabs on mobile, so keep group names short Also known as: feature comparison table, compare plans, plan matrix, spec sheet ### Install ```bash npx shadcn@latest add @sunui-pro/plan-comparison ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Pricing Cards (`pricing-cards`) Rate card for plans with a typographic monthly or yearly switch, tabular prices and a plain tag on the recommended plan. With layout="single" it becomes one compact plan card: a segmented switch, a rolling price, a save tag and yearly-only features that fade in without moving the layout, for sidebars, upgrade prompts and feature walls. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: section - Categories: marketing, pricing, conversion - npm dependencies: framer-motion - Files: pricing-cards.tsx - Live preview: https://sunui.synvize.com/blocks/pricing-cards ### When to use - Pricing pages with two to four plans and monthly or yearly billing - Membership and subscription offers ### Watch out - Show the real yearly saving; do not inflate the monthly price to make the discount look bigger - Mark only one plan as recommended Also known as: pricing toggle, monthly yearly switch, pricing table, subscription plans, plan cards, rate card ### Install ```bash npx shadcn@latest add @sunui-pro/pricing-cards ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Prize Wheel (`prize-wheel`) Prize wheel whose result comes from your server via onSpin, with a pointer, a result readout and an odds disclosure. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: campaign, gamification, promotion - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: prize-wheel.tsx - Live preview: https://sunui.synvize.com/blocks/prize-wheel ### When to use - Lucky draws for campaigns, sign-ups and membership days - Promotions where the prize odds must be shown ### Watch out - Decide the prize on the server; onSpin returns the winning index and the wheel only shows it - Make the odds and terms match reality and local lottery rules Also known as: lucky draw, spin to win, wheel of fortune, spin the wheel, lottery wheel, roulette promo, prize draw ### Install ```bash npx shadcn@latest add @sunui-pro/prize-wheel ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Product Filter Grid (`product-filter-grid`) Product grid with editorial category chips, a hairline price range, sorting and calm layout transitions; images via renderMedia. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: section - Categories: commerce, section - npm dependencies: framer-motion - Files: product-filter-grid.tsx - Live preview: https://sunui.synvize.com/blocks/product-filter-grid ### When to use - Category and collection pages with a small to medium product list - Campaign pages where shoppers filter by category, price and sort ### Watch out - Filtering happens in the browser; for large catalogs filter on the server and pass the result - Pass renderMedia with your image component (for example next/image) for real photos Also known as: filterable grid, flip layout animation, grid shuffle, product grid, category filter, shop filter, collection page ### Install ```bash npx shadcn@latest add @sunui-pro/product-filter-grid ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Product Gallery (`product-gallery`) Product image gallery with inset image wells, outlined thumbnails, swipe and keyboard navigation and a fullscreen viewer with focus trap. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: drag - Categories: commerce, product, media - npm dependencies: framer-motion - Files: product-gallery.tsx - Live preview: https://sunui.synvize.com/blocks/product-gallery ### When to use - Product detail pages with several photos - Any gallery that needs thumbnails, swipe and a fullscreen viewer ### Watch out - Give every image meaningful alt text; the viewer reads it to screen readers - Use the same aspectRatio for all photos, or the main image jumps when switching Also known as: lightbox zoom, thumbnail gallery, image carousel, product images, image gallery, photo viewer, product carousel ### Install ```bash npx shadcn@latest add @sunui-pro/product-gallery ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Scratch Card (`scratch-card`) Scratch-off card with a hatched cover (pointer and touch), a Reveal all button for keyboard and screen readers and a quiet result line naming the prize. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: drag - Categories: campaign, gamification, promotion - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: scratch-card.tsx - Live preview: https://sunui.synvize.com/blocks/scratch-card ### When to use - Instant win promotions and reward reveals - Campaign games where the result should feel earned ### Watch out - Decide win and prize on the server before rendering; scratching only reveals it - Keep the Reveal all button so keyboard and screen reader users can play Also known as: scratch reveal, scratch to win, scratch off, scratch off card, instant win, scratch lottery, reveal prize ### Install ```bash npx shadcn@latest add @sunui-pro/scratch-card ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Scrub Stat Card (`scrub-stat-card`) Store stat cards you read by running a finger or the cursor along the chart: stems for daily numbers, bars for months, or a ring of ticks for a split. The stems or bars you sweep past light up in the brand color and fade out a moment later, so the trail shows where you have been while a small label reads the exact value; on the ring the hovered slice stretches outward tick by tick and the center says what it is. A second side turns the card to the number you would rather not see (sales to refunds, visitors to abandoned carts): the frame stays, the arrow turns, and the same stems, bars and ticks grow into the new data while titles and figures roll. Arrow keys read each point and announce it; reduced motion keeps every value and drops the trail and the morphs. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: hover - Categories: commerce, chart, card, account - npm dependencies: framer-motion - Files: scrub-stat-card.tsx - Live preview: https://sunui.synvize.com/blocks/scrub-stat-card ### When to use - A seller or creator dashboard that shows a few headline numbers and lets people read any day without opening a full chart - An account or loyalty page that shows a member their own spend, points or orders over time - Pairing a good number with the one that keeps it honest: sales and refunds, visitors and abandoned carts, sign-ups and cancellations ### Watch out - Pass numbers already aggregated; the card draws them and does not fetch or sum anything - Stems read best with about 14 to 40 points, bars with 6 to 14; ring with 2 to 6 slices - Tell the card when a rise is bad (tone: "bad"), otherwise refunds going up shows in green - Keep the two sides of a card about the same kind of chart; the flip morphs shapes, it does not switch chart type Also known as: kpi card, stat card, dashboard card, analytics card, metric card, lollipop chart, radial tick chart, donut ticks, scrub chart, hover trail chart, interactive card components, sparkline card ### Install ```bash npx shadcn@latest add @sunui-pro/scrub-stat-card ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Specimen Scan (`specimen-scan`) Product anatomy scene drawn as a dot matrix: any transparent product picture, or a shape you draw, is sampled into rounded dots whose size follows the ink and whose colour comes from the picture itself (quantised to a small palette), or one light tone with tone "mono". A tracking overlay picks evenly spread points on the subject, draws a small square and live coordinates on each, and runs a line from every point to an amber reticle that follows the pointer and locks onto the anchor part when the pointer leaves. Each part gets a labelled box; moving onto a part sends a ring of swelling dots across it and lights its row in the parts list. Symmetric subjects flap back around their centre axis slowly while the pointer is over them (fuller as it moves), with wingtips that lag, perspective, same-hue lighting and a sheen that slides across each wing as it turns, and the whole subject turns and tilts toward the pointer over a parallax grid. The list is real buttons, so keyboard and touch pick parts too, the canvas redraws only while something moves and pauses off screen, and with reduced motion nothing flaps or ripples and the reticle jumps. - Tier: Pro (license required) - Series: showcase (call get_design_rules with this series before editing the block) - Interaction: hover - Categories: product, marketing, specs, canvas - npm dependencies: framer-motion - Files: specimen-scan.tsx - Live preview: https://sunui.synvize.com/blocks/specimen-scan ### When to use - Launch and product pages where the parts are the story: sneakers, headphones, drones, bikes, chairs, printed scarves, anything with a clear silhouette - A signature hero for a tech or design-led brand that wants a HUD, tracking-camera look without WebGL or a video file - Seasonal prints and collections built around one motif (a butterfly, a flower, a logo mark) where each part maps to a product detail ### Watch out - Pass a PNG or WebP with a transparent background, or a shape function; opaque photos sample as a solid block - Region rects are in stage fractions and a dot belongs to the first rect that holds it, so list small parts (a centre seam, a logo) before big ones - Use fold="off" for products; flapping only reads right on subjects that are mirrored around the axis - One per page: it is a signature visual. Keep the price and CTA in the header or the page, not in the canvas - Images from another origin need CORS headers, or the canvas cannot read them Also known as: dot matrix product, hud overlay, tracking points, product anatomy, halftone hero, cursor tracking, computer vision look, specimen, butterfly, feature callouts, x-ray hotspots ### Install ```bash npx shadcn@latest add @sunui-pro/specimen-scan ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Stamp Card (`stamp-card`) Loyalty card where each purchase fills a numbered slot with a solid dot; a full card unlocks a reward strip to redeem. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: loyalty, campaign, commerce - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: stamp-card.tsx - Live preview: https://sunui.synvize.com/blocks/stamp-card ### When to use - Loyalty programs that count purchases or visits - Membership pages that show progress toward a reward ### Watch out - Store stamps on the server and pass the count; onCollect should not add a stamp by itself - Make redemption single use on the server, then pass redeemed Also known as: loyalty card, punch card, points card, reward card ### Install ```bash npx shadcn@latest add @sunui-pro/stamp-card ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Testimonial Wall (`testimonial-wall`) Reviews set as press clippings with stars and a plain tag on staff picks, in a static masonry with show more. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: scroll - Categories: marketing, testimonials, social-proof - npm dependencies: framer-motion - Files: testimonial-wall.tsx - Live preview: https://sunui.synvize.com/blocks/testimonial-wall ### When to use - Social proof sections on landing, pricing and product pages - Pages with many short reviews that should stay readable ### Watch out - Use real reviews with permission; do not invent names or ratings - Keep quotes short; long reviews make the masonry uneven Also known as: reviews wall, customer reviews, testimonials grid, press quotes ### Install ```bash npx shadcn@latest add @sunui-pro/testimonial-wall ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Upgrade Modal (`upgrade-modal`) Membership upgrade dialog with current and next plan cards side by side; confirming shows an Upgraded line dated with the upgrade day. Focus trap and scroll lock. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: marketing, pricing, dialog, conversion - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: upgrade-modal.tsx - Live preview: https://sunui.synvize.com/blocks/upgrade-modal ### When to use - Upgrading a membership or plan from inside the app - Paywall moments where the current and next plan should be compared ### Watch out - onConfirm should finish the plan change or payment, and reject on failure - State the price change and billing date in note so the upgrade is clear Also known as: upgrade dialog, plan upgrade, membership upgrade, paywall modal ### Install ```bash npx shadcn@latest add @sunui-pro/upgrade-modal ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Upsell Drawer (`upsell-drawer`) Added-to-cart drawer with an Added check that settles once, recommended add-ons and a plain bundle discount line. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: commerce, cart, upsell, drawer - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: upsell-drawer.tsx - Live preview: https://sunui.synvize.com/blocks/upsell-drawer ### When to use - Right after add to cart, to suggest add-ons and bundle discounts - Shops that want cross-sell without leaving the product page ### Watch out - Recommend items that really go with the added product; unrelated upsells hurt trust - Apply bundle discounts on the server; the drawer only displays them Also known as: added to cart drawer, cross-sell, add-on suggestions, bundle offer ### Install ```bash npx shadcn@latest add @sunui-pro/upsell-drawer ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Drop Release Hero (`drop-release-hero`) Numbered drop announcement hero: kicker, big title and a 'Drop 08 is live' line with the release date beside it, a primary and an outlined secondary button that expands inline release notes, and feature cards whose previews lift and pan on hover or focus. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: campaign, commerce, hero - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: drop-release-hero.tsx - Live preview: https://sunui.synvize.com/blocks/drop-release-hero ### When to use - The top of a numbered drop, limited run or seasonal launch page - Release announcements that need the release date, what is new in this drop and the lead products in one section ### Watch out - Pass the real release date in releasedAt; a hard-coded date prints the wrong day - Release notes expand inline, so keep them to four to six short lines and link long notes to a separate page Also known as: drop hero, product drop, release announcement, launch hero, new drop banner, what's new ### Install ```bash npx shadcn@latest add @sunui-pro/drop-release-hero ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Shader Campaign Banner (`shader-campaign-banner`) Campaign banner on a live GLSL fragment shader. The built-in shader is a slow, low-contrast ink flow in one hue, in ink or paper tone. Headline, sub copy and CTA sit on top, and a twigl-style status strip along the bottom holds a Motion switch, the compile status and the shader character count. - Tier: Pro (license required) - Series: showcase (call get_design_rules with this series before editing the block) - Interaction: section - Categories: campaign, marketing, banner - npm dependencies: framer-motion - Files: shader-campaign-banner.tsx - Live preview: https://sunui.synvize.com/blocks/shader-campaign-banner ### When to use - Hero banner for a seasonal campaign or pre-sale (Lunar New Year, a product launch) that needs some motion without video - A banner that runs your own twigl classic shader (uniforms resolution, mouse, time) as the brand background ### Watch out - Keep a custom fragment low contrast and in one hue, or the headline and CTA become hard to read - A shader that fails to compile falls back to a flat color and shows the error in the status strip, so check it reads Live before you ship. backbuffer is not supported Also known as: shader banner, WebGL hero, animated background banner, generative banner, twigl banner, GLSL background ### Install ```bash npx shadcn@latest add @sunui-pro/shader-campaign-banner ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Loop Shader Hero (`loop-shader-hero`) Campaign hero on a seamless-loop WebGL background in four looks: grain glow, mesh gradient, Bayer dither and fluted glass. Every look runs on one loop phase, so the last frame lands exactly on the first. Drive it by time or by scroll position, render at half resolution, pause off screen and in background tabs, and hold a still frame under reduced motion. A status strip shows a Motion switch and a frame counter that wraps. - Tier: Pro (license required) - Series: showcase (call get_design_rules with this series before editing the block) - Interaction: section - Categories: hero, campaign, marketing, background - npm dependencies: framer-motion - Files: loop-shader-hero.tsx, looks.ts - Live preview: https://sunui.synvize.com/blocks/loop-shader-hero ### When to use - Launch or seasonal campaign hero that needs a living background without shipping a video file - A long landing page where the background should move only as the visitor scrolls (drive="scroll") - A brand that wants one of four shader looks (grain, mesh, dither, fluted glass) tinted to its own three colors ### Watch out - Keep palette.a and palette.b close in hue; a dark palette gets a bottom scrim for the copy, a light palette (ink: true) does not, so check contrast - renderScale above 1 costs the GPU fast on large heroes; 0.5 is the default because soft gradients look the same at half resolution - Pass a poster image for the first paint and for browsers without WebGL Also known as: shader hero, seamless loop background, webgl hero background, grain gradient hero, dither background, fluted glass background, scroll driven shader, animated gradient banner ### Install ```bash npx shadcn@latest add @sunui-pro/loop-shader-hero ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Showcase Mosaic (`showcase-mosaic`) Customer lookbook and UGC wall: edge-to-edge square tiles with zero gutters, a sticky lowercase category sidebar with counts that filters with a spring layout animation, a black scrim that slides up with title, @author and Shop the look on hover or focus, and a floating Share your photo pill. - Tier: Pro (license required) - Series: showcase (call get_design_rules with this series before editing the block) - Interaction: hover - Categories: commerce, gallery, social-proof, showcase - npm dependencies: framer-motion - Files: showcase-mosaic.tsx - Live preview: https://sunui.synvize.com/blocks/showcase-mosaic ### When to use - A Worn by you, customer photo or UGC wall on a store page - Dense, content-first lookbooks or galleries with many square thumbnails and almost no chrome ### Watch out - Uploads and moderation happen in your own flow opened by onSubmit; the block only displays items and uploads nothing - Crop and compress photos to squares first, and get customer consent before showing their photos publicly Also known as: UGC wall, lookbook, customer photos, shop the look, worn by you, photo mosaic, instagram wall ### Install ```bash npx shadcn@latest add @sunui-pro/showcase-mosaic ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Launch Stage Hero (`launch-stage-hero`) Dark product launch hero: huge headline, primary CTA and a secondary button with a compact counter on the left, a 16:10 media stage carousel with caption link, dots and pause/play on the right, and a tabbed 'how to get it' panel below. - Tier: Pro (license required) - Series: showcase (call get_design_rules with this series before editing the block) - Interaction: section - Categories: campaign, commerce, hero - npm dependencies: framer-motion - Files: launch-stage-hero.tsx - Live preview: https://sunui.synvize.com/blocks/launch-stage-hero ### When to use - The first screen of a product launch, pre-order or launch event page - Products that need to show several colorways or angles and explain where to buy (online, in store, app) ### Watch out - Pass the real waitlist or star count from your server as secondaryCta.count; the block only formats it (12.4K, 1.2萬) - Autoplay runs only while the hero is in view and the tab is visible, and there is a pause button; do not put key information only on slide 2 or later Also known as: launch hero, product launch, pre-order hero, hero carousel, release page hero, new arrival hero ### Install ```bash npx shadcn@latest add @sunui-pro/launch-stage-hero ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Physics Cart Jar (`physics-cart-jar`) Free-shipping progress jar: every item added to the cart drops into an open jar as a round token showing the product art. Tokens fall, bounce, collide and pile up, and you can grab and fling them. A neutral fill rises toward the rim (the threshold), and a quiet Free shipping line appears on the jar label when it is reached. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: drag - Categories: campaign, commerce, cart - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: physics-cart-jar.tsx - Live preview: https://sunui.synvize.com/blocks/physics-cart-jar ### When to use - Free-shipping or spend-threshold progress next to a cart or product listing - Campaign pages or mini carts that want adding one more item to feel playful ### Watch out - Pass the subtotal and threshold the server computes; the jar only displays progress and does not apply free shipping to the order - Tokens are not focusable, so removing items relies on the list's remove buttons; with hideList the list is screen-reader only, so do not make the jar the only cart UI Also known as: free shipping jar, shipping progress, cart jar, physics cart, tip jar, spend threshold, gravity tokens ### Install ```bash npx shadcn@latest add @sunui-pro/physics-cart-jar ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Bundle Node Builder (`bundle-node-builder`) Build-your-bundle builder in the style of a node editor: drag a bezier wire from a product socket to a bundle slot, or click the product, and a Total node shows subtotal, tiered bundle discount and total, with the reason (Add 1 more item for 15% off) next to the Add bundle button. - Tier: Pro (license required) - Series: product (call get_design_rules with this series before editing the block) - Interaction: drag - Categories: commerce, bundle, cart, upsell - npm dependencies: framer-motion - Files: bundle-node-builder.tsx - Live preview: https://sunui.synvize.com/blocks/bundle-node-builder ### When to use - Build your own bundle or mix and match offers where buying more items unlocks a bigger discount - Product or campaign pages that should show how the number of items changes the price ### Watch out - Have the server recalculate the bundle price in onAddBundle. The discount on screen is only for display - Pass the same tiers or discountFor the server uses, or the builder may promise a discount that checkout will not apply Also known as: bundle builder, build your own bundle, mix and match, bundle discount, tiered discount, node editor, kit builder, buy more save more ### Install ```bash npx shadcn@latest add @sunui-pro/bundle-node-builder ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Self Building Page (`self-building-page`) A landing page that builds itself as you scroll: a swarm of colored agent cursors flies to each marked element, drags out a selection box with its size and guide lines, then types the text in or drops the block into place. A small status bar counts what is built and rebuilds on demand. - Tier: Pro (license required) - Series: product (call get_design_rules with this series before editing the block) - Interaction: scroll - Categories: landing, campaign, hero, ai - npm dependencies: framer-motion - Files: self-building-page.tsx - Live preview: https://sunui.synvize.com/blocks/self-building-page ### When to use - Landing pages for AI, agent, design or no code products where watching the page assemble itself is the pitch - Launch or campaign pages that want a memorable first scroll without a video ### Watch out - Mark only leaf elements with data-build and do not nest them. A parent that is not built yet hides its children - Content under data-build stays in the DOM for search and screen readers but is invisible until it scrolls into view, so do not mark information that must be visible on first paint Also known as: self building website, agent cursors, multiplayer cursors, build on scroll, figma cursors, ai builds the page, cursor swarm, assemble on scroll ### Install ```bash npx shadcn@latest add @sunui-pro/self-building-page ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Day Night Hero (`day-night-hero`) One place, sold differently by day and by night. The built-in SVG scene keeps one composition: at night the sky and surrounding palette turn deep blue-gray, the sun sets, the moon rises, stars come out and the shop windows light one by one, while the copy and offer switch to the night version. Follows your site theme, the visitor's local time, or a controlled value. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: hero, campaign, commerce, dark-mode - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/theme-picker - Files: day-night-hero.tsx - Live preview: https://sunui.synvize.com/blocks/day-night-hero ### When to use - A campaign hero with different offers by day and by night, like an early bird discount and late-night free shipping - A site with dark mode where the hero should actually turn to night, not just get darker - Cafe, food, night market or live stream brands whose story is tied to the time of day ### Watch out - If you pass your own images, keep the day and night versions in the same composition or the crossfade reads as a swap - clock mode uses the visitor's local time; validate the real offer window on the server - The night accent is a warm gold; check that your brand color still has enough contrast on deep blue-gray Also known as: day night hero, dark mode hero, time of day banner, night mode illustration, theme aware hero, late night sale ### Install ```bash npx shadcn@latest add @sunui-pro/day-night-hero ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Black Friday Weekend (`black-friday-weekend`) Full Black Friday to Cyber Monday page: a banner with the code, a countdown hero, an hourly doorbuster schedule that moves on by itself, a spend-more-save-more meter that follows the cart, the weekend deals, a price check against the prior 30-day low and a gift card builder. Every section is a SunUI Pro block. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: section - Categories: template, campaign, commerce - npm dependencies: none - Installs these SunUI blocks too: @sunui-pro/faq-accordion, @sunui-pro/festival-banner, @sunui-pro/flash-sale-hero, @sunui-pro/flash-sale-product-card, @sunui-pro/gift-card-designer, @sunui-pro/price-history - Files: black-friday-weekend.tsx - Live preview: https://sunui.synvize.com/blocks/black-friday-weekend ### When to use - A Black Friday or Cyber Monday landing page that has to ship this week - Agencies reusing one sale page across several client stores - Any multi-day sale with hourly drops and spend tiers ### Watch out - endsAt and doorbuster start times must come from your server, not the visitor's clock - Spend tiers here are display only; apply the discount in your cart and checkout - Only products with history appear in the price check section; leave it out rather than inventing data Also known as: black friday page, cyber monday page, black friday template, doorbusters, spend and save, holiday sale landing page ### Install ```bash npx shadcn@latest add @sunui-pro/black-friday-weekend ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Checkout Flow (`checkout-flow`) Full checkout scene from add to cart to delivery: a product shelf, an upsell drawer after each add, a receipt-style cart drawer, a pay step with a stateful pay button, a receipt that prints on success, and an order status pill in the header that follows every step. Five SunUI Pro blocks read one shared cart, so quantities, shipping and totals agree everywhere. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: section - Categories: template, commerce, checkout - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui-pro/cart-drawer, @sunui-pro/upsell-drawer, @sunui-pro/checkout-button, @sunui-pro/receipt-printer, @sunui-pro/order-island - Files: checkout-flow.tsx - Live preview: https://sunui.synvize.com/blocks/checkout-flow ### When to use - A storefront that needs add to cart, upsell, cart, pay and receipt wired together this week - Agencies that rebuild the same cart and checkout for every client store - Headless shops (Next.js Commerce, Hydrogen, Medusa) that want the front end of checkout without a hosted page ### Watch out - onPay must recompute the amount on your server; the totals passed in are display numbers - Pass lines and onLinesChange to keep the cart in your own store; uncontrolled, the cart lives only in this component - Shipping here is a flat fee with a free threshold; compute real rates and tax at checkout on the server Also known as: checkout page, cart and checkout, checkout template, add to cart flow, order confirmation, upsell checkout, shopping cart page ### Install ```bash npx shadcn@latest add @sunui-pro/checkout-flow ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Lunar New Year (`lunar-new-year`) Full Lunar New Year page: a festival hero with the code, a shipping cutoff board that closes each delivery method on time before the holiday, boxed gift sets, a gift box that unlocks at a spend threshold and a red envelope draw that earns spins as the cart grows, a lantern night invite with add to calendar, and FAQ with JSON-LD. The gift box and the draw read one cart total, so one add moves both. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: section - Categories: template, campaign, seasonal - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui-pro/festival-banner, @sunui-pro/flash-sale-product-card, @sunui-pro/gift-box-reveal, @sunui-pro/prize-wheel, @sunui-pro/fold-invite-card, @sunui-pro/faq-accordion, @sunui-pro/sunui-lunar-icons - Files: lunar-new-year.tsx - Live preview: https://sunui.synvize.com/blocks/lunar-new-year ### When to use - A Lunar New Year, Chinese New Year or Seollal campaign page for a shop that ships before the holiday - Agencies running the same new year page for several client stores in Taiwan, Hong Kong, Singapore, mainland China or Japan - Any holiday sale where couriers stop and shoppers need to know the last day to order ### Watch out - Cutoff times and envelope results must come from your server; the board only compares them with the visitor's clock to show what is still open - Red envelope spins are counted from the cart total on the page; enforce the real limit on the server in onSpin - Stay neutral: SunUI uses one brand spot colour and no festival red, so the festival comes from copy, motifs and the cutoff board, not colour Also known as: chinese new year page, lunar new year template, spring festival sale, red envelope, CNY campaign, shipping cutoff, seollal sale, 春節 ### Install ```bash npx shadcn@latest add @sunui-pro/lunar-new-year ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Gift Card Designer (`gift-card-designer`) Gift card builder with a live card preview: pick a design and an amount and the front updates, start typing the names or message and the card flips to its back. The amount stays in the same place on both faces, and Added replaces the button where it was. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: type - Categories: commerce, gift, form, campaign - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: gift-card-designer.tsx - Live preview: https://sunui.synvize.com/blocks/gift-card-designer ### When to use - Holiday gift card pages and last-minute gift sections - Stores that sell digital gift cards delivered by email - A gifting block at the end of a campaign page ### Watch out - Validate the amount and the message again on the server; min and max only guide the shopper - The designs are neutral line patterns; put your logo in store rather than adding colored designs - Delivery date and email fields are not included; add them in your checkout Also known as: gift card, e-gift card, gift voucher, digital gift card, gift certificate, holiday gift ### Install ```bash npx shadcn@latest add @sunui-pro/gift-card-designer ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Price History (`price-history`) Daily price history on a card that you drag or arrow through to read any day. The sale price is compared with the lowest price in the 30 days before the price change, the way EU price rules ask, so a raised-then-cut price says so plainly. Switching between 30 and 90 days rescales the same line instead of swapping charts. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: drag - Categories: commerce, chart, pricing, campaign - npm dependencies: framer-motion - Files: price-history.tsx - Live preview: https://sunui.synvize.com/blocks/price-history ### When to use - Product pages during Black Friday or any sale, to prove the discount is real - Price-drop alerts and wishlist pages that show how a price moved - Stores selling in the EU that must show the prior 30-day lowest price next to a discount ### Watch out - Pass one point per day from your own price log; the component does not fill gaps - The 30-day reference is computed from the data you pass, so include at least 30 days before the current price started - Keep the chart one product per card; comparing products belongs in a table Also known as: price history, price chart, lowest price in 30 days, omnibus price, price drop, price tracker ### Install ```bash npx shadcn@latest add @sunui-pro/price-history ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Receipt Printer (`receipt-printer`) Order receipt that feeds out of a printer slot line by line after payment, like a thermal printer, then settles with a Paid mark and the amount saved. Folding it keeps only the total stub in place, so past orders stay compact in an order list. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: loading - Categories: commerce, checkout, order, receipt - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: receipt-printer.tsx - Live preview: https://sunui.synvize.com/blocks/receipt-printer ### When to use - Order confirmation right after checkout - Order history where each past order folds into its total - Showing what a shopper saved on a sale day ### Watch out - Render it only after your server confirms payment; the Paid mark is not a payment status check - Pass print={false} on pages that reload, or the receipt prints again on every visit - Long item lists make a long print; group small add-ons into one line Also known as: receipt, order receipt, order confirmation, thermal receipt, printed receipt, thank you page ### Install ```bash npx shadcn@latest add @sunui-pro/receipt-printer ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Store Help Widget (`store-help-widget`) Help bubble for a store that grows into a panel from the same corner. Shoppers tap a question instead of typing: order lookup returns an order card with its step, the gift finder returns cards they can add to the bag, returns show the policy with a one-tap start, and a person can take over and get rated at the end. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: commerce, support, order, chat - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: store-help-widget.tsx - Live preview: https://sunui.synvize.com/blocks/store-help-widget ### When to use - A help entry point on a storefront that answers order status without a support ticket - Gift finding by budget on seasonal or holiday pages - Return requests and handoff to a person after a purchase ### Watch out - lookupOrder, findGifts and requestAgent must call your real backend; the widget does not invent answers - Order lookup by number alone exposes order status; ask for an email too if that matters for your store - Use position="absolute" inside a positioned container for previews, fixed on real pages Also known as: support widget, help widget, chat bubble, live chat, customer service, order lookup, gift finder, help desk, 客服 ### Install ```bash npx shadcn@latest add @sunui-pro/store-help-widget ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Hoop Upload (`hoop-upload`) Campaign upload scene: files wait on the floor under a line-drawn hoop. Pull a file back, a dotted arc previews the shot, release and it flies into the hoop; the net swishes, the file drops into an upload list with progress lines, and an Uploaded counter ticks up. Files dragged in from the desktop are dunked automatically, tapping or pressing Enter takes a perfect shot, and aim assist keeps near misses going in. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: drag - Categories: campaign, form, upload - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: hoop-upload.tsx - Live preview: https://sunui.synvize.com/blocks/hoop-upload ### When to use - Giveaway, contest or campaign pages where shoppers upload a receipt, photo or entry - Playful upload moments for sports, games or youth brands where a plain dropzone feels flat ### Watch out - Check type and size again on the server; accept and maxSize only guide the browser - Keep the hoop for campaign pages; for return or support forms use file-dropzone, which is quieter and denser - Tapping a file or pressing Enter always uploads it, so nobody has to aim to finish the form Also known as: basketball upload, trick shot upload, game upload, fun file upload, throw to upload, receipt upload contest, drag and drop upload ### Install ```bash npx shadcn@latest add @sunui-pro/hoop-upload ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Ink Filter Bar (`ink-filter-bar`) Filter chip bar with a results pill. Pick a chip and ink pours into it from the edge nearest the results bar, a liquid neck joins the two, and the chip merges into the bar while the count rolls digit by digit. Deselect and the ink drains back, the neck snaps and the chip returns to its place. Hovered chips ripple like an ink surface. Optional liquid search: the round search button pours into the results bar and becomes a search field, while the magnifier morphs through a diamond and a star into a spinning loop; closing pours it back. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: commerce, navigation, filter, search - npm dependencies: framer-motion - Files: ink-filter-bar.tsx - Live preview: https://sunui.synvize.com/blocks/ink-filter-bar ### When to use - Collection and search pages where shoppers stack a few filters and want to see the result count change - A campaign page with a short row of themes or categories that should feel tactile on mobile and desktop - A results page that needs a search field without spending a full row on it: the search button sits beside the count and opens into the same bar ### Watch out - You compute count from value; the bar only shows it - Best with up to about eight short chips; the row scrolls sideways beyond its width - The liquid joins use an SVG filter; very old Safari versions show plain pills without the neck - Search is off by default; pass searchable, and filter your own results by query. Pass searching while results load so the loop spins faster Also known as: filter chips, chip filter, goo filter, gooey chips, liquid tabs, metaball filter, filter navigation bar, results count bar, ink fill chips, liquid search, goo search, morphing search icon, search loader, expanding search pill ### Install ```bash npx shadcn@latest add @sunui-pro/ink-filter-bar ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Vote Terrain (`vote-terrain`) Campaign voting scene drawn as a contour map. Every option is a hill whose height is its share of the votes; nearby hills merge into a ridge. Hover a hill to darken its rings, tap it to vote: your hill fills ring by ring from the peak, the count rolls up and a Voted result appears in the footer. Voting for another hill moves your vote and the terrain reshapes with a gentle spring. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: campaign, marketing, vote - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: vote-terrain.tsx - Live preview: https://sunui.synvize.com/blocks/vote-terrain ### When to use - Flavor, color or design votes on campaign pages where the result should feel like a landscape, not a bar chart - Community picks such as which product comes back, which city gets the next pop-up, or a fan vote before a launch ### Watch out - Count and dedupe votes on the server; the block only adds this visitor's vote to the numbers you pass - Best with two to six options and short names; give at positions so labels do not overlap on 375px - Every hill has a real button with the exact count and percent, so screen reader and keyboard users vote without the map Also known as: poll, voting, flavor vote, community vote, topographic map, contour map, terrain chart, mountain chart ### Install ```bash npx shadcn@latest add @sunui-pro/vote-terrain ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Pixel Build Progress (`pixel-build-progress`) A progress bar drawn as a pixel building site inside a rounded pill. The value lays a brick wall from left to right, bottom rows first, and each brick drops into place; a small crew in hard hats walks, carries bricks and hammers at the front, and a flag on a pole shows the percent in a pixel font. At 99% one brick is left out of the top row under a bobbing arrow, at 100 it drops in, the crew jumps and confetti falls. Lower the value (to 0 for the next job) and the wall comes down from the right as bouncing debris while the counter runs back. If the value stalls the crew sits down to wait. Night (ink) and day (rice) themes; draws only while on screen and stops once the cheer is over. With reduced motion the wall jumps to the value and nothing moves. - Tier: Pro (license required) - Series: story (call get_design_rules with this series before editing the block) - Interaction: loading - Categories: feedback, loading, game-ui, canvas - npm dependencies: framer-motion - Files: pixel-build-progress.tsx, pixel-build-progress-scene.ts - Live preview: https://sunui.synvize.com/blocks/pixel-build-progress ### When to use - Long waits you can measure: preparing a download, exporting, uploading, packing an order, installing an update - Campaign or launch pages that count up to a goal (pre-registrations, a crowdfunding target) where reaching 100 should feel like a moment ### Watch out - Pass the real progress; the bar eases toward the value and never fakes progress on its own. For waits you cannot measure use a spinner or skeleton instead - The wall comes down whenever the value drops, so reset to 0 only when a new job starts - The bar is a progressbar with the exact value; the status line is the label you pass, and completion is announced once - Fixed 36 art pixels tall (108px at pixelSize 3); below about 280px wide the percent flag crowds the ends Also known as: progress bar, loading bar, loader, upload progress, download progress, install progress, construction, under construction, brick wall, building, pixel art, goal meter ### Install ```bash npx shadcn@latest add @sunui-pro/pixel-build-progress ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Pixel Check-in (`pixel-check-in`) Seven-day check-in board for game and campaign pages, drawn as pixel art. Claiming today pops pixel coins out of the tile and pulls them along curving paths into the wallet, which counts up as each coin lands. On the last day the chest bursts open: a flash, a shockwave across the floor, a shimmering pillar of light with god rays and rising motes, then the bonus underneath breaks its pixel seal and confetti falls. Built on the free pixel-fx engine; comes in ink and rice themes, and with reduced motion the balance and bonus appear at once. - Tier: Pro (license required) - Series: story (call get_design_rules with this series before editing the block) - Interaction: press - Categories: game-ui, campaign, rewards, canvas - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/pixel-fx, @sunui-pro/sunui-quest-sprites - Files: pixel-check-in.tsx, pixel-check-in-effects.ts - Live preview: https://sunui.synvize.com/blocks/pixel-check-in ### When to use - Daily login or check-in streaks on game event pages, pre-registration campaigns and app reward centers - A week-long campaign where the last day unlocks a bigger prize such as a skin, a coupon code or a gift ### Watch out - Record claims and the streak on your server; the block only shows the streak you pass and calls onClaim - Seven days fills the grid best (the last day spans two columns); show one claim per day, never a replay button - Each tile is a real button with the day, the reward and its state, and the result is announced, so it works without the effects Also known as: daily check-in, login bonus, login streak, daily reward, attendance, coin rain, treasure chest, loot drop, game rewards, pixel art ### Install ```bash npx shadcn@latest add @sunui-pro/pixel-check-in ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Cutaway Spec (`cutaway-spec`) Product page "what's inside" scene: a vertical cut line sits on the product picture. Drag it, tap anywhere on the picture or use the arrow keys, and the inside drawing shows to the left of the line. Each part gets a numbered marker as the line passes it, and its row in the spec list below turns from muted to the full text colour. The handle is a real slider, every spec is in the list from the start, and with reduced motion the line jumps straight to its new place. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: drag - Categories: product, marketing, specs - npm dependencies: framer-motion - Files: cutaway-spec.tsx - Live preview: https://sunui.synvize.com/blocks/cutaway-spec ### When to use - Product pages where the build is the selling point: insulated bottles, bags, shoes, headphones, furniture, mattresses - Launch pages that want the take-it-apart moment from 3D product films, on a flat picture that works on phones ### Watch out - Pass two pictures with the same framing and aspect (outside and inside), or the cut will not line up - Set each part's at to where it sits in the picture; the marker appears when the line passes its x - Best with three to eight parts and short spec values; longer notes belong on the page below Also known as: x-ray, cutaway, exploded view, what's inside, teardown, spec viewer, before after slider, product anatomy ### Install ```bash npx shadcn@latest add @sunui-pro/cutaway-spec ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Ask to Shop (`ask-to-shop`) One-sentence product finder: a text input with suggestion chips. Sending turns the send button into a thin searching line in place, then the same box grows into three result cards with the best match picked. Tap a card to change the pick and add it with one button: the other cards leave, the picked product picture shrinks into a single row and an Added result appears where the button was. Results come from your own onSearch, so the block never pretends to have a recommender. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: type - Categories: commerce, search, cart - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: ask-to-shop.tsx - Live preview: https://sunui.synvize.com/blocks/ask-to-shop ### When to use - Store home pages or empty search pages that want a "tell us what it's for" entry instead of filters - Gift guides and campaign pages that hand a sentence to your search or AI and show three picks ### Watch out - onSearch is yours: call your search index or model and return up to three products; the block shows exactly what you return - Mark one result best to preselect it; otherwise the first is picked - Empty and failed searches show their own line and keep the suggestions, so give real suggestions that return results Also known as: ai shopping, product finder, shopping assistant, gift finder, natural language search, ask ai, recommendation, conversational commerce ### Install ```bash npx shadcn@latest add @sunui-pro/ask-to-shop ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Recipe Glass (`recipe-glass`) Step-by-step recipe for drink and food kits: the ingredient list sits beside a line-drawn glass. Press Add or tap any ingredient and it pours into the glass as a layer in its own shade, with the amount written beside the layer; tapping an earlier step pours back. After the last pour a Ready result appears where the button was. The glass has a text description of what is in it, and with reduced motion layers appear at once. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: product, marketing, recipe - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: recipe-glass.tsx - Live preview: https://sunui.synvize.com/blocks/recipe-glass ### When to use - Product pages for coffee, tea, cocktail and smoothie kits that show what is in the box and how it goes together - Recipe and how-to sections on campaign pages where the order of ingredients matters ### Watch out - parts sets each layer's height relative to the others; use ml or grams so the glass looks right - Layers are told apart by shade, so keep it to six steps or fewer - Amounts are plain text you pass in; convert units before rendering Also known as: recipe, layered drink, ingredients, how to make, step by step, kit contents, pour, cocktail recipe ### Install ```bash npx shadcn@latest add @sunui-pro/recipe-glass ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Pixel Pre-register (`pixel-preregister`) Pre-registration block for game launch pages, drawn as pixel art. The current sign-up count sits on top of a milestone track whose nodes are pixel rewards. When the visitor sends an email the count rolls up by one and the track fills forward; if that crosses a milestone, its reward lights up and pixel fireworks launch from the node, bursting into sparks that cool, droop and twinkle out. Built on the free pixel-fx engine; comes in ink and rice themes, and with reduced motion the count and rewards update at once. - Tier: Pro (license required) - Series: story (call get_design_rules with this series before editing the block) - Interaction: press - Categories: game-ui, campaign, forms, canvas - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/pixel-fx - Files: pixel-preregister.tsx, pixel-preregister-effects.ts - Live preview: https://sunui.synvize.com/blocks/pixel-preregister ### When to use - Pre-registration pages before a game, app or product launch, where more sign-ups unlock rewards for everyone - Waitlists and crowdfunding-style campaigns that should show each sign-up's contribution ### Watch out - Fetch the count from your server and validate and dedupe emails there; the block only adds this visitor and awaits onRegister - Three to five milestones with short reward names fit best; columns are narrow at 375px - The email field has a label and an error message, and the result and any unlock are announced, so it works without the effects Also known as: pre-registration, preregister, waitlist, sign-up milestones, launch rewards, milestone tracker, fireworks, game launch, pixel art ### Install ```bash npx shadcn@latest add @sunui-pro/pixel-preregister ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Pixel Gacha (`pixel-gacha`) Capsule machine for campaign and game reward pages, drawn as pixel art. Turning the knob drops a capsule into the tray; it wobbles while your server draws, then cracks open: the top half flies off spinning and shards scatter. The aura that follows is scaled by rarity: one soft ring for common, a turning star of rays in cool blue for rare, and for legendary a gold pillar of light, falling glitter and confetti. The prize card then rises with its rarity, name and code; give the prize a pixel drawing and it rises as a fake-3D model (sprite stacking) that builds up layer by layer from the ground, then turns slowly and can be dragged. Built on the free pixel-fx engine; ink and rice themes, and with reduced motion the prize appears at once. - Tier: Pro (license required) - Series: story (call get_design_rules with this series before editing the block) - Interaction: press - Categories: game-ui, campaign, rewards, canvas - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/pixel-fx, @sunui-pro/sunui-quest-sprites - Files: pixel-gacha.tsx, pixel-gacha-effects.ts, pixel-gacha-stack.tsx, sprite-stack.ts - Live preview: https://sunui.synvize.com/blocks/pixel-gacha ### When to use - Prize draws on game event pages, festival campaigns and app reward centers, paid with tickets, points or free pulls - Revealing a randomized gift, coupon or cosmetic where the rarity of the result should be felt, not just read ### Watch out - Draw on your server and return the prize from draw(); the machine never picks one, and a failed draw gives the pull back - Show the odds on the page; many regions require disclosure for paid random draws, and some restrict them - The machine and the button are real buttons, and the result with its rarity and code is announced, so it works without the effects Also known as: gacha, capsule machine, gashapon, lucky draw, prize draw, loot box, random reward, rarity reveal, pixel art ### Install ```bash npx shadcn@latest add @sunui-pro/pixel-gacha ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Pixel Boss Sale (`pixel-boss-sale`) Flash sale drawn as a pixel boss fight. The HP bar is stock left or a community goal, with markers where deeper discounts unlock. Every purchase is an attack: the golem flashes white, two slashes cross it, sparks fly and a pixel damage number pops up and falls, while the HP bar drops and a pale trail follows a beat later. Falling past a marker drops a coupon chip as loot and announces the new discount. Built on the free pixel-fx engine; ink and rice themes, and with reduced motion there is no shake or effect, only the numbers update. - Tier: Pro (license required) - Series: story (call get_design_rules with this series before editing the block) - Interaction: press - Categories: game-ui, campaign, sale, canvas - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/pixel-fx, @sunui-pro/sunui-quest-sprites - Files: pixel-boss-sale.tsx, pixel-boss-sale-effects.ts - Live preview: https://sunui.synvize.com/blocks/pixel-boss-sale ### When to use - Flash sales, Singles Day or Black Friday pages where everyone sells out the stock together - Community goals where hitting a sales count unlocks a deeper discount, shown as a fight instead of a progress bar ### Watch out - Keep HP and discounts on your server; onAttack resolves with the damage of that order and throws to cancel, so the block never drops HP on a failed order - Two to four discount markers read best; more crowd together at 375px - The buy button and every result are real text, and screen readers hear the damage, the HP left and any unlocked discount Also known as: flash sale, boss fight, raid, hp bar, health bar, community goal, group buy, sale progress, damage numbers, pixel art ### Install ```bash npx shadcn@latest add @sunui-pro/pixel-boss-sale ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Pixel Level Track (`pixel-level-track`) Level and reward track for membership and campaign pages, battle-pass style, drawn as pixel art. Claiming a task's XP throws pixel orbs out of the task row along curving paths into the XP bar, which fills one segment as each orb lands. Overflowing the level flashes a light across the bar, snaps two flat rings out, sends light streaks rising and springs up a pixel-font LEVEL UP banner; the next reward on the track bursts open and becomes claimable. Built on the free pixel-fx engine; comes in ink and rice themes, and with reduced motion the numbers update at once. - Tier: Pro (license required) - Series: story (call get_design_rules with this series before editing the block) - Interaction: press - Categories: game-ui, campaign, rewards, canvas - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/pixel-fx - Files: pixel-level-track.tsx, pixel-level-track-effects.ts - Live preview: https://sunui.synvize.com/blocks/pixel-level-track ### When to use - Membership levels, campaign passes and task pages where finishing tasks earns XP and each level unlocks a reward - Seasonal event pages for games and apps where reaching a new level should feel like a moment ### Watch out - Store XP, level and claimed rewards on your server; the block shows the values you pass and calls onClaim and onRewardClaim - One claim levels up at most once; keep a task's XP below one level's worth - The XP bar is a progressbar with exact values, tasks and rewards are real buttons, and level ups and claims are announced Also known as: battle pass, season pass, level up, xp bar, experience bar, membership tiers, loyalty levels, reward track, quests, missions, pixel art ### Install ```bash npx shadcn@latest add @sunui-pro/pixel-level-track ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Curve Rail Hero (`curve-rail-hero`) Launch hero with a centred headline and a rail of cards bent along a curved surface below it. The cards drift slowly, turn with page scroll and can be dragged with inertia; the middle stays sharp while the sides blur with a slight colour fringe, like a lens with shallow depth of field, and the side cards grow up beside the headline. Cards are any content you draw: RailCard is a ready frame (kicker, meta, footer, ink, paper, accent or photo surface), GlyphTile puts a small tile inside a heading, and CurveRail works on its own. Pauses on hover, focus, off screen and in hidden tabs, has a pause button, arrow keys turn one card, focusing a link inside a card turns it to the middle, and with reduced motion the rail stands still. - Tier: Pro (license required) - Series: showcase (call get_design_rules with this series before editing the block) - Interaction: scroll - Categories: marketing, hero, carousel - npm dependencies: framer-motion - Files: curve-rail-hero.tsx - Live preview: https://sunui.synvize.com/blocks/curve-rail-hero ### When to use - Launch or drop landing pages where the first screen should show several facets at once (story, product, date, review, shipping) instead of one hero image - Brand and collection pages that want a signature first scroll: the rail turns as the visitor scrolls - Agency case-study heroes where each card is a different piece of work ### Watch out - edgeBlur and chroma repaint the side cards every frame; set both to 0 on long pages with several rails or on low-end targets - Keep the key message in the headline, not in a card: side cards are blurred on purpose and every card drifts - Cards are repeated to fill the arc when there are few of them; the repeats are hidden from screen readers, so do not rely on order for meaning - A heavy card (video, big image) is drawn once per repeat; pass a poster image instead of autoplaying video Also known as: curved carousel hero, 3d card rail, bent card carousel, depth of field carousel, cylinder carousel, launch hero cards, landing hero carousel, scroll driven carousel ### Install ```bash npx shadcn@latest add @sunui-pro/curve-rail-hero ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Glass Cube Hero (`glass-cube-hero`) Campaign hero built around a wobbling glass cube with a small glowing world inside: a spiral galaxy, a snow scene with a lantern, or rising gold embers. One WebGL1 fragment shader ray marches the rounded cube, bends light through it with refraction and Fresnel reflection, renders the inside as a volume with real parallax, adds an amber bevel rim, a mirror reflection on the floor and a soft glow, with no three.js. Drag to turn it with inertia or use the arrow keys; it spins slowly on its own, lowers its render resolution when frames get slow, pauses off screen and in hidden tabs, and a status strip holds a Motion switch. With reduced motion it holds a still frame and dragging still works. - Tier: Pro (license required) - Series: showcase (call get_design_rules with this series before editing the block) - Interaction: drag - Categories: hero, campaign, marketing, canvas - npm dependencies: framer-motion - Files: glass-cube-hero.tsx, shader.ts - Live preview: https://sunui.synvize.com/blocks/glass-cube-hero ### When to use - Launch or night drop hero for a premium product (fragrance, jewellery, limited edition) where the first screen should feel precious and invite a touch - Seasonal campaign heroes: snow for winter and holiday gift sets, gold embers for Lunar New Year or an anniversary sale - A brand page that wants one signature 3D object without shipping three.js or a video file ### Watch out - The shader is heavy for a background: use one cube per page and keep renderScale at 1 or below; it already drops to 0.5 when frames get slow - Keep the key message and CTA in the copy, not inside the cube: the inside is aria-hidden decoration - warm should stay a warm light colour (it lights the bevel and the inside); a dark or cold warm makes the glass look dull - Pass a poster image for the first paint and for browsers without WebGL Also known as: glass cube, 3d glass object, refraction hero, galaxy in a cube, snow globe hero, webgl product hero, ice cube shader, raymarched hero, 3d hero object ### Install ```bash npx shadcn@latest add @sunui-pro/glass-cube-hero ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Lineup Shelf (`lineup-shelf`) Product range scene: a row of products stands on a shelf line, with a strip of label thumbnails underneath. Drag the strip (or anywhere on the stage) and the thumbnails follow the finger while the products follow at a wider spacing, so you can see the strip is driving the shelf. On release it snaps to the nearest product, which steps forward while its name rolls in behind it. Tap the front product and the others and the strip step away first, then it moves aside and a panel brings in the description, spec rows, price and an Add to cart button that answers with a result mark. Arrow keys, Home and End browse, Enter opens, Esc closes, and with reduced motion every move jumps straight to its end. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: drag - Categories: product, marketing, carousel - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: lineup-shelf.tsx - Live preview: https://sunui.synvize.com/blocks/lineup-shelf ### When to use - Range and new-season pages where the products share one silhouette family: drinks, cosmetics, candles, sauces, sneakers - Brand home pages that want the drag-the-strip product shelf from 3D portfolio sites, on flat art that works on phones ### Watch out - Product art should be upright (about 1 : 2.4) with its base at the bottom edge so every item stands on the same shelf line - Best with five to twelve items; past that the strip is the only way to find one, so put a real search or filter next to it - onAdd is optional; leave it out on pure lookbook pages and the panel shows only the description and specs Also known as: product carousel, range shelf, lineup, flavour picker, coverflow, product strip, drag carousel, collection viewer ### Install ```bash npx shadcn@latest add @sunui-pro/lineup-shelf ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Sticker Board (`sticker-board`) Die-cut sticker scene: pass any art (SVG, image, pixel icon, emoji) and it gets a white vinyl edge with rounded corners grown from its own outline, so the art needs no baked-in border. Peel a sticker off the sheet and drag it onto the surface (a product, a hero, any node): it lifts with a deeper shadow, leans into the direction you move, and presses down with a small spring where you let go. Tap a sticker on the sheet to place it in the emptiest spot. Placed stickers can be dragged again, dropped off the surface to peel them off, or moved with the arrow keys, turned with [ and ], and removed with Delete. Positions are relative (0 to 1) so the layout survives any size and can be saved with the order. Optional max, a summary line for add-on pricing and an Add to cart action that answers with a result mark. With sheet off it becomes a decoration layer for heroes: stickers can be moved but not removed, and the links underneath stay clickable. A standalone Sticker export drops a static die-cut sticker inline in a headline. Reduced motion removes the lean and the lift. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: drag - Categories: product, marketing, campaign - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: sticker-board.tsx - Live preview: https://sunui.synvize.com/blocks/sticker-board ### When to use - Merch and custom product pages where shoppers decorate a tote, laptop sleeve, phone case or notebook with stickers and buy the layout - Campaign and brand heroes that want playful stickers around the headline that visitors can push around, without hiding the copy or links - Empty states, 404s and onboarding screens that need a little personality from art you already have ### Watch out - Art should have a transparent background and a clear silhouette; the white edge is grown from its alpha, so a filled square gets a square sticker - Save value (key, id, x, y, rotate) with the cart line in onSubmit; x and y are fractions of the surface, so render the same surface aspect ratio when you show it again - Keep the surface at least about four sticker widths wide on phones, and set max so the layout stays printable Also known as: sticker, stickers, die-cut sticker, sticker customizer, product customizer, drag and drop stickers, decal, sticker hero, personalize product, merch builder ### Install ```bash npx shadcn@latest add @sunui-pro/sticker-board ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Redline Reveal (`redline-reveal`) A design walkthrough that wraps any real interface: it starts as a wireframe grown from the live DOM (text lines become grey bars, images and icons grey blocks), then a camera flies to each marked element with rulers, guide lines, a selection box with its size and spacing pills between children. A stop can switch the interface to its next draft, so the pills show the change, such as 12 to 24. At the end a scan line sweeps across and reveals the finished, clickable interface. Plays only on screen, with pause, replay and a dot per stop. - Tier: Pro (license required) - Series: product (call get_design_rules with this series before editing the block) - Interaction: section - Categories: landing, marketing, agency, showcase - npm dependencies: framer-motion - Files: redline-reveal.tsx, measure.ts - Live preview: https://sunui.synvize.com/blocks/redline-reveal ### When to use - Agency and freelance portfolio pages: show a client project going from first draft to shipped, with the spacing fixes on screen - SaaS or app launch pages that want to show craft and attention to detail instead of a static screenshot - Case studies, changelogs and redesign announcements where the before and after is the story ### Watch out - The interface is laid out at canvasWidth and scaled into the frame, so use container queries (@container) inside it, not viewport breakpoints like sm: or lg: - Mark containers with data-spec, not leaves: gaps and rows are measured between the direct children of the marked element - The interface is inert until the reveal finishes; keep the page CTA outside the walkthrough - Pass children as a function of draft to show real changes between stops; static children still get the wireframe, redlines and reveal Also known as: redline, design spec overlay, wireframe to final, skeleton reveal, figma inspect, spacing redlines, design handoff, ui walkthrough, before and after ui, design iteration ### Install ```bash npx shadcn@latest add @sunui-pro/redline-reveal ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Count Chart (`count-chart`) Charts built from countable things, so the count is the chart: stacks of product (one slab stands for any number of items), a waffle of 100 coins that splits a price, or a gift box with a cup per piece. Tap any part and the rest fades while it lifts, and one plain sentence underneath reads it out (day and kind, a share of the price, a flavor of the box); tap a column label or a legend chip to read a whole day or a whole kind. Arrow keys walk the groups, Enter reads, Escape clears, and a hidden table carries every number for screen readers. Nothing plays on mount: when the data changes (another week, another box) only the new pieces drop in from the bottom up and the rest slide to their new place. Kinds are told apart by four tones of the text colour on a neutral surface, not by hue. Reduced motion swaps every move for an instant change. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: marketing, product, campaign - npm dependencies: framer-motion - Files: count-chart.tsx - Live preview: https://sunui.synvize.com/blocks/count-chart ### When to use - Price transparency on product pages: show where every $100 of the price goes (materials, making, shipping, tax, margin) as coins people can count - Small shop reports and campaign recaps: units made or sold per day, pre-orders per size, donations per cause, told with the product itself instead of axes - Gift sets, bundles and subscription boxes: show what is inside an assortment and switch boxes to compare ### Watch out - Built for small whole numbers: keep a stack under about 30 pieces (raise per) and a box under 24 cups; use a real chart library for long series or decimals - Kinds are told apart by tone, so keep to four series; pass read so the sentence names your unit (bars, coins, truffles) in your own words - Keep column ids and series ids stable when the data changes, otherwise every piece counts out again instead of only the new ones Also known as: unit chart, pictogram chart, isotype, waffle chart, stacked bar, price breakdown, transparent pricing, where your money goes, gift box contents, assortment, illustrated chart, countable chart ### Install ```bash npx shadcn@latest add @sunui-pro/count-chart ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Card Dock (`card-dock`) Membership or gift card picker built around an elastic light dock: the current card sits pressed into a pool of light whose top edge sags under it, and the previous card waits dimmed above. Scroll, drag, tap a tick or use the arrow keys and the stack moves on a spring: the card lifts out with the light clinging to it, the next one rises out of the glow, and the edge wobbles and settles. The light takes each card's tint and blends between them mid move. One Canvas 2D layer draws the light only while something moves; cards come in frosted glass (the light shows through) or brushed metal. A side panel shows the price, perks and a choose button for the current card. Wheel scrolling hands back to the page at either end unless loop is on. With reduced motion cards switch instantly and the light holds still. - Tier: Pro (license required) - Series: showcase (call get_design_rules with this series before editing the block) - Interaction: scroll - Categories: commerce, membership, pricing, canvas - npm dependencies: framer-motion - Files: card-dock.tsx - Live preview: https://sunui.synvize.com/blocks/card-dock ### When to use - Membership or loyalty tier picker where each tier is a physical-looking card with its own price and perks - Gift card or store card design chooser on a product page - A co-branded card or subscription launch page that wants one tactile, premium interaction instead of a plain pricing table ### Watch out - Keep tints muted material colours (bone, jade, copper, amber, slate); a saturated neon tint makes the light look like a template - Two to six cards read best; past six the side ticks and the stack lose meaning, use pricing-cards instead - The stage captures wheel and vertical drag while the pointer is over it; leave loop off on long pages so scrolling passes through at the ends - Everything that matters (price, perks, choose) lives in the panel; with panel off, put the details elsewhere because the cards are aria-hidden decoration Also known as: membership card picker, credit card carousel, card stack picker, gift card chooser, loyalty tier cards, elastic light card, glass card stack, card wallet hero, tier selector ### Install ```bash npx shadcn@latest add @sunui-pro/card-dock ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Shoppable Lookbook (`shoppable-lookbook`) Editorial lookbook you can buy from: each look is a 4:5 photo or illustration with numbered pins and a piece list beside it. Pins and rows are the same selection, so hovering a pin lifts its row and tapping it toggles the piece. Each piece can ask for a size; adding with a size missing shakes that row and the button names the piece. Taking the whole look applies a bundle discount and the line under the list switches from the offer to what you save. Tabs switch looks on a sliding underline while the frame keeps its place and the list height eases between looks. Selection is remembered per look. The result is a result mark where the button was. With reduced motion everything switches instantly. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: commerce, campaign, bundle, product - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: shoppable-lookbook.tsx - Live preview: https://sunui.synvize.com/blocks/shoppable-lookbook ### When to use - A seasonal campaign page that sells outfits or room sets as complete looks - Complete-the-look upsell on a product page, with a discount for taking the whole set - Editorial or magazine-style collection pages where each image should be shoppable ### Watch out - Two to four pieces per look read best; more pins crowd the image and the list pushes the button below the fold - Pin positions are percentages of the image; check them on the real photo at 375px - The bundle discount is only applied in the UI total; your cart must apply the same rule or the price will jump at checkout - Pieces with one size are preselected; pieces without sizes skip the size step Also known as: shop the look, complete the look, lookbook, outfit bundle, hotspot product image, shoppable image, editorial collection, bundle discount, buy the set ### Install ```bash npx shadcn@latest add @sunui-pro/shoppable-lookbook ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Product Finder (`product-finder`) Which-one-fits-you picker: a few one-tap questions above a row of products that re-ranks itself as you answer. Each product shows a row of ticks for how many answers it fits, plain text for which answers it fits and which it does not, and the single clear leader gets a Best fit label and the primary button. Products that fit nothing dim instead of disappearing, so the shopper can still compare. Cards slide to their new rank on a gentle spring (FLIP), chips move their fill on a shared layout spring, and tapping a chosen answer clears it. Ties keep their original order so nothing reshuffles without a reason. With reduced motion the order changes instantly. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: commerce, product, comparison, quiz - npm dependencies: framer-motion - Files: product-finder.tsx - Live preview: https://sunui.synvize.com/blocks/product-finder ### When to use - Product lines with three to six close models (toasters, mattresses, cameras, plans of a physical product) where shoppers ask which one is for them - A gift guide or campaign page that narrows a short list with two or three questions - Replacing a dense comparison table above the fold with something a shopper can answer in three taps ### Watch out - Keep it to two to four questions with two or three options each; past that it becomes a form - Write fits honestly: the reason text is generated from your fits map, so a product that claims every option makes the ranking meaningless - Best fit only appears when one product leads alone; that is intended, do not force a winner - For more than eight products use product-filter-grid instead Also known as: which one is right for me, product quiz, product recommender, gift finder, guided selling, compare models, fit finder, best match, product chooser ### Install ```bash npx shadcn@latest add @sunui-pro/product-finder ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Restock Notify (`restock-notify`) Product panel whose action changes with the size you pick: in-stock sizes show Add to bag (with an honest few-left line when stock is low), sold-out sizes are struck through and turn the same action area into an email field with Notify me and the expected restock date when you know it. After signing up the area shows a result mark, the masked address, your place in line when the handler returns one, and an offer to also be told about the neighbouring sold-out size. Each size remembers whether you signed up (a small dot on the chip), so switching back shows the result instead of the form again. The action area eases its height between states. With reduced motion everything switches instantly. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: commerce, product, inventory, form - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: restock-notify.tsx - Live preview: https://sunui.synvize.com/blocks/restock-notify ### When to use - Product pages for drops and limited runs where some sizes or colours sell out - Capturing back-in-stock demand per variant instead of one generic waitlist - Apparel or footwear stores that want the sold-out state to stay useful instead of a disabled button ### Watch out - Only pass restock when you actually know it; the line is omitted otherwise, never guess a date - position is optional; leave it out if your list cannot tell people where they are in line - onNotify should be idempotent per variant and email; the also-notify link reuses the same address - Low stock text uses lowStockAt (default 3); do not set it high to fake scarcity Also known as: back in stock, notify me when available, sold out button, restock alert, waitlist per size, out of stock variant, email me when back, variant picker sold out, low stock ### Install ```bash npx shadcn@latest add @sunui-pro/restock-notify ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Lookbook Expand Hero (`lookbook-expand-hero`) Season hero for a lookbook with several collections. Each collection starts as eight small looks scattered around its name; scrolling pulls them into one look that opens from its own thumbnail to fill the stage, holds there with two or three price tags and a shop panel, then shrinks back and hands over to the next collection. The opening is one clip window and one image scale interpolated together, so no edge ever shows. A numbered rail at the top names the collection and jumps to it. Works with page scroll or inside a scroll container, switches to a portrait layout on narrow stages, and with reduced motion every collection shows its open look with tags and scrolling just changes collection. - Tier: Pro (license required) - Series: showcase (call get_design_rules with this series before editing the block) - Interaction: scroll - Categories: commerce, hero, lookbook, gallery - npm dependencies: framer-motion - Files: lookbook-expand-hero.tsx - Live preview: https://sunui.synvize.com/blocks/lookbook-expand-hero ### When to use - Season or campaign landing page for a fashion, home or lifestyle store that launches several collections at once - Brand lookbook pages that want a signature first scroll instead of a static image grid - Department store anniversary sales where each collection or floor gets its own moment before the shopper picks one ### Watch out - The cover grows to fill the stage with object-cover, so use a wide photo with the products grouped in the middle third, and set aspect on the collection so tag positions are read on the photo and stay on the product when a narrow stage crops the sides - Two or three tags per cover is the limit; more turns the open look into a hotspot map, use shoppable-lookbook for full shop-the-look - Each collection costs about 1.6 stage heights of scroll; past four collections the page gets long, lower segment or split the lookbook - Tags and the shop panel only appear while a look is open; anything shoppers must not miss belongs in the page below as well Also known as: scroll morph hero, lookbook hero, collection hero, scroll expand image, image expand on scroll, scattered images converge, season campaign hero, shop the collection hero, fashion lookbook scroll ### Install ```bash npx shadcn@latest add @sunui-pro/lookbook-expand-hero ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Size Finder (`size-finder`) Size recommender for apparel: height and weight sliders plus a snug, regular or relaxed choice move a needle along a tape ruler with one cell per size. The needle is a continuous position (height and weight interpolated between size centres, weight counted more), so when it sits near a border the line under it says the shopper is between two sizes and which one their fit choice picks. A runsLarge prop shifts for styles that run big or small and says so. The recommended size changes on a gentle spring, the matching row of the garment table is marked, and Select puts a result mark where the button was. With reduced motion the needle jumps. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: drag - Categories: commerce, product, apparel, form - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: size-finder.tsx - Live preview: https://sunui.synvize.com/blocks/size-finder ### When to use - Apparel or footwear product pages where wrong sizes drive returns - A size guide drawer that should answer 'which size' instead of only showing a table - Campaign drops where shoppers buy fast and need one confident size ### Watch out - Height and weight ranges per size come from you; the recommendation is only as honest as your chart - Use runsLarge for styles that run big or small instead of editing the ranges per product - Values are metric (cm, kg); convert before passing if your store uses inches and pounds - This is a heuristic, not a fit model; keep a link to the full size guide nearby Also known as: size guide, size recommender, what size am I, fit finder, size calculator, size chart, between sizes, true to size, apparel fit ### Install ```bash npx shadcn@latest add @sunui-pro/size-finder ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Pickup Ticket (`pickup-ticket`) Pickup pass for in-store or event collection: store, order number, a large pickup code, time window, place and items, with an inset bar at the bottom. Drag the bar to the right and it follows the pointer; past 60% it slides out and fades, below that it springs back. A text button does the same for keyboard and screen reader users. Where the bar was, a dated result mark reads Picked up. The barcode on the bar is decorative and generated from the code. With reduced motion the bar is removed instantly. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: drag - Categories: commerce, post-purchase, order, ticket - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: pickup-ticket.tsx - Live preview: https://sunui.synvize.com/blocks/pickup-ticket ### When to use - Buy online, pick up in store confirmation pages and order status screens - Event, pop-up or workshop entry tickets where staff mark attendance - Click and collect for limited drops where staff need a clear 'already collected' state ### Watch out - The bar barcode is decoration, not a scannable code; render a real QR or barcode elsewhere if staff scan - Sliding the bar away is a local UI state; call your API in onCollect and pass collected when the server says so - Keep the pickup code short (4 to 6 characters) so it reads across a counter - On touch screens the bar takes the pointer (touch-action none); it is small enough not to block scrolling Also known as: pickup pass, click and collect, bopis, order pickup, event ticket, swipe to collect, ticket stub, collection code, will call ### Install ```bash npx shadcn@latest add @sunui-pro/pickup-ticket ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Holiday Cutoff (`holiday-cutoff`) Shipping deadline picker for a holiday: each delivery method shows its fee, its last order time and a live countdown, and the headline counts down to the next deadline that still makes it ('Order within 1d 22h 00m with Express'). When a method passes its cutoff while the page is open, it is struck through and marked closed, and if it was selected the choice moves to the next method that still arrives in time, with a line saying why. When everything has closed the headline says so plainly and an optional fallback (for example an e-gift card) slides in. The clock only ticks while the tab is visible. With reduced motion rows switch instantly. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: loading - Categories: commerce, campaign, seasonal, shipping - npm dependencies: framer-motion - Files: holiday-cutoff.tsx - Live preview: https://sunui.synvize.com/blocks/holiday-cutoff ### When to use - Christmas, Lunar New Year, Mother's Day or Valentine's campaign pages with shipping deadlines - Cart or checkout shipping step in the weeks before a gift holiday - Replacing a static 'order by' banner with per-method cutoffs that stay true as time passes ### Watch out - Cutoffs must be real; a fake deadline is dark-pattern urgency and the countdown makes it obvious - Pass now from the server if the client clock may be wrong; the component adds elapsed time to it - Use the shopper's timezone for cutoff dates, or say which timezone in the method note - Give a fallback (gift card, in-store pickup) so the closed state still leads somewhere Also known as: shipping cutoff, order by date, christmas delivery deadline, last day to order, delivery countdown, arrives by, holiday shipping, gift deadline, cutoff timer ### Install ```bash npx shadcn@latest add @sunui-pro/holiday-cutoff ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Subscription Manager (`subscription-manager`) Subscribe-and-save manager for a repeat product (coffee, pet food, razors): the next delivery date and amount are the anchor and roll when anything changes. The next four deliveries sit in a row of small cards; tap one to skip or restore that delivery, and the next one takes over. Swap flavour, change how often and change quantity on chips and a stepper; every change returns the full state to onChange. Cancelling first shows an optional save offer next to an equally visible Cancel anyway; the offer discounts only the next box. Cancelled shows a muted result mark and Resume. Heights ease between states. With reduced motion everything switches instantly. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: commerce, subscription, post-purchase, account - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: subscription-manager.tsx - Live preview: https://sunui.synvize.com/blocks/subscription-manager ### When to use - Account page for a subscribe-and-save product where customers skip, swap or pause instead of cancelling - DTC brands selling consumables (coffee, tea, pet food, skincare refills) - A campaign landing that previews how flexible the subscription is before sign-up ### Watch out - Cancel anyway is always as visible as the save offer; do not hide it, several regions require one-click cancellation - Dates are computed from lastShipped plus the frequency; pass your real schedule if it differs (holidays, cut-off days) - The save offer applies to the next delivery only; make your billing do the same - Changing frequency clears skips because the dates move Also known as: subscribe and save, subscription portal, skip delivery, manage subscription, recurring order, pause subscription, cancel flow, retention offer, replenishment ### Install ```bash npx shadcn@latest add @sunui-pro/subscription-manager ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Volume Tiers (`volume-tiers`) Quantity break picker (buy more, save more): tier cards show pack size, price per item and the saving, and the current tier gets an outline that slides between cards. A stepper below changes the quantity freely; the matching tier follows, the total rolls with the full price struck above it, and a line does the honest maths when the next tier is close ('Add 1 more to save 15%'). Add to bag becomes a result mark with the count. With reduced motion everything switches instantly. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: commerce, pricing, product, cart - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: volume-tiers.tsx - Live preview: https://sunui.synvize.com/blocks/volume-tiers ### When to use - Consumables and gifts sold in multiples (honey, candles, socks, coffee pods) with per-quantity discounts - Bundle-and-save campaigns on a product page - Wholesale-lite pricing for small shops without a B2B portal ### Watch out - The discount is applied in the UI total only; your cart must apply the same tiers or checkout will disagree - Keep three or four tiers; more cards do not fit at 375px - The nudge only appears when the next tier exists; do not add a fake tier just to create a nudge - Prices round to cents per item before multiplying, matching how most carts compute line totals Also known as: quantity breaks, buy more save more, volume discount, bulk pricing, multi buy, bundle and save, tiered pricing, pack sizes, quantity discount ### Install ```bash npx shadcn@latest add @sunui-pro/volume-tiers ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Review Request (`review-request`) Post-purchase review card: five stars that lift under the pointer, a word for the level, then reason chips that depend on the rating (what went wrong for three stars or fewer, what you liked for four or more; switching sides swaps the whole set and clears picks). An optional note, a help link for low ratings, and Post review, which becomes a result mark. If you pass a reward it appears after posting as a code in an inset well with a copy button, for every rating, so the incentive never depends on a positive review. Heights ease as sections appear. With reduced motion everything switches instantly. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: commerce, post-purchase, reviews, form - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: review-request.tsx - Live preview: https://sunui.synvize.com/blocks/review-request ### When to use - Review request page or email landing after delivery - Order history rows that open a quick rating - Collecting structured reasons (damaged, not as described) alongside the star rating ### Watch out - Rewards must not depend on the rating; the component shows the reward for every rating on purpose (FTC and EU rules on incentivised reviews) - Reason chips are yours to localise; keep five or fewer per side - onSubmit gets the rating, picked reasons and text; store reasons as structured data, not inside the text - Use onHelp to route low ratings to support, not to hide them Also known as: review request, rate your order, product review form, post purchase survey, star rating with reasons, feedback after delivery, review incentive, leave a review, csat ### Install ```bash npx shadcn@latest add @sunui-pro/review-request ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Referral Queue (`referral-queue`) Waiting list with a referral ladder for drops and launches: join with an email, get your place in line as a large mono ticket number, a share link to copy and a track from where you joined to first place (square-root scale, so every referral visibly moves the needle), with milestones as ticks (early access, free shipping, signed tag). Each friend who joins through your link moves you up a fixed number of places: the number rolls down, the needle and filled track slide right, milestones fill in, and a line says how many more friends reach the next one. Referrals come in from your server as a prop. With reduced motion everything switches instantly. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: type - Categories: campaign, launch, waitlist, referral - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: referral-queue.tsx - Live preview: https://sunui.synvize.com/blocks/referral-queue ### When to use - Limited drops and pre-launch pages where order of access matters - Restock queues that reward sharing - Launch waitlists for physical products or pop-up events ### Watch out - Positions and referrals must come from your server; never fake movement on the client - Milestones should be real perks you will honour; the line tells people exactly how many friends they need - perReferral should be large enough to feel meaningful but not so large that early joiners get leapfrogged by a handful of shares - The share URL is shown in full so it can be selected if the clipboard is blocked Also known as: waitlist, referral waitlist, skip the line, queue position, viral waitlist, refer a friend, drop queue, launch list, invite friends ### Install ```bash npx shadcn@latest add @sunui-pro/referral-queue ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Collection Accordion (`collection-accordion`) Floor or collection entry for a campaign page. Four to six tall photo strips sit side by side; hovering, focusing or tapping one widens it while the others narrow, and a panel shows the collection name, discount range, item count and a shop link. Collapsed strips keep a vertical label. Widths move on the gentle spring and each photo sits in a fixed, centred frame, so the strip opens around the photo instead of rescaling it. Arrow keys, Home and End move between strips, Enter follows the link, and a first tap on touch only expands. Under 640px of container width it becomes a vertical stack where the active row grows in height; with reduced motion widths and heights switch instantly. - Tier: Pro (license required) - Series: showcase (call get_design_rules with this series before editing the block) - Interaction: hover - Categories: commerce, campaign, navigation, gallery - npm dependencies: framer-motion - Files: collection-accordion.tsx - Live preview: https://sunui.synvize.com/blocks/collection-accordion ### When to use - Department store anniversary or seasonal sale pages that send shoppers to floors or departments such as beauty, apparel, home, kids and appliances - A section inside a campaign landing page that lists four to six collections, each with its own offer - Brand homepages that want category entries with photos instead of a plain link grid ### Watch out - Use portrait photos with the subject in the middle third: collapsed strips show only a narrow centre slice and stacked rows show a wide band - Four to six strips; past six the collapsed strips get too narrow for their labels, use a grid instead - Write real offer ranges such as Up to 30% off outerwear; the block shows them as given and adds no urgency - On touch the first tap expands and the second follows the link, so put anything shoppers must see in the panel text, not only in the photo Also known as: image accordion, expanding image strips, interactive image accordion, category accordion, floor guide, department store floors, anniversary sale categories, expanding panels gallery, hover expand cards ### Install ```bash npx shadcn@latest add @sunui-pro/collection-accordion ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Shoppable Story (`shoppable-story`) Editorial article you can shop from, for brand journals and content commerce. The article is your own markup; product names inside it are inline elements. Hovering or focusing one opens a small card anchored to the word (photo, name, price, Add), and on touch a tap opens a bottom sheet instead. A tray lists every product in the story, as a sticky sidebar on wide layouts and a collapsible bar at the bottom on narrow ones; products light up once the reader has scrolled past their mention. An Add all button adds every product (or only the ones read so far) and a quiet result mark replaces the button with the result. Works with page scroll or inside a scroll container, and with reduced motion every change is instant. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: scroll - Categories: commerce, content, editorial, product - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: shoppable-story.tsx - Live preview: https://sunui.synvize.com/blocks/shoppable-story ### When to use - Brand journal or blog posts that mention products, such as packing lists, gift guides and how we use it stories - Content commerce pages where the article sells, and readers should be able to add an item without leaving the text - Seasonal editorials that end with a single Add all from this story action ### Watch out - Wrap only the first natural mention of each product; linking every repeat turns the article into an ad and the underlines become noise - Keep product names in mentions short (two or three words): mentions do not wrap, so long names break the line early on phones - The touch bottom sheet is position: fixed; a transformed ancestor (a page transition wrapper, for example) traps it, so render the story outside such wrappers - Products light up by scroll position, not by real reading time; the progress line says read, so do not use it as an analytics signal - Add all adds every product by default; set addAllScope to read when the story is long and a reader may not want items they never reached Also known as: shoppable article, shoppable blog post, shop the story, content commerce, editorial commerce, product mention hover card, inline product link, shop this post, brand journal ### Install ```bash npx shadcn@latest add @sunui-pro/shoppable-story ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Gift Guide Fan (`gift-guide-fan`) Seasonal gift guide as a fanned stack of product cards. Chips at the top filter by recipient and budget; the matching gifts sit in a fan with the top card upright. Drag the top card left (or press Skip or the Left arrow) and it springs to the bottom of the pile; drag right (or press Keep or the Right arrow) and it flies into a shortlist row below with a count. Changing a filter reshuffles the fan with layout springs. The shortlist has Share list and Add all to bag buttons that call back, and the result replaces the button as a result mark. Tapping a shortlisted gift puts it back in the pile. With reduced motion there is no drag, the pile reorders instantly and the buttons and arrow keys still work. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: drag - Categories: commerce, campaign, seasonal, carousel - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: gift-guide-fan.tsx - Live preview: https://sunui.synvize.com/blocks/gift-guide-fan ### When to use - Christmas, Valentine's Day, Mother's Day or Mid-Autumn gift guide pages where shoppers browse by who the gift is for and how much to spend - Holiday landing pages that want shoppers to build a list of ideas before checking out, then share it or add everything at once - Gift exchange or office party pages with a fixed budget band ### Watch out - Use 4:5 product photos shot on the same background; the card crops with object-cover and mixed backgrounds make the fan look like a collage - Keep names short: the card shows one line and truncates, so long names lose the part that tells gifts apart - Only the top card is draggable and only five cards are drawn; with dozens of gifts per filter the pile gets tedious, keep 8 to 20 per guide and link to the full catalog - Recipient and budget filters are single choice; a gift can belong to several recipients but to exactly one budget band, so pick prices that sit clearly inside a band in every currency you show - Share and Add all only call your callbacks; copying a link or adding to the cart is your code, return false to skip the result Also known as: gift guide, card fan carousel, stacked card carousel, swipe cards, tinder swipe products, gift finder, holiday gift picker, wishlist builder, shortlist, christmas gift guide ### Install ```bash npx shadcn@latest add @sunui-pro/gift-guide-fan ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Catalog Flipbook (`catalog-flipbook`) Shoppable weekly flyer, the supermarket or department store DM (Japanese chirashi) as a printed book. An open spread sits in the middle with earlier and later pages stacked edge-on at the sides; drag, flick, click a page edge or press the arrow keys and the page turns on its spine with a shaded fold that follows the pointer. Each page is a photo layout of products with printed price labels, and every product has a hotspot that opens a small price card with the deal price, the regular price, the size and Add to cart (callback, async aware, confirmed with a result mark). A thumbnail strip below jumps to any spread and a line at the top shows the issue window. Narrow screens show one page at a time; with reduced motion pages switch instantly. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: drag - Categories: commerce, campaign, catalog, product - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: catalog-flipbook.tsx - Live preview: https://sunui.synvize.com/blocks/catalog-flipbook ### When to use - Weekly flyer or promotion leaflet for a supermarket, grocery, drugstore or department store that already prints one - Seasonal catalog or clearance booklet where shoppers browse by page and buy straight from the layout - Agency builds for retail clients in Taiwan, Japan or China, where the paper DM is a weekly habit ### Watch out - One to four products per page; photos are cropped with object-cover, so keep the product in the middle of each photo and check hotspot positions at 375px - Hotspot x and y are percentages of each photo cell, not the page; move them when you change the number of items on a page - Show real regular prices and the real issue window; the flyer is a promise, do not invent was prices or countdowns - Turning a page needs a pointer or the arrow keys; the thumbnail strip and the previous and next buttons are the keyboard and screen reader path, keep them visible Also known as: weekly flyer, digital flyer, shoppable catalog, page flip catalog, flipbook, chirashi, DM, promotion leaflet, magazine page turn, grocery circular ### Install ```bash npx shadcn@latest add @sunui-pro/catalog-flipbook ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Swipe Shortlist (`swipe-shortlist`) A product deck you decide on by swiping: right saves, left skips, up puts the item straight into the bag. While you drag, the card tilts with the pointer and a small tag fades in at its corner for the direction it is heading; let go short of the threshold and it springs back, past it (or flicked fast enough) it flies off that way. Three buttons and the arrow keys do the same, and Undo brings the last card back from the side it left. When the deck runs out it turns into a shortlist: bag items with a subtotal and a Checkout button, saved items each with a one-tap add to bag, and a link to see the skipped items again. Checkout leaves a dated result mark where the button was. With reduced motion cards change without tilting or flying. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: drag - Categories: commerce, discovery, wishlist, product - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: swipe-shortlist.tsx - Live preview: https://sunui.synvize.com/blocks/swipe-shortlist ### When to use - New arrivals or drop pages where shoppers flick through a small edit and keep what they like - Gift finders and style quizzes that end in a cart instead of a results page - Mobile campaign pages where a card deck reads better than a grid ### Watch out - Keep the deck short (5 to 12 items); past that people stop deciding and start skipping - Decisions are local UI state; persist them in onDecide and clear them on onUndo if the wishlist or cart lives on your server - The card takes the pointer (touch-action none), so leave room above and below it for the page to scroll on phones - Swiping is not the only path: keep the three buttons visible for keyboard, screen reader and switch users Also known as: swipe deck, tinder for products, swipe to shop, card swipe, this or that, product picker, style swipe, shortlist, wishlist builder, swipe cards ### Install ```bash npx shadcn@latest add @sunui-pro/swipe-shortlist ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Sky Time Switch (`sky-time-switch`) A wide glass pill with a lake landscape inside. Drag the sky to scrub the time of day: the sun and moon ride an arc, the sky, clouds, ridges and water recolor continuously, and at night the aurora, stars, fireflies, a lit cabin window and chimney smoke appear. Reports day or night as it crosses your hours, so it can drive the site theme; a tap sweeps to noon or midnight. - Tier: Pro (license required) - Series: showcase (call get_design_rules with this series before editing the block) - Interaction: drag - Categories: dark-mode, store-hours, illustration - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/theme-picker - Files: sky-time-switch.tsx - Live preview: https://sunui.synvize.com/blocks/sky-time-switch ### When to use - Store hours or pickup window widget, for example "Open now, closes 21:00" or "Closed, opens 07:00" - A dark mode switch that should be a memorable brand moment instead of an icon button - Campaign pages that pick a time of day: delivery cutoff, booking slot, live stream schedule ### Watch out - Time is in minutes (0 to 1439); dayFrom and nightFrom are hours, and sunrise and sunset line up with them - It displays time, it is not the source of truth for whether the shop is open; check that on the server - The wheel scrubs time over the pill and blocks page scroll there; set wheel={false} in the middle of long pages Also known as: time of day slider, day night slider, sunrise sunset switch, store hours widget, theme toggle landscape, time scrubber, dark mode switch ### Install ```bash npx shadcn@latest add @sunui-pro/sky-time-switch ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Lamp Dimmer Scene (`lamp-dimmer-scene`) The knob is the lamp. A glass key with a pixel sun slides along a long LAMP track, and the key itself lights the page: a cone of rays falls from it, warm amber when bright and cool violet-blue when dim, with pixel sparks drifting off it at night. Cards below catch the light on the side facing the key, live numbers and a bar chart follow the level, and the whole scene blends from a night theme at 0% to a day theme at 100%, telling you when it crosses your threshold so the site can flip .light / .dark. - Tier: Pro (license required) - Series: showcase (call get_design_rules with this series before editing the block) - Interaction: drag - Categories: dark-mode, commerce, campaign, product - npm dependencies: framer-motion - Files: lamp-dimmer-scene.tsx - Live preview: https://sunui.synvize.com/blocks/lamp-dimmer-scene ### When to use - A lamp, smart lighting or home goods product page where one drag shows the difference in brightness and colour temperature - Making the dark mode switch the hero of the page instead of a toggle in the corner - A campaign version of a dashboard where numbers and charts all follow one control ### Watch out - The rays sit above the content with a blend mode; keep key text and buttons inside LampSurface cards so they stay readable - Mid levels are a blend between dark and pale; if the page rests at one, check your brand colour's contrast on that background - The scene palette is a fixed lamp light and does not follow your theme colours; edit the NIGHT, DUSK and DAY sets if you need to Also known as: lamp dimmer, brightness slider, dark mode slider, light level scene, god rays, dimmer switch, day night slider, smart lighting product page ### Install ```bash npx shadcn@latest add @sunui-pro/lamp-dimmer-scene ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Theme Reveal (`theme-reveal`) The new theme grows out of the theme switch while the old one stays on screen around it. Lens: a glass circle with a glowing rim (blue-violet into dark, amber into light) and flowing light lines and stars inside. Repaint: an ink blob with uneven lobes floods the page, with sparks flying ahead of the front (blue sparks with constellation lines into dark, golden sparks with ripples into light) and a repainting percentage in the corner. Wrap one section, or switch the whole page with the View Transitions API. - Tier: Pro (license required) - Series: showcase (call get_design_rules with this series before editing the block) - Interaction: press - Categories: dark-mode, transition - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/theme-picker - Files: theme-reveal.tsx - Live preview: https://sunui.synvize.com/blocks/theme-reveal ### When to use - A site or store dashboard with dark mode where the switch itself should be a moment people remember - Switching a campaign page between its day and night versions, like an early bird offer and a late-night deal - A product page or portfolio that shows the same screen in both light and dark ### Watch out - The scoped version renders its children twice during the reveal; for heavy content (many images, video, iframes) use the page-level revealTheme - Inside children use shadcn tokens, not dark: variants, or an ancestor .dark leaks into the light copy; style per theme with the theme from the render prop - Attach refs and autofocus only in the live copy; the page-level mode draws the shape only (no rim or sparks) and switches instantly without View Transitions support Also known as: theme transition, dark mode reveal, circular theme switch, ink theme transition, view transition theme toggle, night mode wipe ### Install ```bash npx shadcn@latest add @sunui-pro/theme-reveal ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Kelvin Switch (`kelvin-switch`) A colour temperature slider on the SunUI glass key. Drag from a cool moon to a warm sun: the key's pixel moon dissolves into a pixel sun around neutral, the stage turns from near black to warm paper, the dot grid lights up under the pointer in the current light colour and the drag leaves a trail of pixel stars. A cool to warm ruler with preset ticks, magnet snapping and a big kelvin readout sit below. - Tier: Pro (license required) - Series: showcase (call get_design_rules with this series before editing the block) - Interaction: drag - Categories: dark-mode, commerce, product-options - npm dependencies: framer-motion - Files: kelvin-switch.tsx - Live preview: https://sunui.synvize.com/blocks/kelvin-switch ### When to use - Choosing the colour temperature of a bulb, lamp or ceiling light, for example 2700 K, 4000 K and 6500 K SKUs - One tactile control that also flips the site between light and dark: onThemeChange fires when the value crosses the threshold - Product or campaign pages that deal in warm and cool values, such as camera filters, photo editing or screen night modes ### Watch out - kelvinToRgb is an approximation; product photos and real light can still differ, so show real photos for important specs - Keep preset values in sync with your backend SKUs and add the preset's sku to the cart, not the raw slider value - The whole stage moves between dark and light, so content passed to before and children must read on both Also known as: color temperature slider, colour temperature picker, kelvin slider, light bulb option picker, warm cool switch, white balance slider, theme slider ### Install ```bash npx shadcn@latest add @sunui-pro/kelvin-switch ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Glass Lens Hero (`glass-lens-hero`) A giant campaign headline on a translucent pill track, with the ThemeSwitch glass key grown into a real lens: letters seen through it are minified 0.72x, fringed red and blue at the rim and bent by a bevelled edge, with a focused caustic cast below. Your pointer is the light. Drag the glass past halfway to switch day and night, click it, or use the arrow keys. Thin technical callouts annotate the optics. - Tier: Pro (license required) - Series: showcase (call get_design_rules with this series before editing the block) - Interaction: drag - Categories: dark-mode, hero, campaign - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/theme-picker - Files: glass-lens-hero.tsx - Live preview: https://sunui.synvize.com/blocks/glass-lens-hero ### When to use - Product launch or seasonal drop hero where one brand word or product name is the star - Sites with dark mode that want the theme switch itself to be the showpiece - Glass, fragrance, drinks, optics or gadget brands where light and transparency are the story ### Watch out - Short headlines (4 to 6 letters) read best; long words shrink a lot on phones - The bevel uses an SVG displacement filter; Safari falls back to plain scaling while fringes and caustic stay - Callouts hide below 640px wide, so do not put essential information only in annotations Also known as: glass lens, refraction hero, magnifier hero, chromatic dispersion, caustic light, day night toggle hero, theme switch hero, liquid glass ### Install ```bash npx shadcn@latest add @sunui-pro/glass-lens-hero ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Ask AI Halo (`ask-ai-halo`) An Ask AI pill that dips, springs open into a composer card with a metal edge whose highlight turns once, and sends a shockwave of light across the page from it. The halo bends the live page a few pixels as one lens (an SVG displacement filter on the real DOM: no screenshot, no delay on click), splits red and blue by a trace on dark pages, tints light pages and adds light on dark ones with four soft rings, and makes borders marked data-halo-line catch the light as it passes. Four palettes (Aurora, Halo, Frost, Spark) tuned twice for light and dark; the start and size adapt to the page, toolbars outside the stage stay clear, and it draws only while it runs. Sending fires a softer halo. HaloStage fires it from anything else through a ref. Under reduced motion there is no bend or glint and the light fades in place at half strength. - Tier: Pro (license required) - Series: showcase (call get_design_rules with this series before editing the block) - Interaction: press - Categories: ai, input, effects - npm dependencies: framer-motion - Files: ask-ai-halo.tsx - Live preview: https://sunui.synvize.com/blocks/ask-ai-halo ### When to use - Product or admin pages that want opening the assistant to feel like a moment, once per open rather than as decoration - Launch pages showing an AI feature, where the page itself reacts to the question being sent ### Watch out - Wrap only the content area in the stage; keep app and browser toolbars outside so the halo never draws on them - Give the page inside the stage a background color: the bend reads the page as pixels and transparent areas split oddly - Mark rules, cards and chips with data-halo-line (data-halo-line="bg" for 1px dividers drawn with a background) to let them glint; text and icons never light up - The bend uses SVG filters on HTML; turn it off with layers={{ bend: false }} if a page holds video or very large canvases - The shortcut is Cmd/Ctrl+J by default; pass shortcut={false} if your app already uses it - The composer takes its colors from the color-scheme around it (light-dark()), so set color-scheme with your theme, as next-themes and shadcn themes do Also known as: ai input, ask ai, shockwave, halo, ripple, lens distortion, chromatic aberration, ai composer, prompt bar, command bar ### Install ```bash npx shadcn@latest add @sunui-pro/ask-ai-halo ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Tear Pack Reveal (`tear-pack-reveal`) A foil reward pack you open by dragging across the crimped top. The seal tears along a jagged line and curls up as you go, and past the halfway point it rips free and flies off. The cards rise out of the pack and fan into a row with a burst of confetti; each card is one reward (free shipping, a discount, a gift, points, credit) with its own rarity, and tilts under the cursor while a holographic band slides across it. Tapping the pack lifts the seal to show it tears; Enter or Space opens it from the keyboard and the rewards are announced. Reduced motion opens straight to the row with no tilt or confetti. - Tier: Pro (license required) - Series: showcase (call get_design_rules with this series before editing the block) - Interaction: drag - Categories: commerce, marketing, loyalty, rewards, campaign - npm dependencies: framer-motion - Files: tear-pack-reveal.tsx - Live preview: https://sunui.synvize.com/blocks/tear-pack-reveal ### When to use - A welcome or member-week moment: a new member, a loyalty tier upgrade or a birthday opens a pack of rewards instead of reading a list of codes - Campaign pages where the reward is the hook, such as a holiday drop, a launch giveaway or a referral payout - Turning a post-purchase thank-you into something people screenshot and share ### Watch out - Decide the rewards on the server before the pack is shown; the component only reveals the cards it is given - Three to six cards read best; more than six gets cramped on phones - One per page: it is a signature moment. Keep terms and codes on the account page the claim button leads to - Card colors are yours to set; keep text tone dark on light cards and pass tone: "dark" on deep ones Also known as: booster pack, card pack, tear open, unboxing, mystery box, blind box, reward reveal, loot reveal, holo card, holographic card, trading card, gacha, pack opening, confetti reveal, loyalty rewards ### Install ```bash npx shadcn@latest add @sunui-pro/tear-pack-reveal ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Storage Meter (`storage-meter`) A storage usage card whose bar is a grid of lit pixels, one colored block per category. On first view it scans: every category counts up from zero behind a bright scan line while the header total climbs and file paths flick past. Point at a block or a row in the legend and the rest dims while that block lights up, and the line under the total explains what is inside. The footer suggests one thing to clear at a time with the reason written out; press it and that block crumbles from the right into pixels that float away, the blocks after it slide left to close the gap and the total counts down to what was freed. Rescan replays the scan. Draws on one Canvas 2D layer only while on screen; numbers and paths are written straight to the DOM. Ink and rice themes. Reduced motion shows the final numbers with no scan, twinkle or particles. - Tier: Pro (license required) - Series: showcase (call get_design_rules with this series before editing the block) - Interaction: hover - Categories: dashboard, account, settings, data - npm dependencies: framer-motion - Files: storage-meter.tsx - Live preview: https://sunui.synvize.com/blocks/storage-meter ### When to use - Storage or quota pages in a cloud drive, photo backup, file hosting or SaaS plan screen, where people need to see what is using their space before they upgrade or clean up - Device or app cleanup flows: show what can be cleared, why it is safe, and celebrate the space it frees - An upgrade nudge that earns its place: show the plan filling up by category, then offer the bigger plan next to the clear button ### Watch out - Values share the unit of capacity (GB by default); pass formatValue for TB, MB or a locale format - Keep to about nine categories; more makes the blocks too thin to point at - onClear should do the real deletion; return a Promise and the block waits for it, and restores itself if it rejects - Pass categories through useMemo: a new array resets the meter to the values you pass Also known as: storage bar, disk usage, storage scanner, quota meter, usage meter, segmented progress bar, stacked bar, cleanup, clear cache, empty trash, cloud storage plan, pixel grid bar, storage breakdown ### Install ```bash npx shadcn@latest add @sunui-pro/storage-meter ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Holiday Calendar (`holiday-calendar`) A dark glass month calendar whose header comes alive for the holiday you pick. Holiday dates carry a small dot; choosing one slides a glowing orb onto the day, swaps the title for the holiday name and an optional one-line note (an order cutoff, a sale ending), and crossfades the scene across the top of the card: falling snow for Christmas, fireworks for New Year's Eve, rising sky lanterns for Lunar New Year, floating hearts for Valentine's Day, drifting petals for spring. When no holiday is picked, each month can have its own look through monthStyles: a scene and a color per month (every year, or one specific month), such as a blue aurora in January, petals in April, fireflies in summer and falling leaves in autumn. Months without a style show a slow teal aurora, and the aurora takes on the month's color. A soft glow behind the card shifts to each holiday's color. Month and weekday names come from Intl in any locale, the grid is fully keyboard navigable (arrows, Home, End, Page Up and Page Down) and selections are announced. The scenes draw on one Canvas 2D layer that only runs while on screen; reduced motion shows each scene as a still frame. - Tier: Pro (license required) - Series: showcase (call get_design_rules with this series before editing the block) - Interaction: press - Categories: commerce, marketing, campaign, seasonal, calendar - npm dependencies: framer-motion - Files: holiday-calendar.tsx - Live preview: https://sunui.synvize.com/blocks/holiday-calendar ### When to use - A campaign or seasonal page that lays out the shopping calendar: each holiday is a sale day, and picking it shows the cutoff or offer for that day - Shipping deadline pages before Christmas or Lunar New Year, where the note under the holiday name says the last day to order - A store events page or newsletter landing that wants one memorable, screenshot-worthy widget instead of a plain list of dates ### Watch out - It is a dark scene by design; place it on a dark section and leave glow on, or pass glow={false} if the section is light - Dates are plain ISO strings (YYYY-MM-DD) with no time zone; holidays that move each year (Lunar New Year, Easter) need the right date per year - Eight scenes ship: aurora, snow, fireworks, lanterns, hearts, petals, leaves, fireflies. Set accent per holiday, and a scene and accent per month with monthStyles (keys "1" to "12", or "2026-12" for one year) - It is a showcase picker, not a booking date picker: there is no range selection, min or max dates, or form value Also known as: holiday calendar, event calendar, seasonal calendar, campaign calendar, animated calendar, festive calendar, christmas calendar, new year calendar, lunar new year calendar, shipping cutoff calendar, sale calendar, date picker with animation, snow, fireworks, sky lanterns, monthly theme, seasonal theme calendar ### Install ```bash npx shadcn@latest add @sunui-pro/holiday-calendar ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Live Activity Wall (`live-activity-wall`) A dark wall of lock screen style live activities for an app or store launch: order steps, a cart hold countdown, a shipment arc, a courier on the way, live shopper bars, a live stream and small metric pills. The camera opens close on a few cards and pulls back as the columns drift past at different speeds, and every number keeps ticking. - Tier: Pro (license required) - Series: showcase (call get_design_rules with this series before editing the block) - Interaction: section - Categories: landing, hero, commerce, order - npm dependencies: framer-motion - Files: live-activity-wall.tsx - Live preview: https://sunui.synvize.com/blocks/live-activity-wall ### When to use - Launch or download pages for a store, delivery or booking app that wants to show its live updates at a glance - A hero behind a headline when the product is many small real time states rather than one screen ### Watch out - The numbers are illustrative: they tick on a shared one second beat and do not read real data, so do not present them as live figures - Use it once per page. It is a signature moment, and two moving walls compete with each other Also known as: live activities, dynamic island, lock screen widgets, widget wall, app widget showcase, order tracking widgets, delivery status cards, infinite widget grid, zoom out hero ### Install ```bash npx shadcn@latest add @sunui-pro/live-activity-wall ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Liquid Glass Nav (`liquid-glass-nav`) A floating site header made of real liquid glass over a full-bleed photo. The photo is bent at the rim by a displacement map built for each surface's exact size and radius, frosted, saturated and split slightly into red, green and blue at the edge. The glass is drawn inside SVG instead of backdrop-filter, so the bend works in Chrome, Safari and Firefox. Drag the bar by its grip, open the glass account menu, switch the scene and tune Curve, Frost and Tint from a glass dock. - Tier: Pro (license required) - Series: showcase (call get_design_rules with this series before editing the block) - Interaction: drag - Categories: navigation, hero, header - npm dependencies: framer-motion - Files: liquid-glass-nav.tsx - Live preview: https://sunui.synvize.com/blocks/liquid-glass-nav ### When to use - Travel, hospitality, outdoor or photography sites whose hero is one strong full-bleed photo - Product pages that want an Apple style liquid glass header and menu without a WebGL canvas - Showcasing a photo set: the dock swaps scenes and the glass follows ### Watch out - The glass refracts the scene photos it is given, not arbitrary page content behind it; use it over a known hero image - Each surface runs an SVG filter; keep the number of glass surfaces on screen small - Link pills hide below about 670px of container width; put essential links in the menu too on small screens Also known as: liquid glass, apple glass, glass navbar, glass header, refraction nav, frosted navigation, glassmorphism menu, floating nav ### Install ```bash npx shadcn@latest add @sunui-pro/liquid-glass-nav ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Glow Dock (`glow-dock`) A desktop or phone scene with a summary island and an app dock, both lit from below by one glow. Click the island and it opens into a panel of live widgets you pick: headlines read in place (unread dots clear as you go), the next meeting on a timeline, the sun's arc, a focus timer with a progress ring, now playing with a turning cover, and a delivery tracker. Set the glow colour, a dark or light tone, top or bottom placement (the island sits on the dock and opens upward) and how it opens: cards coming into focus, a liquid spring, or cards flipping down. Narrow containers switch to a phone layout. Click outside or press Escape and the cards leave before the panel shrinks back into the pill. - Tier: Pro (license required) - Series: showcase (call get_design_rules with this series before editing the block) - Interaction: press - Categories: dashboard, navigation, notification - npm dependencies: framer-motion - Files: glow-dock.tsx - Live preview: https://sunui.synvize.com/blocks/glow-dock ### When to use - A daily brief or start screen for a productivity, news or workspace app - A phone style dynamic island for now playing, a delivery or the next meeting - Landing page demos that show an app's home screen working instead of a screenshot ### Watch out - Keep the glow to one colour per screen; the light tone softens it automatically - On wide stages each large widget takes a column and weather and focus stack in one; below about 720px only the first two columns show, stacked - The focus timer and music player run in the page; they are demo controls, not background timers or audio Also known as: dynamic island, today widget, glow dock, daily brief, dashboard island, expanding pill, widgets panel, app dock, focus timer, now playing, delivery tracker, light mode dashboard ### Install ```bash npx shadcn@latest add @sunui-pro/glow-dock ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Team Invite (`team-invite`) Invite people to a team or project: an avatar row with a people or seats count, an address box where typed or pasted emails turn into chips (bad addresses and people already on the team turn red with a reason), a role selector and an invite button that sends, then shows Sent in the brand spot colour while the new people slide into the avatar row and appear under Pending, where each invite can be withdrawn. Seat limits block invites past the plan, Backspace removes the last chip, Enter sends, results are announced politely and reduced motion switches every state instantly. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: type - Categories: forms, settings, account - npm dependencies: framer-motion - Files: team-invite.tsx - Live preview: https://sunui.synvize.com/blocks/team-invite ### When to use - Share dialogs and team settings in SaaS apps - Onboarding steps that ask a new workspace owner to bring their team - Plans with seat limits where the invite should show how many seats are left ### Watch out - Send the invites on your server; onInvite only reports the addresses and role - Keep seatLimit in sync with billing so the block does not promise seats the plan does not have Also known as: invite members, invite teammates, share project, add collaborators, team seats, email chips input ### Install ```bash npx shadcn@latest add @sunui-pro/team-invite ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Wave Confirm (`wave-confirm`) Confirm card for transfers, top-ups and payments with SunUI's sunrise wave. Press the button and the card is drawn toward the press point while your onConfirm runs; when it succeeds, a crest of light rises from exactly where you pressed and sweeps the card like a sun coming up: a gold crest with a glint and a horizontal streak where it is highest, a sky behind it that cools from gold to coral, magenta and indigo, short caustic light lines along the crest, and a warm afterglow left on the rim. The confirmed state is revealed behind the crest: the amount stays in place, rows like Arrives change from In seconds to the real time, and the result disc lands as the crest reaches it. A status pill gets the same sunrise sideways. shape picks rise (from the press), ring (out from the press), sweep (left to right), diagonal or drop (down from the top); light picks sun, eclipse (a sharp corona), sparks, lens (a thin glass edge with a red and blue fringe) or mist; palette picks sunrise, dusk, tide, mono, ember, sakura, aurora or brand (built from your --sunui-spot), or takes four colours of your own; spectrum="prism" splits the content into red, green and blue at the peak. WaveSurface is exported on its own. The light is one small WebGL shader drawn only while the wave runs and screen blended over the card; the content smear is an SVG filter. Without WebGL the reveal and smear still run. With reduced motion the state switches instantly with no blur. - Tier: Pro (license required) - Series: showcase (call get_design_rules with this series before editing the block) - Interaction: press - Categories: commerce, checkout, payment, feedback - npm dependencies: framer-motion - Files: wave-confirm.tsx - Live preview: https://sunui.synvize.com/blocks/wave-confirm ### When to use - Send money, top up credits or confirm a payment, where the person should see exactly which lines changed once it went through - A wallet or fintech launch page that wants one signature confirm moment - Any card whose content is rewritten after an action (an AI rewrite, a sync finishing): wrap it in WaveSurface and change stateKey ### Watch out - Keep one wave per screen at a time; several surfaces waving together reads as a glitch - prism adds red and blue fringes; use it on dark showcase pages only and keep neutral on product UI - The light is screen blended, so it shines on dark cards and is faint on light ones; keep the card dark (the showcase default) or pick the mono palette - Throw or reject in onConfirm to show the error state; there is no wave for errors, the button turns into a retry and a line says nothing was charged Also known as: distortion wave, ripple transition, payment confirm card, transfer confirmation, send money card, success wave, chromatic aberration transition, state change wave, sunrise wave, transaction status pill ### Install ```bash npx shadcn@latest add @sunui-pro/wave-confirm ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Coupon Apply (`coupon-apply`) A saved coupon in a checkout summary. Applying it shrinks the button to a spinner while your server answers, then the foil coupon comes apart into particles sampled from its own surface, they travel into the total and reassemble as a small coupon chip, the discount line opens and the total rolls digit by digit to the new amount. Four effects (sweep, burst, sand, pixel) and four foils (silver, spot in your brand colour, graphite, holo). The card keeps one fixed height throughout. Reduced motion swaps instantly with nothing lost. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: commerce, checkout, coupon, promotion - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: coupon-apply.tsx - Live preview: https://sunui.synvize.com/blocks/coupon-apply ### When to use - Checkout or cart summaries where shoppers apply a coupon they already saved - Campaign checkouts where seeing the coupon turn into the lower total is the moment that sells ### Watch out - Return the discount amount from onApply on your server; the component never works out a percentage itself - Pass appliedDiscount after a refresh so an applied coupon does not replay - holo is multi-hue; use silver or spot if the store follows a single brand colour Also known as: apply coupon, apply promo code, redeem coupon at checkout, discount applied animation, coupon to total, order summary with coupon, holographic coupon, particle coupon, coupon burst, pixel coupon, sand dissolve ### Install ```bash npx shadcn@latest add @sunui-pro/coupon-apply ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Pixel Grove (`pixel-grove`) Pixel trees grown from code (sakura, shrub, maple, birch, willow, layered pine) in wind you play with: drag across the stage and the drag becomes a gust, drawn as ink strokes sweeping through. A gold lantern hangs in the middle tree; shake the tree or blow a strong gust and it works loose, falls, bounces twice and settles, and a reward card (title, note, code to copy) opens where it lands. Leaves hang as pixel tufts on a branching skeleton and the whole crown is lit as one mass; storms blow tufts off, Grow back sprouts them and rehangs the lantern. The sky can rain or snow, and snow settles white on the canopy tops. Five ready-made seasons in groveScenes. A slim bar holds a windsock vane (one control for direction and strength, storm past three quarters), sky buttons and wind sound (Web Audio, off until clicked). Light (rice) and dark (ink) themes; no images, one canvas that draws only while on screen. With reduced motion the trees stand still, nothing drops and the lantern stays hung. - Tier: Pro (license required) - Series: story (call get_design_rules with this series before editing the block) - Interaction: section - Categories: hero, marketing, game-ui, canvas - npm dependencies: framer-motion - Files: pixel-grove.tsx, pixel-grove-scene.ts - Live preview: https://sunui.synvize.com/blocks/pixel-grove ### When to use - Seasonal campaign heroes where the offer is found, not shown: shake the lantern loose to reveal this season's code - Game and gamified campaign pages that want a living pixel world behind the headline, or a small toy with a prize in an empty state ### Watch out - Without reward there is no lantern; pass reward to turn the toy into an offer, and keep the code also reachable elsewhere on the page for visitors who never shake the tree - Drags are horizontal gusts; the stage keeps vertical scrolling (touch-pan-y), so on phones a sideways swipe blows and an up or down swipe scrolls - Stage height is fixed at 96 art pixels (288px at pixelSize 3); trees shrink to fit their slot and the canvas, so use one tree on narrow phones - Sound needs a click before the browser lets it play and is off by default; never turn it on without the visitor asking Also known as: tree, trees, pixel tree, wind, leaves, falling leaves, sakura, cherry blossom, maple, autumn, spring, season, seasonal hero, weather, storm, pixel art, sprite, willow, birch, pine, rain, snow, winter, christmas tree, lantern, shake to win, hidden coupon, drag wind ### Install ```bash npx shadcn@latest add @sunui-pro/pixel-grove ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Voice Note (`voice-note`) A voice message card that turns into its own transcript. The waveform bars, the skeleton pills and the words are one set of shapes: on transcribe each of the 32 bars stretches into a word-sized pill, slides to where its word sits and resolves into the word while the card grows to fit the text and a thin progress track takes the waveform's place. Playback reads the note karaoke-style with a single plate in the brand colour gliding from word to word; spoken words turn solid, the rest stay muted. Bars near the playhead bounce while it plays. Collapsing folds the words back into the waveform from the end. Follows a real audio file when src is set and runs on its own clock otherwise; the transcript can be text, words with start times, or loaded on demand through onTranscribe. Word splitting works for Chinese and Japanese. The waveform and track are a keyboard slider for seeking. Under reduced motion the views swap instantly and the plate jumps. - Tier: Pro (license required) - Series: showcase (call get_design_rules with this series before editing the block) - Interaction: press - Categories: ai, media, chat - npm dependencies: framer-motion - Files: voice-note.tsx - Live preview: https://sunui.synvize.com/blocks/voice-note ### When to use - Chat apps, support inboxes and CRMs that receive voice messages and want them readable without playing them - AI note takers and meeting tools that show a recording next to its transcript ### Watch out - Pass word start times from your speech-to-text service when you have them; without them words are spread over the note by length and the reading plate can drift on long pauses - Give the card a width (it fills up to max-w-md); the morph measures words after layout, so very narrow cards just wrap to more lines - Long transcripts make the card tall; for notes over about 60 words show the first lines and link to the full text - onTranscribe runs once and the result is kept; pass transcript yourself if it can change Also known as: voice message, audio message, voice memo, waveform, transcript, speech to text, karaoke, audio player, voice to text ### Install ```bash npx shadcn@latest add @sunui-pro/voice-note ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Workspace Tabs (`workspace-tabs`) Browser-style tabs for an app frame. The selected tab is a raised surface joined to the panel below, with an inverted corner on each side that matches the panel radius, and it slides to the next tab you pick. New tabs grow in from zero width, closed ones shrink away while their neighbours slide over, and dividers disappear beside the selected or hovered tab. Too many tabs scroll with edge fades and arrows; drag or Alt+Shift+Arrow to reorder; narrow screens get a tab list. WorkspaceShell wraps the free App Shell around it like a desktop app window: the toggle and the brand stay at the top left in every state, while the tab row and the panel slide with the sidebar. With the sidebar open the first tab sits flush on the panel's left edge; collapsed, the panel slides under the toggle and the tabs line up right after the brand. Arrow keys, Home, End and Delete work on tabs, focus follows a closed tab to its neighbour, changes are announced once, and reduced motion swaps instantly. - Tier: Pro (license required) - Series: product (call get_design_rules with this series before editing the block) - Interaction: press - Categories: navigation, layout, tabs - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/app-shell - Files: workspace-tabs.tsx, workspace-shell.tsx - Live preview: https://sunui.synvize.com/blocks/workspace-tabs ### When to use - Admin and tool apps where people keep several records open at once, such as orders, products and campaigns in a store back office - Editors and dashboards that want desktop-app tabs with close, new tab and reordering instead of a fixed tab set - Any App Shell layout whose sidebar collapses: WorkspaceShell keeps the toggle and the brand in one place and slides the tabs and the panel instead ### Watch out - Tabs are controlled: keep tabs and activeId in your state (or your router) and update them in onActiveChange, onClose, onAdd and onReorder - Closing the selected tab calls onActiveChange with its neighbour before onClose, so remove the tab in onClose only - WorkspaceShell needs a height, like App Shell with breakpoint="container" (for example h-dvh); the selected tab's content scrolls inside the panel - For a fixed set of views that never open or close, use the free sliding-tabs folder variant instead - The narrow tab list switches on the tab row's own width (container query), so it needs Tailwind v4 or the container-queries plugin Also known as: browser tabs, document tabs, closable tabs, dynamic tabs, tab bar, workspace, editor tabs, multi document, app shell tabs, chrome tabs, collapsible sidebar ### Install ```bash npx shadcn@latest add @sunui-pro/workspace-tabs ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Launch Reel Bento (`launch-reel-bento`) A launch poster of six bento tiles, each running its own short product film. Headlines land word by word (blur, scale, settle) with an optional caption pill that keeps pace, scenes change with a whip pan, and tiles are offset so no two cut at once. Built-in scenes: a flip clock that turns the sky to rain, a hex grid that fills and locks, a share link that types and copies, a site builder whose cursor recolours the heading and collapses to phone width, icons that fly in and sort into folders, and a dark focus timer. Every scene is also exported as its own component (KineticLine, KineticHeadline, FlipClockWeather, EncryptGrid, ShareLinkCard, SiteBuilder, IconSort, FocusTimer) with its own playback and an optional loop, for use outside the poster. Plays only on screen in a visible tab, has a pause button, and reduced motion shows each tile's first scene complete. - Tier: Pro (license required) - Series: showcase (call get_design_rules with this series before editing the block) - Interaction: section - Categories: landing, hero, launch, showcase, marketing - npm dependencies: framer-motion - Files: launch-reel-bento.tsx - Live preview: https://sunui.synvize.com/blocks/launch-reel-bento ### When to use - A product launch or Product Hunt page that should show several features moving at once, like a launch video but live and themeable - A feature overview section, or a poster you record into a short social clip - One scene on its own, such as the flip clock or the encrypt grid, inside a feature card or beside a pricing plan ### Watch out - Use it once per page: six tiles in motion are the signature moment, and a second moving grid competes with it - The scenes are illustrations of a product, not screenshots: replace the copy with your own features and keep one gradient headline at most Also known as: launch video, motion bento, animated bento grid, feature reel, kinetic typography, word by word headline, caption pill, flip clock, whip pan, product film, motion design poster ### Install ```bash npx shadcn@latest add @sunui-pro/launch-reel-bento ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Agent Toasts (`agent-toasts`) A stack of notifications for agents and background automation where each toast carries a small chart instead of a status icon: a dot matrix for test results, context usage or a diff, a pipeline of steps that stops at the failed one, a bar history whose last bar is this run, and a branch that merges back. The chart draws once when the toast arrives. Actions do not close the toast: Retry or Compact turns the same toast into the progress (shimmering title, steps continuing from where they failed) and then into the result, with the chart as the anchor. New toasts push older ones back to thin edges; hover or focus opens the list, close keys appear, and a dismissed toast slides out while the rest close the gap. Includes useAgentToasts with in-place update, Escape, Delete and swipe to dismiss, a polite live region, four locales, and reduced motion that shows every chart complete. - Tier: Pro (license required) - Series: product (call get_design_rules with this series before editing the block) - Interaction: loading - Categories: feedback, notification, status, ai - npm dependencies: framer-motion - Files: agent-toasts.tsx - Live preview: https://sunui.synvize.com/blocks/agent-toasts ### When to use - An AI agent, CI/CD or background automation product that reports finished work while the user is doing something else - Notifications whose action should run in place: retry a failed deploy, compact a full context, re-run a job - Any toast where a count, a failed step or a trend says more than a tick or a cross ### Watch out - Drive the charts and the in-place updates from real events; the demo uses timers only to show the sequence - A toast with an action or busy never times out, so a failure stays until someone acts on it. Still show important failures somewhere permanent: a toast is not a log - Update a toast by id (push the same id or call update) instead of dismissing it and pushing a new one, or the anchor is lost - Amber uses --sunui-warning and falls back to --sunui-rating; blue is your brand spot colour, there is no purple Also known as: agentic toasts, agent notifications, rich toast, toast with chart, glyph toast, deploy failed retry toast, CI notification, background task toast, stacked toasts, sonner alternative, status sparkline toast, context compact ### Install ```bash npx shadcn@latest add @sunui-pro/agent-toasts ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Morph Tab Bar (`morph-tab-bar`) A mobile bottom tab bar that turns into a workspace card or an account card without changing height. The current tab sits on a lacquer key in your brand colour; tap the workspace mark or the avatar and the same key slides into a round button while the tabs blur away and the card sharpens in its place. On the account card, the status button pulls a liquid drop that stretches, snaps off and spreads into a status menu: tap a row, or press, drag across the rows and let go. The status icon is one disc whose cut-out springs from shape to shape, and the status line rolls in the direction you moved. One bar width drives every position, so it fits any container, and below 340px the card you are not using folds away. Escape and outside presses close one level at a time, the menu works with arrow keys, hidden layers are inert, and reduced motion switches every state instantly. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: navigation, menu, account - npm dependencies: framer-motion - Files: morph-tab-bar.tsx - Live preview: https://sunui.synvize.com/blocks/morph-tab-bar ### When to use - Phone layouts of community, chat, course or club apps that need tabs, the current workspace and the signed-in status in one bar - Store apps where the workspace card is the chosen branch and the account card is the member - A mobile web app that wants the account and status menu within thumb reach without a separate screen ### Watch out - Use two to four tabs; for more, use app-shell with its More sheet - The bar takes the width of its container and is 62px high; position it yourself (for example fixed inset-x-4 bottom-3) and add the safe area inset - The status menu opens 240px above the bar, so no ancestor between them may clip with overflow hidden - status, view and activeId can be controlled; save status changes on your server in onStatusChange Also known as: expandable tab bar, bottom navigation, mobile tab bar, floating tab bar, liquid glass tab bar, gooey menu, status picker, presence menu, workspace switcher bar, expandable bottom tabs ### Install ```bash npx shadcn@latest add @sunui-pro/morph-tab-bar ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Anime Pre-register (`anime-preregister`) Pre-registration block for game launch pages in the anime series. The sign-up count sits over a row of milestone reward chips and a power-up bar toward the next goal; the visitor picks a platform, enters an email, ticks the launch-day consent and presses the button. The button lands its hit, and if this sign-up crosses a goal the bar finishes with an impact and the reward chip pops open behind an impact star with a sound-effect word. With confirm="hold" the visitor presses and holds instead, and an invalid form refuses the hold with a head-shake. After signing up, an optional invite code appears with a copy button. Errors keep the form, and the result and any unlock are announced in a live region. Built on the free anime-fx, anime-button, anime-checkbox, anime-progress, anime-hold and anime-copy. - Tier: Pro (license required) - Series: anime (call get_design_rules with this series before editing the block) - Interaction: press - Categories: game-ui, campaign, forms, rewards - npm dependencies: none - Installs these SunUI blocks too: @sunui/anime-fx, @sunui/anime-button, @sunui/anime-checkbox, @sunui/anime-progress, @sunui/anime-hold, @sunui/anime-copy - Files: anime-preregister.tsx - Live preview: https://sunui.synvize.com/blocks/anime-preregister ### When to use - Pre-registration pages before a game, app or anime launch, where more sign-ups unlock rewards for everyone - Waitlists and fan campaigns that should make each sign-up feel like a hit ### Watch out - Fetch the count from your server and validate and dedupe emails there; the block adds this visitor and awaits onRegister - Three to five milestones with short reward names fit at 375px - If the server answers in under about 0.3 s, the button word and the unlock word can briefly show together - Generate invite codes on your server and pass one per visitor with invite (a string, or a function of the email) Also known as: pre-registration, preregister, waitlist, sign-up milestones, launch rewards, game launch, anime, sakuga, invite code, hold to confirm ### Install ```bash npx shadcn@latest add @sunui-pro/anime-preregister ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Anime Dropzone (`anime-dropzone`) File drop target in the anime series. Hold a file over it and the box leans in, its edge turns into a marching dashed line in the brand colour and glints open at its corners; drop it and the box takes the hit (a squash that keeps volume, an impact star behind it, chips from its edge, a pop word) and each file lands as a row with its size and a check. A file that is too large or the wrong type lands as a red row with the reason, without the hit. Click, Enter or Space opens the file picker; additions are read out; a ref handle adds files from code (a sample, a paste). - Tier: Pro (license required) - Series: anime (call get_design_rules with this series before editing the block) - Interaction: drag - Categories: forms, upload, game-ui - npm dependencies: none - Installs these SunUI blocks too: @sunui/anime-fx - Files: anime-dropzone.tsx - Live preview: https://sunui.synvize.com/blocks/anime-dropzone ### When to use - Fan art contests, mod uploads, avatar and screenshot submissions on game or anime pages - Any single or multiple file upload that should feel like a hit when it lands ### Watch out - It checks accept and maxSize in the browser only; check type and size again on your server - It collects files and calls onFiles; uploading and progress are yours (use file-dropzone for a full upload queue) - Effects reach about 120px past the box; a parent with overflow hidden cuts them off Also known as: anime dropzone, file upload, drag and drop upload, file drop, upload box, manga upload, sakuga ### Install ```bash npx shadcn@latest add @sunui-pro/anime-dropzone ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Store Atlas (`store-atlas`) Store network command view: a satin dotted globe fills the frame, and picking a city flies the camera down into it. Every store is a tower built in floors, one floor for each 10% of its target, with a ring at the tenth floor: count the floors to read attainment (twelve floors is 120%). Stores past target are in the accent colour, the rest steel grey. towerStyle switches to solid towers with a wire target frame, or outline-only wire towers. Floating glass cards sit over the scene: sales by period against a dashed target line, one key per store that lights up when it passes target and points at its tower, and an attainment spread with every store on one track. Switch what tower height means (sales, orders or average order) from the header; the legend always says which. Inside a city, neighbouring cities stay as labels on the horizon and fly you over on a tap, and hovering a tower shows its sales, orders, average order and a sparkline. Drag to turn the globe, tilt and turn inside a city, pinch or use + and − to zoom. Drawn on a 2D canvas with real coastlines, no WebGL or 3D library. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: dashboard, commerce, data, showcase - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/dot-globe - Files: store-atlas.tsx, store-atlas-globe.ts - Live preview: https://sunui.synvize.com/blocks/store-atlas ### When to use - A retail, F&B or franchise back office that needs one view of which cities and stores are hitting target - A hero or showcase section for a multi-location product: POS, store operations, franchise or delivery software ### Watch out - Land data covers the whole globe, but the sharp coastline used at city zoom only covers East and Southeast Asia (94 to 146 E, 8 S to 44 N); cities elsewhere fall back to a coarse coast - The surrounding blocks are generated scenery, not a real street map; do not present them as real buildings or locations - The trend chart appears only when every store passes a series with one value per tick; the block never invents numbers - Built for up to about 8 cities and 12 stores per city Also known as: 3d globe dashboard, building chart, city data towers, floors chart, franchise dashboard, globe to city fly in, retail dashboard, sales map, store map, store performance ### Install ```bash npx shadcn@latest add @sunui-pro/store-atlas ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Route Atlas (`route-atlas`) Network outage simulator on a satin dotted globe with an atmosphere glow: every link (sea cable, land route or any network you pass in) is drawn as a bundle of fine strands that brighten where they cross, and the cheapest route between two hubs is lit with a soft bloom. A packet runs out and back along it as a comet while the one-way figure rolls like a mechanical counter, the matching traceroute hop lights up and a bead moves along a track of the path. Cut a link from the traceroute, from an outage scenario (pointing at one previews its links in red) or by tapping the line on the globe: the line flares red, the old route fades out, the camera flies to the new path and it draws in from the origin, while the floating card at the destination blurs into its new figures. A chip says how much the reroute costs (+25 ms), the old path stays dashed above the track for comparison, the hub and link counts show red deltas, and when every path is gone it says Unreachable instead of inventing one. Costs come from the real length of each link (light in fibre by default, 1 ms per 204 km) or from your own numbers, and the unit is yours, so the same block shows shipping days or delivery hours. Pick origin and destination from the header, swap them, drag or use the arrow keys to turn the globe. Drawn on a 2D canvas with real coastlines, no WebGL or 3D library; the packet runs only while the block is on screen, and reduced motion shows the finished route with no loop. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: data, map, showcase, dashboard - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/dot-globe - Files: route-atlas.tsx, route-atlas-graph.ts - Live preview: https://sunui.synvize.com/blocks/route-atlas ### When to use - A hero for infrastructure, CDN, cloud or networking products that shows the network survives a cut - A status page or incident write-up: which link failed, where traffic goes now and what it costs - Logistics and commerce: a blocked shipping lane or warehouse route and how many days it adds, with unit set to days ### Watch out - The demo network is corridors, not the real list of subsea cables; pass your own hubs and links and do not present the demo as a real network map - Best up to about 60 links; merge parallel links into one corridor beyond that - The route is the cheapest path by cost only; capacity and congestion are not modelled - Leave roundTrip on only when the cost is latency Also known as: subsea cable map, network map, traceroute, latency map, outage simulator, reroute, shortest path, dijkstra, failover, shipping lanes, globe routes ### Install ```bash npx shadcn@latest add @sunui-pro/route-atlas ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Radial Upload (`radial-upload`) Multi-type upload dial: file types sit as segments around a ring, each opening a file picker for its type, with a count badge once it holds files. Files dropped on the dial are sorted into segments by MIME type and extension. The centre disc, in a pastel pearl made from the hues either side of your brand colour (or solid lacquer with finish="lacquer"), is the one action (choose, Send 3, Retry, start over) and the ring of ticks around it fills clockwise as the progress, turning green clockwise when everything is sent. Hovered segments grow outward with the same pearl sheen, keys 1 to 6 open a type, arrow keys move between segments, status is announced politely, four languages built in. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: form, upload - npm dependencies: framer-motion - Installs these SunUI blocks too: @sunui/stamp - Files: radial-upload.tsx - Live preview: https://sunui.synvize.com/blocks/radial-upload ### When to use - Asset hand-offs where several kinds of file arrive together: briefs, images, video, audio, 3D, archives - Creator platforms, agency review portals and multimodal AI inputs that should show at a glance which types are accepted - Campaign entries that take more than one kind of file ### Watch out - Check type and size again on the server; accept only guides the picker and the drop sorting - Pressing a segment that already holds files removes them; tell people in nearby copy if your users expect it to add more - Use 4 to 8 types; for a single-file return or support form use file-dropzone, and for a playful campaign upload use hoop-upload - onUpload should call report with 0 to 1 and throw on failure so the centre turns into Retry Also known as: radial upload, radial menu upload, pie menu, file type picker, multi type upload, asset upload dial, circular upload, upload wheel ### Install ```bash npx shadcn@latest add @sunui-pro/radial-upload ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Morph Chart (`morph-chart`) An hourly stats card whose 24 bars are the same objects in every view. Switch between a clock dial, bars in time order, bars ranked from highest to lowest, an area and a week heatmap, and each bar travels, turns and resizes into its new place one after another, so the eye can follow any hour from one chart to the next instead of watching a redraw. Earlier days sit folded inside each bar and open out into the heatmap rows. The headline total, the peak hour and the current rate stay put, and an ink foil tag stays on the selected hour (the peak by default) through every change. Black and white by default: bars are shades of the text colour by value, and tone: "brand" switches every mark to the brand colour; the dial has a metal bezel and hub. Bars land on a spring with a small overshoot, so each change settles like one elastic wave. Hover, tap or use the arrow keys to read any hour in the order you see it (by rank in Rank, by day in Heatmap); a hidden table carries every number. Reduced motion switches views instantly. - Tier: Pro (license required) - Series: craft (call get_design_rules with this series before editing the block) - Interaction: press - Categories: chart, card, commerce, account - npm dependencies: framer-motion - Files: morph-chart.tsx - Live preview: https://sunui.synvize.com/blocks/morph-chart ### When to use - The detail view behind a dashboard tile: visitors, orders, sign-ups or redemptions per hour, where people want to see the same day as a daily rhythm, a ranking and a week pattern - Campaign and launch reports that need to answer when traffic peaked and whether today looks like the rest of the week - Creator and seller analytics pages where one card should replace several separate hour-of-day charts ### Watch out - Built for one day of 24 hourly numbers, plus up to 6 earlier days for the heatmap; it does not bucket timestamps for you - The heatmap view only appears when you pass history - It is a deep-layer chart: on an overview dashboard with many tiles use scrub-stat-card and open this one on click - rate is shown as given; pass a real figure, the card does not tick numbers on its own Also known as: chart view switcher, morphing chart, animated chart transition, radial bar chart, hour of day chart, traffic by hour, heatmap, 24 hour clock chart, object constancy chart, analytics card ### Install ```bash npx shadcn@latest add @sunui-pro/morph-chart ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Aura FX (`aura-fx`) The engine behind the aura series, vendored from Aura Clash UI (MIT, by Justin Finkelman): WebGL2 aura, flame and beam shaders, the Canvas2D sakuga engine, inked katakana lettering, a synthesized sound engine and the twelve controls as custom elements, plus useAura and setAura for React. SunUI skin by default: ink outline shells, cobalt, ember and verdant element colours and SunUI's own sound-effect words; skin classic is the original look. Installed into components/aura-clash with the original MIT licence. - Tier: Pro (license required) - Series: aura (call get_design_rules with this series before editing the block) - Interaction: press - Categories: animation, effects, webgl - npm dependencies: none - Files: LICENSE-aura-clash.txt, aura-core.tsx, button.ts, checkbox.ts, copy.ts, dropzone.ts, hold.ts, input.ts, meter.ts, radio.ts, slider.ts, tabs.ts, toast.ts, toggle.ts, aura-gl.ts, elements.ts, glass-field-gl.ts, sakuga-gl.ts, sfx-text.ts, sound.ts, thunder-gl.ts, vfx-engine.ts, runtime.ts, styles.ts - Live preview: https://sunui.synvize.com/blocks/aura-fx ### When to use - Installed for you by any aura-* block; install it alone to build your own control on the same engine ### Watch out - Effects reach about 200px past the control; a parent with overflow hidden cuts them off - Each control carries a WebGL2 engine (about 200 KB); a dozen on a page is fine, a hundred is not - Page-wide theme, element, motion and sound come from setAura (sound starts muted) - Keep LICENSE-aura-clash.txt with the files: the engine is MIT and the notice must ship with it Also known as: aura engine, aura clash, webgl effects, anime effects engine, fighting game ui ### Install ```bash npx shadcn@latest add @sunui-pro/aura-fx ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Aura Button (`aura-button`) Fighting-game button: hold it and pressure rings close in around a live WebGL ki flame; release for a two-frame black-and-white impact frame, shock rings, sparks, debris and an inked katakana hit word. A real button: click fires on release, Enter and Space work. - Tier: Pro (license required) - Series: aura (call get_design_rules with this series before editing the block) - Interaction: press - Categories: buttons, game-ui, effects - npm dependencies: none - Installs these SunUI blocks too: @sunui-pro/aura-fx - Files: aura-button.tsx - Live preview: https://sunui.synvize.com/blocks/aura-button ### When to use - The one call to action on a game or anime launch page - Unleash, deploy or start buttons that should feel like a finishing move ### Watch out - Effects reach about 200px past the control; a parent with overflow hidden cuts them off - Each control carries a WebGL2 engine (about 200 KB); a dozen on a page is fine, a hundred is not - Page-wide theme, element, motion and sound come from setAura (sound starts muted) Also known as: aura button, fighting game button, ki flame, impact frame, anime button, hold to charge ### Install ```bash npx shadcn@latest add @sunui-pro/aura-button ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Aura Slider (`aura-slider`) Beam-clash slider from 0 to 100: two WebGL energy beams push against each other at the thumb with a percentage badge and a grinding katakana word. Drag and one side overpowers the other; at either end the losing beam breaks. Keyboard arrows work; change fires on release. - Tier: Pro (license required) - Series: aura (call get_design_rules with this series before editing the block) - Interaction: drag - Categories: inputs, game-ui, effects - npm dependencies: none - Installs these SunUI blocks too: @sunui-pro/aura-fx - Files: aura-slider.tsx - Live preview: https://sunui.synvize.com/blocks/aura-slider ### When to use - Versus votes, power balance and team split settings on game pages - A playful 0 to 100 setting where the value is also shown as a number ### Watch out - Effects reach about 200px past the control; a parent with overflow hidden cuts them off - Each control carries a WebGL2 engine (about 200 KB); a dozen on a page is fine, a hundred is not - Page-wide theme, element, motion and sound come from setAura (sound starts muted) Also known as: aura slider, beam clash, versus slider, power balance, anime slider ### Install ```bash npx shadcn@latest add @sunui-pro/aura-slider ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Aura Meter (`aura-meter`) Super-meter progress bar from 0 to 100 that powers up through three levels: LV.1 ignites, LV.2 cracks with ribbons, LV.3 MAX bursts into a lightning storm with shockwaves. Set value and it eases there; level reports the stage reached. - Tier: Pro (license required) - Series: aura (call get_design_rules with this series before editing the block) - Interaction: progress - Categories: progress, game-ui, effects - npm dependencies: none - Installs these SunUI blocks too: @sunui-pro/aura-fx - Files: aura-meter.tsx - Live preview: https://sunui.synvize.com/blocks/aura-meter ### When to use - Pre-registration goals, event progress and level-ups on game pages - Any progress with three milestones worth celebrating ### Watch out - Effects reach about 200px past the control; a parent with overflow hidden cuts them off - Each control carries a WebGL2 engine (about 200 KB); a dozen on a page is fine, a hundred is not - Page-wide theme, element, motion and sound come from setAura (sound starts muted) Also known as: aura meter, super meter, power level, progress bar, anime progress ### Install ```bash npx shadcn@latest add @sunui-pro/aura-meter ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Aura Checkbox (`aura-checkbox`) A three-row checklist where each tick is a fighting-game defence: row one a perfect parry clang, row two a hex guard that shatters into crystal, and ticking all three a chain combo that clears with a banner. Real checkboxes with keyboard support; change reports the row and state. - Tier: Pro (license required) - Series: aura (call get_design_rules with this series before editing the block) - Interaction: press - Categories: forms, game-ui, effects - npm dependencies: none - Installs these SunUI blocks too: @sunui-pro/aura-fx - Files: aura-checkbox.tsx - Live preview: https://sunui.synvize.com/blocks/aura-checkbox ### When to use - Short launch or deploy checklists of exactly three steps - Quest or mission steps on game pages ### Watch out - Effects reach about 200px past the control; a parent with overflow hidden cuts them off - Each control carries a WebGL2 engine (about 200 KB); a dozen on a page is fine, a hundred is not - Page-wide theme, element, motion and sound come from setAura (sound starts muted) Also known as: aura checkbox, parry checkbox, checklist, combo checklist, anime checkbox ### Install ```bash npx shadcn@latest add @sunui-pro/aura-checkbox ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Aura Toggle (`aura-toggle`) Flash-step switch: turning it on dashes the knob across with afterimages and a sonic boom, then locks into an overdrive plasma aura with orbiting ribbons; turning it off snuffs it in smoke. role switch with keyboard support; change reports the new state. - Tier: Pro (license required) - Series: aura (call get_design_rules with this series before editing the block) - Interaction: press - Categories: toggles, game-ui, effects - npm dependencies: none - Installs these SunUI blocks too: @sunui-pro/aura-fx - Files: aura-toggle.tsx - Live preview: https://sunui.synvize.com/blocks/aura-toggle ### When to use - Turbo, boost or hard-mode switches on game pages - A single on or off setting that deserves a moment ### Watch out - Effects reach about 200px past the control; a parent with overflow hidden cuts them off - Each control carries a WebGL2 engine (about 200 KB); a dozen on a page is fine, a hundred is not - Page-wide theme, element, motion and sound come from setAura (sound starts muted) Also known as: aura toggle, flash step switch, overdrive switch, anime toggle, turbo switch ### Install ```bash npx shadcn@latest add @sunui-pro/aura-toggle ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Aura Tabs (`aura-tabs`) Stance-switch tabs: choosing a tab sends a crescent energy slash flying to it, and the active tab burns with a flame, volt or void aura. Three tabs with their panel text; arrow keys move between them; change reports the index. - Tier: Pro (license required) - Series: aura (call get_design_rules with this series before editing the block) - Interaction: press - Categories: navigation, game-ui, effects - npm dependencies: none - Installs these SunUI blocks too: @sunui-pro/aura-fx - Files: aura-tabs.tsx - Live preview: https://sunui.synvize.com/blocks/aura-tabs ### When to use - Character forms, classes or modes on game pages - Exactly three views that each deserve a reveal ### Watch out - Effects reach about 200px past the control; a parent with overflow hidden cuts them off - Each control carries a WebGL2 engine (about 200 KB); a dozen on a page is fine, a hundred is not - Page-wide theme, element, motion and sound come from setAura (sound starts muted) Also known as: aura tabs, stance switch, energy slash tabs, anime tabs ### Install ```bash npx shadcn@latest add @sunui-pro/aura-tabs ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Aura Input (`aura-input`) Charge-up text field: focus lights a ki aura and levitates pebbles, each key throws caret sparks and counts a combo, and Enter lands a finisher and fires onSubmit with the text. A real input. - Tier: Pro (license required) - Series: aura (call get_design_rules with this series before editing the block) - Interaction: type - Categories: inputs, forms, game-ui - npm dependencies: none - Installs these SunUI blocks too: @sunui-pro/aura-fx - Files: aura-input.tsx - Live preview: https://sunui.synvize.com/blocks/aura-input ### When to use - Redeem-code, command or nickname fields on game pages - A single field that submits on Enter ### Watch out - Effects reach about 200px past the control; a parent with overflow hidden cuts them off - Each control carries a WebGL2 engine (about 200 KB); a dozen on a page is fine, a hundred is not - Page-wide theme, element, motion and sound come from setAura (sound starts muted) Also known as: aura input, combo input, ki input, anime text field, redeem code field ### Install ```bash npx shadcn@latest add @sunui-pro/aura-input ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Aura Radio (`aura-radio`) Element radio group (Flame, Volt, Gale): picking one sends twin homing bolts spiralling into its dot behind a targeting reticle, bursting in that element's colour. Arrow keys move the choice; change reports the value. - Tier: Pro (license required) - Series: aura (call get_design_rules with this series before editing the block) - Interaction: press - Categories: forms, game-ui, effects - npm dependencies: none - Installs these SunUI blocks too: @sunui-pro/aura-fx - Files: aura-radio.tsx - Live preview: https://sunui.synvize.com/blocks/aura-radio ### When to use - Elemental affinity, class or faction picks on game pages ### Watch out - Effects reach about 200px past the control; a parent with overflow hidden cuts them off - Each control carries a WebGL2 engine (about 200 KB); a dozen on a page is fine, a hundred is not - Page-wide theme, element, motion and sound come from setAura (sound starts muted) Also known as: aura radio, homing bolts, element picker, anime radio ### Install ```bash npx shadcn@latest add @sunui-pro/aura-radio ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Aura Hold to Confirm (`aura-hold`) Hold-to-confirm button for actions that cannot be undone: a vortex and rune seal draw themselves while held, gravity implodes the floor toward it, and at 100% it detonates into a crater stamped CONFIRMED; let go early and it drains away. onConfirm fires when the hold completes. - Tier: Pro (license required) - Series: aura (call get_design_rules with this series before editing the block) - Interaction: press - Categories: buttons, game-ui, effects - npm dependencies: none - Installs these SunUI blocks too: @sunui-pro/aura-fx - Files: aura-hold.tsx - Live preview: https://sunui.synvize.com/blocks/aura-hold ### When to use - Delete, reset or leave actions that should never happen by accident - A dramatic confirm on a game page ### Watch out - Effects reach about 200px past the control; a parent with overflow hidden cuts them off - Each control carries a WebGL2 engine (about 200 KB); a dozen on a page is fine, a hundred is not - Page-wide theme, element, motion and sound come from setAura (sound starts muted) Also known as: aura hold, hold to confirm, press and hold, seal detonate, anime hold ### Install ```bash npx shadcn@latest add @sunui-pro/aura-hold ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Aura Toast (`aura-toast`) Super-move notification: the area dims, a slanted eye-glint cut-in strip slams across, and the message lands with a live fire border; closing it slices it cleanly in half. Call arrive(text) on the element to show it; onDismiss fires when it closes. - Tier: Pro (license required) - Series: aura (call get_design_rules with this series before editing the block) - Interaction: press - Categories: notification, feedback, game-ui - npm dependencies: none - Installs these SunUI blocks too: @sunui-pro/aura-fx - Files: aura-toast.tsx - Live preview: https://sunui.synvize.com/blocks/aura-toast ### When to use - Challenger, match-ready or reward alerts on game pages - One important message at a time ### Watch out - Effects reach about 200px past the control; a parent with overflow hidden cuts them off - Each control carries a WebGL2 engine (about 200 KB); a dozen on a page is fine, a hundred is not - Page-wide theme, element, motion and sound come from setAura (sound starts muted) Also known as: aura toast, cut-in notification, super move alert, anime toast ### Install ```bash npx shadcn@latest add @sunui-pro/aura-toast ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Aura Dropzone (`aura-dropzone`) Forge dropzone: drag a file over it and pentagon glyphs light up around it in ink flames; drop it and five lasers lock on, an energy pillar fires, and the file comes back as a verified crystal pill with its name and size. Clicking opens the file picker; onFiles receives the files. - Tier: Pro (license required) - Series: aura (call get_design_rules with this series before editing the block) - Interaction: drag - Categories: forms, upload, game-ui - npm dependencies: none - Installs these SunUI blocks too: @sunui-pro/aura-fx - Files: aura-dropzone.tsx - Live preview: https://sunui.synvize.com/blocks/aura-dropzone ### When to use - Mod, build, avatar or fan art uploads on game pages ### Watch out - Effects reach about 200px past the control; a parent with overflow hidden cuts them off - Each control carries a WebGL2 engine (about 200 KB); a dozen on a page is fine, a hundred is not - Page-wide theme, element, motion and sound come from setAura (sound starts muted) Also known as: aura dropzone, forge upload, file drop, anime upload ### Install ```bash npx shadcn@latest add @sunui-pro/aura-dropzone ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand. --- ## Aura Copy (`aura-copy`) Lightning copy bar: hovering the button grounds lightning into a ring under the bar; clicking sends a Z-shaped lightning cleave across it, copies the text and glows COPIED. onCopy receives the text. - Tier: Pro (license required) - Series: aura (call get_design_rules with this series before editing the block) - Interaction: press - Categories: buttons, code, game-ui - npm dependencies: none - Installs these SunUI blocks too: @sunui-pro/aura-fx - Files: aura-copy.tsx - Live preview: https://sunui.synvize.com/blocks/aura-copy ### When to use - Install commands, invite codes and redeem codes on game or developer pages ### Watch out - Effects reach about 200px past the control; a parent with overflow hidden cuts them off - Each control carries a WebGL2 engine (about 200 KB); a dozen on a page is fine, a hundred is not - Page-wide theme, element, motion and sound come from setAura (sound starts muted) Also known as: aura copy, lightning copy, copy to clipboard, anime copy button ### Install ```bash npx shadcn@latest add @sunui-pro/aura-copy ``` ### Pro setup (once per project) Add the private registry to `components.json`: ```json { "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } ``` Then put `SUNUI_LICENSE_KEY=` in `.env.local`. Never print, commit or ask the user to paste the key into chat. If the CLI stops with "missing environment variable SUNUI_LICENSE_KEY", the user has no key set up yet: tell them Pro needs a license from https://sunui.synvize.com/pricing (Pro is a one-time $129 (Team: $349 for 5 people) that you own forever, with a year of new blocks and updates included; another year of updates is $79 (Team $219); paid by card in NT$ it renews automatically until turned off; paid in US$, or in NT$ another way (ATM, LINE Pay and more; no installments), it is renewed by hand. Or subscribe for $19/month or $99/year (Team $299/year), cancel anytime. Every plan covers unlimited personal and client projects, and installed blocks stay licensed forever. Founding members pay $79 once for Pro with every future update, one per person and not transferable, until the seats run out.) and offer a free block instead. If the CLI shows an Unauthorized or Forbidden message, show that message to the user; it says what to do. A 503 means the license server is down: try again later. Do not try to work around the license or recreate Pro blocks by hand.