Getting started

Introduction

Vizzele UI is a library of components, gestures and effects built around one idea: liquid light. Everything moves with real spring physics, can be thrown, stretches like rubber and settles with weight — and every surface reacts to light and to you.

Three packages, one engine

  • @vizzele/core — the zero-dependency engine: springs, inertia, drag, effects and data-vz-* attributes. Works with any framework, or none.
  • @vizzele/react — components and hooks built on the core.
  • @vizzele/css — tokens, themes, materials and pure-CSS motion utilities.
bash
pnpm add @vizzele/react @vizzele/css
# or, without React
pnpm add @vizzele/core @vizzele/css

Browse

Components

ButtonLiquid, holo, glow or plain — every button can be magnetic and ripples on press. The liquid body flows toward the pointer.CardSurfaces in four materials: plain, liquid glass, holographic foil and spotlight.Liquid glassGlass that actually refracts: the backdrop bends at the rim like a lens and splits into color at the edge — not just a blur.ModalA dialog that grows out of the button that opened it, and shrinks back into it. Drag the header down to dismiss.TabsThe indicator flows like liquid: its leading edge races ahead, the trailing edge catches up, and it settles with a wobble.DockmacOS-style magnification: icons swell as the pointer passes over, neighbours rising along a curve.NavbarA full-width bar that condenses into a floating glass pill as you scroll — and optionally hides on the way down.Switch, checkbox & radioNative inputs with physical micro-motion: the switch thumb stretches and lands with a jelly bounce, ticks draw themselves, radio drops pop in.InputA text field with a floating label and a border of light that follows the pointer, then circles the field on focus.TooltipA small label that springs out of its anchor on hover or keyboard focus, flipping to stay on screen.PopoverA glass panel anchored to a button: springs open on click, moves focus inside, closes on Escape or outside click.ToastNotifications that spring up into a stack, fan out on hover and can be flicked away.AccordionSections that open with a spring on their height — content pours in, the chevron flips with a wobble.MarqueeAn endless ticker that eases to a stop on hover, and that you can grab and throw — it glides back to cruising speed.3D carouselA ring of cards in 3D. Drag to spin it with inertia — it snaps the nearest card to the front.Image revealImages revealed through a liquid, wobbling mask — growing from the center on scroll, or as a lens that follows the pointer.SkeletonLoading placeholders with an iridescent sheen sweeping across.Copy buttonCopy to clipboard that answers like liquid: the icon folds into a check that draws itself, light washes out from where you pressed, droplets burst and a "Copied" bubble rises off the button.SidebarNavigation with a liquid current-page marker that stretches between links on two springs, a light that follows the hovered link, foldable sections and an iridescent edge that glows near the pointer.FooterA footer that ends the page with weight: link columns whose underlines pour in as light, a hairline that brightens under the pointer, and a giant liquid wordmark rising out of the bottom edge.WordmarkGiant text made of liquid light. Letters rise out of a surface, reach up toward your pointer like pulled fluid, wobble when pressed, and a spotlight lights the flowing iridescent fill.SelectA select in liquid light: the list springs out of the button, options cascade in, and a blob of light slides between them — stretching as it travels.Dropdown menuAn action menu that springs out of its button — icons, shortcuts, sections, separators and destructive items, with the same liquid highlight.Command paletteA ⌘K palette in liquid light: it drops in over a blurred page, the list springs to fit its results, matched letters glow and a liquid highlight slides between commands.OTP inputA one-time-code field: a drop of light stretches to the next cell as you type, characters fall into place and a full code sends an iridescent wave across.File dropzoneA drop target with a liquid surface: it swells when a file is dragged over, a pool of light follows the file, and a drop sends a splash ring out from where it landed.Gooey menuA floating action button that splits into drops of liquid: each action buds off the trigger, the necks between them stretch and snap, and they flow back in when it closes.Avatar stackOverlapping avatars fused into one drop of liquid. Hover or focus the group and they part — the necks thin and snap — and each face lifts with its name.Liquid stepperProgress through steps as liquid: the finished part is one stream that flows into the next dot when you advance — it bulges, fuses and settles on a jelly spring.Liquid ratingStars that fill with liquid. Light pours from one star into the next with a wobbling front, overshoots a touch and settles; hovering previews the level.Signature padSign with liquid ink: strokes swell when you slow down and thin out when you flick, and iridescent ink shifts hue along the line. Export PNG or SVG.Auth panelA sign-in and sign-up card made of liquid glass: a mode switch that stretches like a drop, Continue with Google, a password eye that watches you, a strength tube that fills as you type, and a button that melts into a spinner, then a check — with confetti.Password inputA password field whose show/hide button is a living eye: open, it follows your pointer and blinks now and then; hidden, it shuts with its lashes down. Warns when Caps Lock is on, and can carry the strength meter.Password strengthA tube of liquid that fills and changes colour as a password gets stronger — the level overshoots on a spring, its edge wobbles like a meniscus — with a checklist that ticks itself off. scorePassword() is exported too.ConfettiA burst of paper from any element, point or the middle of the screen: pieces flutter, tumble, slow in the air and fall, then the canvas cleans itself up. One function, no component to mount.Click sparkWrap anything and every click inside throws a ring of sparks from the exact point — a tiny reward that makes a whole page feel more physical.Heart buttonA like button with a jelly pop: the heart fills, throws a ring and a spray of coloured sparks, and the counter rolls up to its next number (and back down if you change your mind).Theme toggleA day-to-night switch: the sun rolls across a sky that darkens, clouds drift off, stars come out and a shadow bites the sun into a moon. The page changes inside a circle that grows from the switch.OrbitIcons, logos or avatars circling a centre on concentric rings at their own speeds. Items stay upright as they travel, grow on hover, and the orbits pause so they are easy to click.Mechanical keyboardA mechanical keyboard you can play. Creamy keycaps sink and spring back, RGB underglow runs in a wave and ripples out from every press, and an optional synthesised thock plays with each key. Type in the field above — or click the keys. Full, TKL, 65% or 60%.KbdA tiny mechanical keycap for keyboard shortcuts in your text. Give it a key to listen for and it presses down — and lights up — when you hit it.Shopping cartThe inside of a cart drawer: lines slide in and collapse away, quantity numbers roll, a liquid bar fills toward free shipping and the totals count to their new value.Add to cartAn add-to-cart button that throws the product in an arc into your cart icon, which bumps when it lands — then the button turns into a check. CartButton and flyToCart() come with it.Logo marqueeA sponsors strip: logos glide past, ease to a stop under the pointer, wake to full colour on hover and can be grabbed and thrown. Two rows run against each other.CountdownA countdown whose digits roll over like an odometer — for launches, drops and sales. It ticks exactly on the second and calls you when it reaches zero.StickerA die-cut sticker you can peel. Grab a corner: the paper folds back along a real crease, showing its white backing and casting a shadow. Pull far enough and it comes off — carry it anywhere and let go to slap it down. Tilts in 3D with holographic foil.BadgeSmall labels with personality: soft, solid and outline, plus a breathing glow, a sweep of light and holographic foil. Six colours, two sizes, an optional icon.Status badgeA status pill with a living dot: it pulses when online or live, blinks on an outage, spins for maintenance. For presence, streams and status pages.Compare sliderBefore and after, split by a handle you drag. The handle is a drop of liquid: it stretches with speed and wobbles back when you stop. Works with images, video or any markup.Flip cardA card with two faces that turns over on a spring — overshooting a little and settling — and leans toward the pointer with a moving glare. Flip on click or on hover.Scratch cardA lottery-ticket foil over anything — a coupon, a prize, a spoiler. Drag to scratch: the holographic foil flakes away under your finger, catches the light as you hover, and once enough is gone the rest dissolves (with confetti, if you like).