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-slot attributes.
  • 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 init

2. 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/dialog

4. Install a Lab component

Lab components use the components/godui/ directory.

pnpm dlx shadcn@latest add @godui-lab/magic-button

You can also install individual Lab components through their registry URLs:

pnpm dlx shadcn@latest add https://godui.design/r/lab/magic-button.json

Basic 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

CategoryComponents
ButtonsGooey FAB, Hold Confirm Button, Jelly Button, Magic Button, Magnetic Button, Mask Button, Multi Button, Progress Fold Button, Shimmer Button, Slide Confirm Button
InputsMagic Input, OTP Input
NavigationBreadcrumbs, Dock, Filter Bar, Magic Tab, Mega Menu, Resizable Header, Segmented Control, Tab Bar
OverlaysAnimated Tooltip, Dynamic Island, Floating Toolbar, Morphing Dialog
LayoutAnimated 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
TextAurora Text, Elastic Text, Highlighter, Number Ticker, Text Animate, Text Scramble, Scroll Text Reveal
AIAgent Flow, Agent Timeline, Conversation Thread, Prompt Composer, Prompt Suggestions, Source Citations, Voice Orb
CollaborationComment Pin, Live Cursors, Notification Inbox, Presence Facepile
VisualizationsAnimated Beam, Globe, Gravity, Orbiting Circles, Scroll Timeline, World Map
EffectsASCII 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
BackgroundsBlueprint Grid, Flow Field, Light Rays, Liquid Metaballs, Pixel Grid, Topographic Drift, Warp Starfield
GlassLiquid Glass Card, Liquid Glass Lens
Static EffectsDecorative 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 VariableDefault Value
--godui-duration-fast150ms
--godui-duration-base260ms
--godui-duration-slow380ms

The shared easing utilities:

EasingUsage
ease-spring-snappyDialogs, menus, and popovers.
ease-spring-smoothDrawers and sheets.
ease-spring-bouncyButton presses and pop animations.
ease-out-expoExit 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 cursor

Restart Cursor and ask the agent to add a GodUI component to your project.

The MCP server exposes three tools:

ToolDescription
list_componentsLists components with optional category filtering.
search_componentsSearches for components using natural-language descriptions.
get_componentRetrieves component source code and installation commands.

Alternatives and Related Resources

Lucas Bassetti

Lucas Bassetti

Senior Full Stack Engineer with 10+ years of experience building scalable web and mobile products used by millions of users worldwide.

Leave a Reply

Your email address will not be published. Required fields are marked *