Components
479 components, from buttons and forms to data grids, chat interfaces and animated effects, each with a live demo and its code. Their pages hold 2,882 more examples.
479 of 479 components
Inputs & Fields (23)
- AI AutocompleteA text box that suggests the end of the sentence in grey; Tab takes it, the right arrow one word.
- Amount PadA keypad for amounts whose digits spring into place and shrink to fit.
- Card FieldA one-row card input that groups the number by brand, then makes room for expiry and CVC.
- Placeholder InputA text field whose placeholder cycles through prompts and whose text dissolves into particles on submit.
- Formatted Phone InputA phone number field with a searchable country picker and formatting.7 examples
- Signature PadSignature pad with pressure and velocity ink, touch and stylus input, undo and redo, form fields and PNG, JPEG or SVG export.12 examples
Selection Controls (36)
- Dashboard CheckboxWell, a checkbox. Switch between a checked, unchecked and indeterminate state.5 examples
- Detent DialA rotary knob that clicks from notch to notch and coasts when flicked.
- PollA composable poll with single or multiple choice, result bars with percentages and keyboard navigation.2 examples
- Dashboard Radio GroupA set of radio buttons, where only one button can be checked at a time.6 examples
- Motion Radio GroupA radio group whose items scale on press and pop their indicator in with a spring.
- Helpful RatingA was-this-helpful rating whose face changes, then asks for reasons and a note.
- Multi SelectA tag-style multiple selector with search, groups, creatable options and async loading.
- Liquid SliderA vertical slider filled like a glass, with a sloshing surface and bubbles.
- Team SelectorA seat count with a scrubbable number, generated avatars and a rolling price.
- Tip SelectorA tip set on a tape you drag and flick, with rolling amounts and Round up.
- Upvote ListA list of items with upvote buttons, sorted by votes, controlled or uncontrolled.1 example
- Wheel PickerA 3D drum picker with flick momentum.
Pickers & Uploads (20)
- Avatar PickerAvatars generated from a name, on a 3D coin you can flick, tap or shuffle.
- Advanced Color PickerColor picker with a saturation area, hue, alpha and channel sliders, a hue wheel, HEX, RGB, HSL, HSB and OKLCH fields, swatches and an eye dropper.14 examples
- Emoji PickerEmoji picker with search, shortcodes, skin tones, frequently used and custom emoji, a category bar, a virtualized grid and 28 data languages.7 examples
- Location PickerDrag the map under a fixed pin that lifts, glides onto the nearest curb and drops.
- Seat MapPick seats along a row by dragging; it points out single seats left stranded.
- Slot PickerDrag a meeting into a free gap on a day rail; it hops over bookings and resizes in place.
- Stay PickerA date range picker for stays with nightly prices and one pill that wraps across weeks.
- Scroll Time PickerTime picker with scrollable hour, minute, second and AM/PM columns, a typable input, steps, bounds and localized labels.12 examples
- Time Zone PlannerFind a meeting time by turning it round a 24-hour dial of everyone's day.
Layout & Containers (25)
- 3D CarouselRotates image cards around a cylinder with drag momentum and click to expand.
- Logo CarouselCycles brand logos through staggered columns.
- Momentum CarouselA card rail flicked with momentum, snapping on a spring, with cover-flow depth.
- ExpandableA compound card that animates between condensed and expanded states to reveal details.
- Expandable ScreenMorphs a card or button into a full-screen view with shared layout animation.
- Expandable ToolbarA toolbar that opens into a scrollable step-by-step panel.
- Expandable WizardA multi-step wizard in an expanding panel, with keyboard navigation and step validation.
- Side PanelA panel that opens sideways to reveal extra content or a video, with a custom toggle.
- Widget GridDashboard widgets you lift, drag and resize on a six-column grid, with keyboard support.
Cards & Surfaces (21)
- Bento GridBento grid is a layout used to showcase the features of a product in a simple and elegant way.2 examples
- Boarding PassA boarding pass whose changed gate and times roll over character by character.
- Activity Rings CardActivity rings that draw with a count-up, lap past 100% and dim to focus.
- Cutout CardAn image card with cutout corner accents, inset labels, pins and actions revealed on hover.
- Flick CardA two-sided card you spin with a drag or a flick, with thickness, light and shadow.
- Folded CardA folded-corner card with a linked preview, dashed grid, badge and footer.
- Magic CardA spotlight effect that follows your mouse cursor and highlights borders on hover.1 example
- Metric CardA KPI card: scrub a day or drag a range, and the number, line and breakdown follow.
- Neon Gradient CardA beautiful neon card effect.
- Organic CardA card with an image, eyebrow, curved SVG accent band and footer call to action.1 example
- Shadow CardA card with an extruded edge, bevel layers, vertical text and a pixel gradient mesh.
- Shift CardA card that shifts its header aside on hover to reveal extra content.
- Texture CardA tactile card with layered borders and gradients, with header, content, footer and separator parts.
- Uptime CardA status card with 90 days per service; click a day to open its incident log.
- Currency TransferA transfer tracker that converts the amount in place and walks through each step.
- Morph SurfaceMorphs a button into a text panel on a spring, for feedback and quick notes.
- Receipt PrinterA receipt that prints line by line, then tears off and falls when pulled.
- Swipe Card StackA pile of image cards you drag and flick off the top, sending them under the deck.
Data Display (27)
- Activity TerrainA contribution heatmap that tilts up into a 3D terrain you can turn.
- Avatar CirclesOverlapping circles of avatars.
- Event CalendarHeadless-first event calendar with month, week, day, N-day and agenda views, external CRUD contract, and a subscribable store.4 examples
- GanttHeadless-first gantt - horizontal resource timeline with day-to-year scales, external CRUD contract, and a subscribable store.7 examples
- Liquid GaugeA usage meter filled with liquid that sloshes, ripples and bubbles.
- Spending RingA spending breakdown spun like a dial, settling with a category under the marker.
- TimerA compound timer with variants, sizes and time formats, plus a useTimer hook for elapsed time.
- Tweet CardA card that displays a tweet with the author's name, handle, and profile picture.2 examples
- Client Tweet CardA client-side version of the tweet card that displays a tweet with the author's name, handle, and profile picture.
- Tweet GridA masonry grid of embedded tweets from a list of tweet IDs.
Tables & Grids (7)
- Data GridA TanStack Table grid with sorting, pagination, resizing, pinning and drag-and-drop.33 examples
- Server Data TableA server-friendly data table with URL state, sorting, filtering, pagination and column visibility.1 example
- Spreadsheet GridA spreadsheet-like grid with cell editing, selection, sorting, filtering, copy and paste, and keyboard navigation.
- Animated TableTable wrappers that fade the table in and slide each row up in turn as it scrolls into view.
- Dashboard TableDisplay data efficiently in a column and row format.
Code & Developer (16)
- AI Code BlockProvides syntax highlighting, line numbers, and copy to clipboard functionality for code blocks.2 examples
- Streaming Code BlockCode block with Shiki highlighting, streaming, diffs, folding and per-line interaction for AI chat UIs.26 examples
- CommitDisplay commit information with hash, message, author, and file changes.
- Environment VariablesDisplay environment variables with masking and copy functionality.
- File TreeA component used to showcase the folder and file structure of a directory.
- AI File TreeDisplay hierarchical file and folder structure with expand/collapse functionality.4 examples
- File TypeFile type icon in brand and family colors with outline, solid, light and mono variants, sizes down to 18px, and lookup by file name or MIME type.15 examples
- Package InfoDisplay dependency information and version changes.
- Schema DisplayDisplay REST API endpoint documentation with parameters, request/response bodies.4 examples
- Stack TraceDisplays formatted JavaScript/Node.js error stack traces with syntax highlighting and collapsible frames.4 examples
Feedback & Status (20)
- Retry AlertAn alert that lists failed checks, re-runs them one by one and turns green when they pass.
- Animated Circular Progress BarAnimated Circular Progress Bar is a component that displays a circular gauge with a percentage value.
- Notification StackStacked notifications that fan out on hover and swipe away.
- Scroll ProgressAnimated Scroll Progress for your pages.
- Save StatusAn autosave pill: Editing, Saving, Saved, with offline changes synced on reconnect.
- Motion ToastStacked toasts with types, actions, promises and positions, animated with motion and mounted on demand.2 examples
- Promise ToastA toast that follows a task to a check or a warning, with Undo or Retry, stacking and swipe.
Chat & Messages (17)
- Document AttachmentA dropped file that uploads and is read page by page, with page citations in the answer.1 example
- AttachmentsA flexible, composable attachment component for displaying files, images, videos, audio, and source documents.2 examples
- AI MessageA comprehensive suite of components for displaying chat messages, including message rendering, branching, actions, and markdown responses.
- Mic SelectorA composable dropdown component for selecting audio input devices with permission handling and device change detection.
- Model SelectorA searchable command palette for selecting AI models in your chat interface.2 examples
- Open In ChatA dropdown menu for opening queries in various AI chat platforms including ChatGPT, Claude, T3, Scira, and v0.1 example
- Prompt InputAllows a user to send a message with file attachments to a large language model.6 examples
- Prompt LibraryBrowses, searches, inserts and saves prompt templates by category from a popover.
- Speech InputA button component that captures voice input and converts it to text, with cross-browser support.
- SuggestionA suggestion component that displays a horizontal row of clickable suggestions for user interaction.2 examples
- Voice RecorderVoice input with a scrolling waveform, then a take to play back, discard or send.
- Voice SelectorA composable dialog component for selecting AI voices with metadata display and search functionality.
AI Agents & Tools (34)
- AgentA composable component for displaying AI agent configuration with model, instructions, tools, and output schema.3 examples
- Agent LanesA lead agent's sub-agents side by side, each a lane of tool calls you can scrub through.1 example
- Agent ProgressAgent steps with a live log, elapsed time and a summary when done.
- ArtifactA container component for displaying generated content like code, documents, or other outputs with built-in actions.
- Chain of ThoughtA collapsible component that visualizes AI reasoning steps with support for search results, images, and step-by-step progress indicators.1 example
- CheckpointA simple component for marking conversation history points and restoring the chat to a previous state.1 example
- Code RunA script run in the reply: a marker steps through the lines, output prints, a chart grows.1 example
- ConfirmationAn alert-based component for managing tool execution approval workflows with request, accept, and reject states.5 examples
- ContextA compound component system for displaying AI model context window usage, token consumption, and cost estimation.1 example
- Context MeterContext window fill as a ring that opens a breakdown by source and compacts when full.
- Conversation BranchesA chat where editing a message starts a branch, with a tree of every version.1 example
- Custom InstructionsSearches, toggles and creates custom assistant instructions from a popover command list.
- Diff ReviewAn agent's edits streaming in file by file, reviewed with accept, reject and undo.
- Inline CitationA hoverable citation component that displays source information and quotes inline with text, perfect for AI-generated content with references.2 examples
- JSX PreviewA component that dynamically renders JSX strings with streaming support for AI-generated UI.
- MemoryFacts the assistant saves about you; new ones replace contradicted ones, and each can be edited.1 example
- PersonaAn animated AI visual component powered by Rive that responds to different states like listening, thinking, and speaking.6 examples
- PlanA collapsible plan component for displaying AI-generated execution plans with streaming support and shimmer animations.2 examples
- Prompt RedactionMasks names, emails, cards and keys before a prompt is sent and fills them back into the reply.1 example
- QueueA comprehensive queue component system for displaying message lists, todos, and collapsible task sections in AI applications.5 examples
- ReasoningA collapsible component that displays AI reasoning content, automatically opening during streaming and closing when finished.2 examples
- SandboxA collapsible container for displaying AI-generated code and output in chat interfaces.
- SourcesA component that allows a user to view the sources or citations used to generate a response.3 examples
- Suggestion StackStacked agent suggestion cards with progress bars, success and error states and a commit button.
- TaskA collapsible task list component for displaying AI workflow progress, with status indicators and optional descriptions.1 example
- Token AlternativesAn answer whose unsure words show the alternatives; pick one and the reply rewrites from there.1 example
- ToolA collapsible component for displaying tool invocation details in AI chatbot interfaces.10 examples
- Web PreviewA composable component for previewing the result of a generated UI, with support for live examples and code display.1 example
Boards & Canvas (10)
- ConnectionA custom connection line component for React Flow-based canvases with animated bezier curve styling.
- ControlsA styled controls component for React Flow-based canvases with zoom and fit view functionality.
- EdgeCustomizable edge components for React Flow canvases with animated and temporary states.
- NodeA composable node component for React Flow-based canvases with Card-based styling.
- PanelA styled panel component for React Flow-based canvases to position custom UI elements.
- Tool DockAn editor tool dock with a sliding selection plate, shortcut tooltips and throwable flyouts.
- ToolbarA styled toolbar component for React Flow nodes with flexible positioning and custom actions.
Media (20)
- Audio PlayerA composable audio player component built on media-chrome, with flexible controls.1 example
- Clip TrimmerA video trim timeline with a filmstrip, snapping handles and a looping playhead.
- Contact SheetPick photos from a shoot: circle a frame, strike it, and inspect it through a loupe.
- Fluted GlassA ribbed fluted-glass distortion over an image, as a WebGL shader.
- Focal Point PickerSet a photo's focal point and watch every crop follow it.
- Hover Video PlayerPlays a video on hover, with lazy loading, thumbnails, overlays, picture-in-picture and touch support.
- ImageDisplays AI-generated images from the AI SDK.
- Dither ImageAn image with a CSS-only ordered dither, full-frame or revealed through a partial mask.1 example
- Pixel ImageA component that displays an image with a pixelated effect, creating a retro aesthetic.
- Lightbox GridA photo grid whose thumbnails grow into a full view and fly back when dragged down.
- Now Playing CardA music card with a spinning disc you grab and turn to scrub.
- Page FlipA book you turn by the corner: drag a page over the spine or tap to turn it.
- Photo StraightenLevel a crooked photo on a ruler; the crop grows to hide the corners.
- TranscriptionA composable component for displaying interactive, synchronized transcripts from AI SDK transcribe() results with click-to-seek functionality.1 example
Mockups & Illustrations (23)
- Browser WindowA browser window mockup in three chrome styles, with address bar, sidebar and themes.
- Circuit BoardAn animated SVG circuit board with glowing traces around a central chip.
- Comment IllustrationA comment bubble with an avatar, inline code and a cursor, illustrating code review.
- Cursor IllustrationAnimated multiplayer cursors with name tags and colors, illustrating real-time collaboration.
- Display MockupA desktop display mockup with an aluminum frame, screen modes and an animated dock.
- Gateway IllustrationOne API endpoint fanning out to four model providers, as an SVG illustration with color props.2 examples
- Geometric ShapesPolygons, sacred geometry and Platonic wireframes as SVG, styled with currentColor.1 example
- Deployment GlobeAn animated globe of deployments in deploying, deployed and error states.
- Graph IllustrationAn SVG line graph with data points, axis labels and a highlighted error region.
- Keyboard MockupA keyboard illustration with labeled, pressable keys and a media row, for shortcut guides.
- Merging BubblesTwo icons joined in merging bubbles, for integrations and partnerships.
- Rendering IllustrationA browser connected to commerce and content platforms, illustrating headless rendering.
- Retro ComputerA classic all-in-one computer that shows an image or GIF on its CRT screen.
- Security CheckpointA verification card over animated line layers, illustrating a bot check.
- Squiggle ArrowA hand-drawn SVG arrow in wavy, bouncy or smooth variants.
- Watch MockupA smartwatch mockup with tappable complications and a rotating crown compass.
- Workloads IllustrationCards joined by branching lines, illustrating workloads and compute.
Text Effects (38)
- Animated Gradient TextAn animated gradient background which transitions between colors for text.2 examples
- Animated Shiny TextA light glare effect which pans across text making it appear as if it is shimmering.1 example
- Aurora TextA beautiful aurora text effect.
- Comic TextComic text animation.
- Cradle TextA headline hung like a Newton's cradle; knock one letter and it clacks through the word.
- Dynamic TextMorphing text where shared letters travel, old ones fall and new ones land.
- Extruded Text3D extruded text lit by the pointer, with letters that press in like keycaps.
- Glitch TextText that cuts into hard-shifted bands with a thin red and cyan split.
- Gradient HeadingA gradient text heading with color, size and weight variants.
- Kinetic TextA text component that animates font weight of characters on hover.
- Light Leak TextText with drifting coloured light leaks blended over its letters.
- LightboardA canvas LED board that scrolls text as a grid of lights, with a seven-segment font and drawing.
- Origami TextLetters that fold over in 3D one after another, like paper.
- Pixel HeadingA heading that cycles each character through pixel typefaces in four animation modes.1 example
- Pixel ParagraphA paragraph that sets chosen words in a pixel typeface to highlight key terms.1 example
- Plucked TextA headline on a string you can pluck, strum and let ring.
- Rolling NumberA number that rolls its digits to each new value on a spring, with custom formatting.
- Scanner TextText swept by a glowing scan line that lights the letters it passes.
- Shadow TextA headline whose letters cast long shadows set by the clock, or by the pointer as a lamp.
- Line Shadow TextA text component with a moving line shadow.
- AI ShimmerAn animated text shimmer component for creating eye-catching loading states and progressive reveal effects.3 examples
- Shimmer Wave TextText whose letters lift and brighten in a travelling wave.
- Sparkles TextA dynamic text that generates continuous sparkles with smooth transitions, perfect for highlighting text with animated stars.
- Spinning TextThe Spinning Text component animates text in a circular motion with customizable speed, direction, color, and transitions for dynamic and engaging effects.3 examples
- Split Flap TextDeparture-board lettering where each tile flips only as far as its new letter.
- Spoiler TextInline text hidden under drifting specks that blow away on click.
- Text 3D FlipA text effect that flips each letter in 3D with a staggered animation on hover.1 example
- Text AnimateA text animation component that animates text using a variety of different animations.10 examples
- Text RevealFade in text as you scroll down the page.
- Dia Text RevealA horizontal color band sweeps across text, revealing a gradient shine before settling on the base color.3 examples
Backgrounds & Patterns (37)
- Background PathsA ribbon of flowing lines that parts around the cursor.
- Caustics BackgroundPool-floor light ripples, with click rings that bend the light.
- Colliding BeamsFalling light beams that burst into particles where they hit the bottom edge.
- Distorted GlassA frosted glass band made with an SVG fractal noise displacement filter.
- Dither FieldAn animated WebGL2 background of Bayer-dithered square dots. The dots follow a light pattern, an image or a video, take one color or a three-stop ramp, and brighten under the pointer.8 examples
- Dot FieldA halftone dot membrane that ripples behind a swipe and rings out from a click.
- Dot PatternA background dot pattern made with SVGs, fully customizable using Tailwind CSS.2 examples
- Drape BackgroundA pleated curtain in a breeze that you can push and pull.
- Flickering GridA flickering grid background made with SVGs, fully customizable using Tailwind CSS.1 example
- Flow FieldStreamlines that part around the cursor, swirl in its wake and scatter on click.
- Fractal Dot GridAn interactive canvas dot grid with a hover wave, optional noise and a cursor-following glow.1 example
- Glyph MatrixAn animated grid of subtly shifting glyphs with fade effect and theme support.
- Grid BeamAnimated canvas light beams travelling a grid, with palette presets, dividers and a headless hook.
- Grid PatternA background grid pattern made with SVGs, fully customizable using Tailwind CSS.2 examples
- Animated Grid PatternA animated background grid pattern made with SVGs, fully customizable using Tailwind CSS.
- Interactive Grid PatternA interactive background grid pattern made with SVGs, fully customizable using Tailwind CSS.1 example
- Guide LinesAnimated vertical guide lines with glowing highlights, a column count and direction options.
- Halftone BackgroundAn image or a lit sphere printed as a halftone screen, with a loupe.
- Hexagon PatternA background hexagon pattern made with SVGs, fully customizable using Tailwind CSS.3 examples
- Image TextureLayers a fabric, grid-noise or paper texture behind content at any opacity.
- Ink BackgroundA headline written in ink on water that bleeds when stirred and gathers again.
- Lens Blur ShaderA pointer-reactive WebGL lens blur over animated gradients.
- Light RaysA component with animated light rays which shine down from above.
- Media BackgroundA full-screen image or video background with a light or dark overlay and a play and pause control.
- MeteorsA meteor shower effect.
- Noise TextureAn SVG fractal noise layer using feTurbulence, desaturation, and contrast controls for subtle texture overlays.3 examples
- ParticlesParticles are a fun way to add some visual flair to your website. They can be used to create a sense of depth, movement, and interactivity.
- Floating 3D ParticlesA canvas-based pseudo-3D particle field with perspective projection, continuous rotation and buoyant drift.1 example
- Pixel SnowA WebGL field of pixel snowflakes drifting in depth, with wind, density and colour controls.
- Rain Glass BackgroundA view through a rainy window; drops run as tiny lenses and dragging wipes the fog.
- Retro GridAn animated scrolling retro grid effect.
- RippleAn animated ripple effect typically used behind elements to emphasize them.
- Section BandsWide SVG section dividers: battlements, zigzags, hero bands, wavy footers and notched frames.
- Striped PatternA background striped pattern made with SVGs, fully customizable using Tailwind CSS.2 examples
- Texture OverlayA CSS texture layer of dots, grid, crosshatch, halftone or paper grain at any opacity.
- Topo BackgroundA drifting contour map that rises under the cursor and ripples on click.
- Warp BackgroundA card with a time warping background effect.
Motion & Interaction (18)
- Animated BeamAn animated beam of light which travels along a path. Useful for showcasing the integration features of a website.8 examples
- Animated ListA list that animates each item in sequence with a delay. Used to showcase notifications or events on your landing page.4 examples
- ConfettiConfetti animations are best used to delight your users when something special happens.7 examples
- Glare HoverA diagonal glare on hover using a ::before gradient and CSS variables (angle, size, duration, color).2 examples
- MarqueeAn infinite scrolling component that can be used to display text, images, or videos.8 examples
- PointerA component that displays a pointer when hovering over an element.
- Progressive BlurThe Progressive Blur component adds a smooth blur gradient effect to scrollable content, indicating more content below or above.1 example
- Smooth CursorA customizable, physics-based smooth cursor animation component with spring animations and rotation effects.
Utilities (11)
- Client OnlyRenders its children only after hydration, with a fallback on the server.
- DirectionProvides left-to-right or right-to-left layout.
- Direction ProviderSets the reading direction for the components inside it and the useDirection hook.
- PortalRenders its children into another part of the DOM, document.body by default.
- PresenceKeeps an element mounted until its exit animation has finished.
- Scroll FadeUtilities that fade a scroll container's edges while more content lies beyond them.6 examples
- Theme TogglerTheme toggle with View Transitions and animated clip-path masks (circle, polygons, star), optional viewport-centered origin.9 examples
- Visually HiddenHides content from sight while keeping it available to screen readers.
- Visually Hidden InputA hidden native input that mirrors a custom control's value into forms.