Components
156 beautifully animated components for Svelte 5, React and Vue. Browse, search, and find what you need.
Components are available for Svelte 5, React and Vue, styled with Tailwind CSS v4 and typed with TypeScript. Every page has a live preview and copy-paste Svelte examples, with React and Vue usage where available. Install the package once and own the code.
156 components · 15 categories · Svelte 5 · React · Vue · TypeScript
Browse by what you need
Collect an input
Guide attention
Cards
Cards and containers that react to the pointer
AppleCardCarousel
Horizontal card carousel where the focused card expands into a spring-animated full-screen view
DirectionAwareHover
Image card with overlay that slides in from the mouse entry direction
Card3D
Interactive 3D perspective card with depth effects on child elements
CardSpotlight
Card whose radial-gradient spotlight tracks the cursor as it moves inside, fading in on hover and parking itself off-canvas when the pointer leaves, with configurable gradient size, color, and opacity
BentoGrid
Grid of framed tiles, each a hairline frame around a softly top-lit panel, where an accent glow rises from below on hover while the content lifts and the call to action slides in, and the tiles fade up in a stagger the first time the grid scrolls into view.
FlipCard
Card that flips in 3D to reveal its back, on hover (plus focus and tap) or as a click toggle; it lifts and lands with a slight overshoot, keeps turning the way the pointer travels, and its faces catch a sweeping sheen and shade edge-on
Book
3D book component with cover, spine, and back face that opens on hover
GlareCard
Holographic trading card effect with mouse-tracking glare and rainbow foil
TextRevealCard
Card that reveals text on horizontal mouse drag with animated star particles
Text & Typography
Text animations and typographic effects
BlurReveal
Scroll-triggered reveal that unblurs and slides each direct child into place as the container enters the viewport, staggering up to 10 children via CSS nth-child delays and respecting reduced motion
LineReveal
Staggered line-by-line text reveal with lines computed by pretext instead of DOM splitting
EditorialEngine
Live magazine layout: multi-column text flowing around draggable orbs with zero DOM reads, powered by pretext
ColourfulText
Per-character text animation where each glyph transitions to a new color from a shuffled palette, staggered across characters and reshuffling automatically every 5 seconds using pure CSS transitions
FlipWords
Cycling word animation with per-letter fade-in and blur effects
HyperText
Text that scrambles into random uppercase letters and resolves character-by-character back to the original on hover, with a staggered per-letter reveal and an optional animate-on-load mode
LetterPullup
Staggered letter pull-up animation with wave entrance effect
NumberTicker
Animated number counter with easing, triggered on viewport entry
SparklesText
Text overlaid with small SVG star sparkles that scale, rotate, and fade in a continuous loop, each one regenerating at a random position once its lifespan expires, cycling between two configurable colors
BoxReveal
Reveal animation where a solid color box slides left to right across content on viewport entry, unveiling it as it fades up into place underneath, triggered once via IntersectionObserver
ContainerTextFlip
Text container that cycles through words with per-character blur animation
Focus
Text component that cycles focus through words with blur and corner frame
TextGenerateEffect
Typewriter-style text reveal that fades in words one by one with optional blur
LineShadowText
Text with animated diagonal line shadow pattern that scrolls continuously
DisplacementText
3D text with WebGL displacement that follows the cursor using Three.js shaders
TerminalText
Terminal-style text streamer with per-character animation, blinking cursor, and glitch effect
LiquidText
Big text that liquefies along the cursor's path via a raw-WebGL fluid solver, with chromatic-aberration fringing that relaxes back over time
TextRoll
Single-line text that rolls to its new value per grapheme, odometer-style, whenever the value prop changes — while the real, unsplit text stays selectable and readable
Backgrounds
Animated and decorative backgrounds
FallingStarsBg
Canvas-based 3D starfield with perspective projection, motion trails, and glow
StarsBackground
Three-layer starfield background that scrolls continuously while parallax-shifting in response to cursor movement via spring physics, with stars rendered as box-shadow dots across near, mid, and far depth layers
FlickeringGrid
Canvas grid of squares that flicker in and out of opacity at random each frame, pausing automatically via IntersectionObserver when scrolled off-screen and resizing to fit its container via ResizeObserver
MosaicGlow
Canvas mosaic of small tiles on a dark surface where a soft halo follows the cursor with a lag, lighting tiles to random gold intensities that decay into a comet trail, with an additive bloom over the gaps, a glassy per-tile highlight, ambient flicker and an autonomous drift when idle
Sparkles
Canvas-based floating particle sparkle effect with configurable density and colors
MatrixRain
Canvas-based falling glyph rain with configurable color, speed, and density
Effects
Visual effects and decorative motion
AnimatedBeam
Fibre-optic connector between two elements: a light packet with a dispersing chromatic tail runs along a glass fibre and blooms behind the destination on arrival; theme-aware, seeded and still under reduced motion.
BorderBeam
A single comet of light riding a container's border: a white-hot head, a long feathered tail fading between two colours, a dim hairline that lights up only within the comet's reach, and a soft bloom that sits on the edge.
ImageTrailCursor
Trail of images that spawn and animate along the cursor's path, powered by GSAP timelines, with 18 selectable variants: fades, momentum drift, rotation flings, 3D perspective tilt, a hard-edge pixelated snap, a bouncy scale pop, images that fall or bounce under gravity, a flame flicker, and five fragment reveals (venetian, curtain, hexagon, liquid, zoom split)
InteractiveGridPattern
SVG grid of squares that highlight on hover with smooth fade transitions
FireworksHdr
GPU fireworks background with a deterministic, DOM-free physics core (rockets, peony/willow/ring/glyph shells, sparks, embers, smoke) rendered by a WebGPU engine into a wide-gamut, extended-tone-mapping canvas so bursts and comet trails burn brighter than SDR white on HDR displays, degrading silently through a WebGL2 fallback and a soft-knee SDR path everywhere else
FluidCursor
Full Navier-Stokes fluid simulation that swirls color in response to cursor and touch movement, running on WebGL2 with a WebGL1 fallback and an optional WebGPU HDR path for wide-gamut, brighter-than-white glow
GlowBorder
Liquid-metal ring for a container's edge: two metallic conic fields turning against each other make iridescent reflections flow along a dark chrome border, while a glint rides around it and spills a soft glow; chromatic, silver and gold presets or custom tints
Meteors
Meteor shower in depth: seeded meteors with glowing heads and tapering tails fall diagonally in parallax (near ones larger, brighter and faster), fading in and burning out, a few flaring before they go
DatamoshTransition
Page-transition overlay that looks like a corrupted video decode: a fixed grid of columns, narrow on the left and wide on the right, fills with flat blocks of saturated colour that fall, snap open through the middle of the frame and squeeze shut again; cover() drops the columns over the page right to left and reveal() lets them fall away, both as promises for any router's navigation hook
PixelScene
An animated pixel-art landscape on a dot grid: sparse ink dots at rest, full colour under a round lens that follows the pointer, separate day and night palettes, and on HDR displays lit windows, stars and the sun drawn as squares brighter than SDR white. Four scenes: alpine, meadow, sea and mountains.
NeonBorder
Two-colour neon tube around its content: two beams with white-hot cores chase each other along a faint tube, their glow spilling inside and outside the edge, humming slowly after a flicker on ignition
FrostedGlass
Frosted glass surface with organic turbulence-noise refraction, an alternative to LiquidGlass
LiquidGlass
Glass-like visual effect using SVG filters for chromatic displacement
SmoothCursor
Multiplayer-style cursor: an upright coloured arrow with a white rim follows the pointer on a spring, and a name pill trails it on a softer spring and dims when idle.
GlowingEffect
Mouse-proximity based glowing border effect with animated conic gradient
PulseBeam
Breathing border glow that wraps any card: colour blobs drift along the edges as a crisp 1px ring, a feathered inner glow and a blurred bloom, with slow hue rotation, fade in/out on an active flag, four palettes and an outside halo variant
Confetti
Confetti celebration effect powered by canvas-confetti with button trigger support
Ripple
Set of concentric circles that pulse in a staggered wave, each ring larger, more transparent, and more delayed than the last, with the outermost ring rendered dashed to suggest a fading signal
TracingBeam
A reading lamp on a rail beside long-form content: it trails the reader's eye on a spring, leaves what has been read softly lit, and ticks off each heading as it passes
Reveal
Content-agnostic entrance animation triggered by scroll, mount, or a manual switch, with six directional/scale presets and an arbitrary-length JS-computed stagger for direct children
Presence
Mounts and unmounts content with a real entrance and exit through one direction-aware transition, tracking opening/open/closing state, marking the panel inert while it closes, and firing lifecycle callbacks
Magnetic
A generic wrapper that pulls its child toward the pointer once it enters an activation field larger than the child's own box, and springs back to rest the instant the pointer leaves — a fine-pointer affordance with no touch or keyboard equivalent
MagneticField
Items are pulled toward a magnet and lean toward it, light ones more than heavy ones, then spring home. The magnet is the pointer or a draggable puck.
DimSiblings
Wraps a group of cards, links, or list items so hovering or keyboard-focusing one dims (or blurs) every other one — a pure CSS :has() affordance with zero pointer-tracking JavaScript
Layout
Layout primitives and structural components
Marquee
An eased conveyor of repeated content that dissolves into soft edge fades and, on hover or focus, brakes smoothly to a stop and pulls away again instead of freezing.
ContainerScroll
Scroll-driven aperture: the card opens from a bright seam as it enters the viewport while its content settles into focus and the title blurs away, with no 3D tilt
StickyScroll
Two-column scroll narrative with a scrolling item list and a sticky panel that swaps its content to the item centred in view, stacking to a single top-sticky panel over the items on narrow containers
Data Display
Lists, timelines, and collections of data
AnimatedTestimonials
Testimonial carousel with smooth slide animations and optional autoplay
LogoCloud
Logo display with animated marquee, static grid, and icon variants
Badge
A short pill of status text in five treatments and two sizes, with native span attributes passed through
Avatar
A person or account as an image that shows a skeleton while it loads and falls back to one or two initials on a colour fixed by the name, as a circle or a rounded square
Feedback
Tooltips, toasts, loaders, and other feedback
AnimatedTooltip
Presence stack of overlapping avatars with a thin, dimmed ring each that lights up on hover or focus while the avatar lifts, its neighbours part to make room, and a glass name card rises, leaning toward the pointer, as one line of light sweeps under the name
Skeleton
Placeholder bones — a block, one or more text lines, or a circular avatar — with a phase-synced shimmer sweep or opacity pulse, that swaps to real content once loading finishes while keeping aria-busy semantics correct throughout
StatusMorph
A 1em SVG status icon that morphs between idle, loading, success, and error, closing its spinning ring into a drawn check or cross with a portalled live region announcing each state
Media
Image, video, and media display
Compare
Before/after image comparison slider split by a blade of light: a white-hot seam with a chromatic fringe, pulses running along it and a trail that stretches with the speed of the gesture
NoiseReveal
WebGL image reveal with a Perlin-noise dissolve mask, contracting radial gradient, and wave displacement
AI Chat
Messages, composers, threads, and streaming text
PixelLoader
Grid of pixels pulsing in a diagonal wave as a pre-token loading indicator for AI responses
TypingIndicator
Animated three-dot presence indicator with a staggered CSS wave, tuned to signal activity without pulling focus
StreamingText
Renders a growing string as a live token stream: the appended delta lands tinted and settles, with an optional block cursor while the response is in flight
ChatMessage
One conversation turn, aligned and dressed by its role, streaming its body while the answer arrives, with an action rail that fades in on hover and a version navigator underneath
PromptSuggestions
Row of prompt pills that cascade in after a reply lands, offering the user a next turn without composing one
ChatError
Quiet inline failure banner for a chat turn: the error, an optional detail line, and a retry button that disables itself while the retry is in flight
Sources
The citations under an answer: a pill carrying a stack of domain monograms and a count, expanding into scannable source cards with title, host, and the line worth reading
InlineCitation
A numbered reference that sits inside a sentence and reveals the document behind it — title, domain and snippet — in a floating card on hover or focus
WebSearch
A search the agent ran: the query in a search-bar header, an indeterminate scanning bar while it runs, and results that land one row at a time
ImageGeneration
Fixed frame that holds its place while a model draws: an empty outline, then a pixel grid working over a drifting dot field, then the finished image easing out of a blur
Composer
The input at the bottom of a chat, taken apart: a root that owns the draft and eight parts that read it — a growing textarea, a send button that becomes a stop button, a toolbar, a model picker, an attachment row with its chips, and a completion menu you can mount twice on the same draft for / commands and @ mentions
VoiceInput
A mic button that opens into a recording panel: a live waveform painted from amplitude levels you supply, a stopwatch, the transcript as it arrives, and a cross and a check to throw it away or keep it
ContextRing
How much of the context window is gone, in the space of a favicon: a donut that fills as the conversation grows, the compact count beside it, and an optional popover breaking the total down by what is holding it
ScrollAnchor
A scroll region that stays pinned to its last line while content streams in, lets go when the reader scrolls up, and floats a pill offering the way back down
ThreadList
Conversation history for a chat sidebar: one row per thread with an unread dot, its last message, and a relative timestamp, plus selection and per-row delete
ChatPanel
The shell a conversation lives in: a sticky header, a transcript that pins itself to the bottom while an answer arrives and offers the way back once you scroll up, and a sticky composer row
AI Agents
Reasoning, tool use, plans, and human-in-the-loop cards
ThinkingIndicator
Live agent status line with a shimmering activity label and an elapsed timer, as a bare inline row or a bordered status pill
ReasoningPanel
Collapsible reasoning trace that streams while the model thinks, then folds itself into a one-line summary
ToolCall
One tool invocation in a disclosure card: status dot, tool name, duration, and the request and result payloads pretty-printed on expand
ToolTimeline
Compact session summary of an agent's tool calls: one row per action on a vertical rail, with the target it touched, its diff stats, and when it ran
TerminalBlock
Live command transcript: the prompt line, output as it streams in with its ANSI colours read, a block cursor while it runs, and an exit-status footer when it stops
CodeDiff
Unified diff tuned for chat width: one foldable card per file, tinted add/delete rows, and a copy-safe gutter
AgentPlan
Glanceable checklist of an agent's plan: a done/total count and completion bar over one row per step, with a status glyph, an optional detail line, and substeps indented under a rail
SubagentList
Fan-out panel for parallel workers: one row per delegated agent with its status dot, model badge, task, and its own progress bar
ApprovalCard
A human-in-the-loop gate before a side effect: the agent states what it is about to do, and the footer swaps its approve and deny buttons for a one-line verdict once someone decides
RecommendationCard
An agent's proposal awaiting an answer: a kicker, the recommendation, a confidence figure counted up beside a ring that fills to match, and two buttons that collapse into one quiet resolved line
ArtifactCard
A generated document as a tangible object: title, kind, a version navigator, and the first six lines of the text itself streaming in behind a fade
AiDataTable
Compact comparison table for a model's structured answer: real table semantics, tabular numeric columns, check-or-dash booleans, and one tintable column — rendered in the order it arrived, with no sorting
Actions
Buttons, toggles, and other action primitives
Button
The foundational push-button: six variants, three sizes, a loading state, and a polymorphic href/anchor mode
IconButton
Square or circular icon-only button built on Button, with a required accessible label
ButtonGroup
Joins a row of adjacent actions into one seamless control — one border, one divider, no doubled edges
Link
Inline text link with a muted variant, configurable underline, and a safe external-link mode with a new-tab arrow
Toggle
Two-state button carrying aria-pressed, for a single on/off option like a formatting mark or a filter
ToggleGroup
A segmented row of toggle buttons with roving-tabindex keyboard navigation and single or multiple selection.
CopyButton
Button preset wired to the clipboard, morphing its icon and label to a success or failure state for a moment after each copy attempt
FollowButton
A follow toggle that shows the result at once, then commits when the server agrees or rolls back and says so, with the width held steady across every label
SoundToggle
Opt-in interface sound: a `sound` controller that synthesises eleven short cues (hover, press, toggle-on, toggle-off, open, close, select, success, error, tick, copy) with the Web Audio API, a SoundToggle switch that keeps the preference and volume, and a soundFeedback action that wires cues to any element — silent until the user switches it on, nothing on import, mount, navigation or scroll
Forms
Inputs and primitives for capturing user input
Label
A form label with a decorative required asterisk, wired to a FormField's context when it has one
FormField
Wraps a control with a label, help/error text and id wiring, so a screen reader gets the full picture without manual aria plumbing
Input
A single-line text field with resting, focus, error and disabled looks, built on a native input
Textarea
A multi-line text field with an optional live character counter and auto-growing height, built on a native textarea
Checkbox
A tri-look checkbox — unchecked, checked, indeterminate and disabled — built on a native checkbox input
RadioGroup
A set of mutually exclusive options, built on real input type=radio elements sharing one name so the browser gives the roving tab stop and keyboard navigation for free.
Switch
A sliding on/off control that takes effect immediately, built on a native checkbox input
Slider
Restyled native range input with a purple-to-cyan gradient fill that tracks the current value and a glowing thumb
NumberInput
Numeric field with decrement/increment buttons that clamp to min/max, disable themselves at the bounds, and step fractional values without float drift
Select
A single-choice dropdown built on a real button and a portalled listbox panel, with full keyboard navigation, typeahead and focus that never leaves the trigger.
Combobox
A single-choice text field over a closed set of options — typing filters a portalled listbox, and a value outside the list can never be selected.
Autocomplete
A free-text field with a portalled panel of matching suggestions — any typed value is valid; the panel only ever helps finish it faster.
SearchInput
A pill-shaped search field with a leading icon, a clear button once there's something to clear, and optional debounced search
PasswordInput
A password field with a show/hide reveal toggle and an optional strength meter that never relies on colour alone
FileUpload
A drop zone backed by a native file input, with per-file progress, JS-side validation and a removable file list
DatePicker
A field that opens a floating month grid, with full keyboard navigation (arrow keys across days, Page Up/Down across months, Shift for years), min/max and per-day disabling, and a fully localized accessible name on every day cell.
TimePicker
A field that opens a floating listbox of time slots generated at a configurable step, fully keyboard-navigable, with the highlighted slot always scrolled into view.
Overlays
Dialogs, popovers, menus, and sheets
Dialog
A modal panel with a title, description, body and free-form footer — portals out, traps focus, and locks the page's scroll while open
AlertDialog
A confirmation dialog for consequential, hard-to-undo actions — fixed confirm/cancel actions, never dismissed by an outside click
Sheet
A modal panel that slides in from an edge of the viewport, for settings, filters, or any focused task that doesn't need a full page
Drawer
A modal bottom sheet with a grab handle, draggable shut with a downward swipe — for filters, quick actions, or any touch-first task
Popover
An anchored panel that opens next to a trigger and holds interactive content — quick settings, a small form, more than a tooltip can carry
Tooltip
A small anchored label that explains a control on hover or focus — plain text only, never interactive content
HoverCard
An anchored panel that opens on hover or focus with a short delay, for richer previews than a tooltip — a profile card, a link preview
Toast
A notification system: call toast() from anywhere to queue one, mount <Toaster /> once to render the stack — success, error, info and loading variants, an optional action, and accessible live-region announcements