The Future of Web Dev
The Future of Web Dev
GodUI: 130+ Animated React UI Components for shadcn/ui
An open-source React UI component library with animated shadcn/ui replacements and experimental components for landing pages, dashboards, AI chat apps, and collaborative UIs.

GodUI is an open-source React UI component library that brings spring animations, interactive layouts, and creative effects to React and Next.js projects.
It includes 130+ components, from animated replacements for standard shadcn/ui controls to galleries, backgrounds, AI chat widgets, and collaboration components.
Features
- Compatibility with shadcn/ui component exports, props, and
data-slotattributes. - Spring animations for component transitions, button presses, and selection indicators.
- Shared animation utilities and reduced-motion preferences for Core components.
- Editable TypeScript source installed through the shadcn CLI.
- Tailwind CSS theme variables with light and dark modes.
- MCP integration for component search and installation through AI coding editors.
Use Cases
- Application dashboards: Animate sidebar transitions, tab indicators, notification stacks, and expandable settings panels.
- Landing pages: Present products through parallax sections, interactive galleries, animated headlines, and decorative backgrounds.
- AI applications: Build chat screens with prompt composers, conversation threads, source citations, and agent activity timelines.
- Collaborative workspaces: Display participant avatars, live cursors, comment pins, and notification inboxes.
How To Use It
1. Initialize shadcn/ui
Initialize shadcn/ui if your project:
pnpm dlx shadcn@latest init2. Add the GodUI registries
Add the following entries to the registries field in your existing components.json:
{
"registries": {
"@godui": "https://godui.design/r/{name}.json",
"@godui-lab": "https://godui.design/r/lab/{name}.json"
}
}@godui: Animated replacements for standard shadcn/ui components.@godui-lab: Experimental components, interactive layouts, and creative effects.
3. Install a Core component
The Core registry replaces existing shadcn/ui component files. For example, Installing Dialog also adds its declared dependencies, such as Button, and merges the shared godui-motion tokens into your global stylesheet.
pnpm dlx shadcn@latest add @godui/dialog4. Install a Lab component
Lab components use the components/godui/ directory.
pnpm dlx shadcn@latest add @godui-lab/magic-buttonYou can also install individual Lab components through their registry URLs:
pnpm dlx shadcn@latest add https://godui.design/r/lab/magic-button.jsonBasic Usage
Create an Animated Dialog
Create a components/release-details.tsx file in your Next.js project:
"use client";
import { Button } from "@/components/ui/button";
import {
Dialog,
DialogContent,
DialogDescription,
DialogHeader,
DialogTitle,
DialogTrigger,
} from "@/components/ui/dialog";
export function ReleaseDetails() {
return (
<Dialog>
<DialogTrigger asChild>
<Button variant="outline">
Release details
</Button>
</DialogTrigger>
<DialogContent>
<DialogHeader>
<DialogTitle>Product update</DialogTitle>
<DialogDescription>
Advanced search filters and team permissions
are now available.
</DialogDescription>
</DialogHeader>
</DialogContent>
</Dialog>
);
}Add an Animated 3D Button
The Lab’s Magic Button has a pressable 3D appearance with an animated gradient around its edges. Use the rainbow prop to switch between the gradient animation and a solid-color edge.
"use client";
import { MagicButton } from "@/components/godui/magic-button";
export function PricingActions() {
return (
<div className="flex flex-wrap items-center gap-4">
<MagicButton size="lg">
Start free trial
</MagicButton>
<MagicButton
variant="secondary"
size="lg"
rainbow={false}
>
View pricing
</MagicButton>
</div>
);
}Available Core Components
Overlays
- Alert Dialog
- Dialog
- Drawer
- Hover Card
- Popover
- Sheet
- Sonner
- Tooltip
Menus & Selection
- Combobox
- Command
- Context Menu
- Dropdown Menu
- Menubar
- Select
Forms
- Button
- Calendar
- Checkbox
- Input
- Input Group
- Input OTP
- Radio Group
- Slider
- Switch
- Textarea
- Toggle
- Toggle Group
Disclosure & Navigation
- Accordion
- Collapsible
- Navigation Menu
- Sidebar
- Tabs
Feedback & Display
- Carousel
- Progress
- Skeleton
Available Lab Components
| Category | Components |
|---|---|
| Buttons | Gooey FAB, Hold Confirm Button, Jelly Button, Magic Button, Magnetic Button, Mask Button, Multi Button, Progress Fold Button, Shimmer Button, Slide Confirm Button |
| Inputs | Magic Input, OTP Input |
| Navigation | Breadcrumbs, Dock, Filter Bar, Magic Tab, Mega Menu, Resizable Header, Segmented Control, Tab Bar |
| Overlays | Animated Tooltip, Dynamic Island, Floating Toolbar, Morphing Dialog |
| Layout | Animated Testimonials, App Showcase, Avatar Group, Bento Grid, Card Swap, Container Scroll, Cover Flow, Gooey Stack, Hero Parallax, Image Accordion, Image Compare, Inertia Gallery, Morph Gallery, Orbit Carousel, Progressive Card Reveal, Reorder List, Scroll Stack, Spin Viewer, Split-Flap Display, Stepper, Sticky Scroll, Stack Badge, Store Badge, Swipe Deck, 3D Marquee, Tilt Card, Holographic Card |
| Text | Aurora Text, Elastic Text, Highlighter, Number Ticker, Text Animate, Text Scramble, Scroll Text Reveal |
| AI | Agent Flow, Agent Timeline, Conversation Thread, Prompt Composer, Prompt Suggestions, Source Citations, Voice Orb |
| Collaboration | Comment Pin, Live Cursors, Notification Inbox, Presence Facepile |
| Visualizations | Animated Beam, Globe, Gravity, Orbiting Circles, Scroll Timeline, World Map |
| Effects | ASCII Dither, Beam Draw, Border Beam, Confetti, Encrypted Card, Fluid Cursor, Image Trail, Lamp, Liquid Image, Marquee, Particle Dissolve, Scroll Progress, Scroll Reveal, Spotlight Card, Spotlight Reveal, Terminal |
| Backgrounds | Blueprint Grid, Flow Field, Light Rays, Liquid Metaballs, Pixel Grid, Topographic Drift, Warp Starfield |
| Glass | Liquid Glass Card, Liquid Glass Lens |
| Static Effects | Decorative Background, Effect Background, Geometric Background, Gradient Background |
Customize Animations and Themes
Animation Timing
GodUI’s Core components use CSS spring curves and animate transform, opacity, and filter. Components such as Accordion and Sidebar use FLIP transitions to animate position changes after layout updates.
Lab components use their own animation techniques, including Motion and WebGL where applicable.
Adjust the following variables in your global stylesheet to change Core animation speeds:
| CSS Variable | Default Value |
|---|---|
--godui-duration-fast | 150ms |
--godui-duration-base | 260ms |
--godui-duration-slow | 380ms |
The shared easing utilities:
| Easing | Usage |
|---|---|
ease-spring-snappy | Dialogs, menus, and popovers. |
ease-spring-smooth | Drawers and sheets. |
ease-spring-bouncy | Button presses and pop animations. |
ease-out-expo | Exit transitions. |
For example, shorten the standard entrance and exit animations:
:root {
--godui-duration-fast: 120ms;
--godui-duration-base: 200ms;
--godui-duration-slow: 300ms;
}Reduced Motion
Core components respond to prefers-reduced-motion: reduce through shared CSS variables and animation utilities. Entrance and exit transitions switch to fades, and FLIP position animations are disabled.
Typography and Dark Mode
Customize the font and shadcn/ui theme colors in your global stylesheet.
:root {
--font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
--primary: oklch(0.42 0.12 155);
--primary-foreground: oklch(0.98 0 0);
}
.dark {
--primary: oklch(0.78 0.13 155);
--primary-foreground: oklch(0.18 0 0);
}Use GodUI with AI Coding Tools
GodUI has an MCP server for searching components, retrieving source code, and installing components through AI coding agents.
For Cursor, run:
pnpm dlx @godui/cli@latest install cursorRestart Cursor and ask the agent to add a GodUI component to your project.
The MCP server exposes three tools:
| Tool | Description |
|---|---|
list_components | Lists components with optional category filtering. |
search_components | Searches for components using natural-language descriptions. |
get_component | Retrieves component source code and installation commands. |





