Cojeev UI: 170+ Animated React UI Components for shadcn/ui

Create AI chat screens, KPI dashboards, and bento layouts with optional 3D scenes and individually installable React components.

Cojeev UI is a React UI component registry for animated product UIs built with shadcn/ui and Tailwind CSS 4.

The 170+ UI components use organic shapes and adjustable motion, and you can install each one as editable TypeScript source through shadcn.

Features

  • Rubber sliders, drag-to-close drawers, interlocking bento grids, and animated navigation.
  • 9 motion presets with adjustable speed and intensity, plus Motion Off and reduced-motion behavior.
  • 6 color palettes, light and dark modes, and adjustable text contrast.
  • 1,700+ Lucide-based icons with outline, duotone, and organic treatments.
  • Shape Studio for reusable SVG artwork and React shape components.
  • Charts, AI conversation components, animated typography, backgrounds, and optional Three.js graphics.
  • Local component source, theme tokens, and component-specific CSS through the shadcn registry.

Use Cases

  • Application dashboards: Present activity feeds, KPI charts, navigation docks, and resizable panels in a workspace.
  • AI chat screens: Display agent progress, messages, attachments, and scrolling conversations.
  • Settings and forms: Let people adjust numeric preferences, pick dates, upload files, and open draggable panels.
  • Portfolio and product pages: Create bento layouts, animated headlines, galleries, and atmospheric page backgrounds.

How To Use It

1. Set Up shadcn/ui

Run the initializer if your project does not already have shadcn configured. Check that components.json has working @/ aliases for components, ui, and utils.

npx shadcn@latest init

2. Basic Usage: Install the Button Component

Install the Button through Cojeev’s registry. The entry declares its own dependencies, shared foundation files, and component CSS.

npx shadcn@latest add https://cojeev.com/ui/r/button.json

3. Use the Button Component

Import the installed component from your @/components/ui alias. This example renders a navigation link as a Cojeev Button:

import { Button } from "@/components/ui/button";
export function WorkspaceLink() {
  return (
    <Button asChild variant="accent">
      <a href="/dashboard">Open workspace</a>
    </Button>
  );
}

4. More Example: Build an Elastic Volume Slider

The Slider has organic, rubber, line, and segmented appearances. Install it for a settings panel and use value with onValueChange for controlled input.

In Next.js App Router, put this stateful example in a Client Component.

npx shadcn@latest add https://cojeev.com/ui/r/slider.json
"use client";
import { useState } from "react";
import {
  Slider,
  SliderWrapper,
  SliderRow,
  SliderOutput,
} from "@/components/ui/slider";
export function NotificationVolume() {
  const [volume, setVolume] = useState([40]);
  return (
    <SliderWrapper>
      <SliderRow>
        <span>Notification volume</span>
        <SliderOutput>{volume[0]}%</SliderOutput>
      </SliderRow>
      <Slider
        appearance="rubber"
        min={0}
        max={100}
        step={5}
        value={volume}
        onValueChange={setVolume}
        thumbLabel="Notification volume"
      />
    </SliderWrapper>
  );
}

5. Configure an Optional Registry Alias

For shorter commands, merge the registries entry into your existing components.json. Preserve the current shadcn settings and aliases.

{
  "registries": {
    "@cojeev": "https://cojeev.com/ui/r/{name}.json"
  }
}
npx shadcn@latest add @cojeev/motion-drawer

Available UI Components

CategoryComponents
ActionsButton, Button Group, Dropdown Menu, Toggle, Hero Button
FormsSlider, Date Picker, Combobox, Dropzone, Multi-select, Input OTP
NavigationDock, Sidebar, Tabs, Breadcrumb, Navigation Menu
FeedbackAlert, Toast, Loading, Progress, Skeleton, Empty
Charts and dataArea Chart, Bar Chart, Radar Chart, Tables, Tree, Activity Feed
LayoutBento Grid, Bento Builder, Motion Drawer, Resizable, Swapy, Dialog
AI conversationAgent Chat, Agent State, Message, Attachment, Message Scroller
CompositionsCompact Dashboard, Focus Session, Profile Card, Conversation Panel
TypographySemantic Bloom, Particle Text, Text Reveal, Word Relay, Animated Number
BackgroundsContour Field, Pigment Field, Magic Rings, Pebbles Background
3DGlass Sculpture, Ink Sculpture, Particle Sculpture, Sculpture Orbit
EffectsAnimated Icon, Click Spark, Pixel Swap, Presence, Scroll Expand
CreativeAccordion Gallery, Image Masking, Infinite Spiral, Orbit Images
ToolsIcon Library, Shape Studio, Appearance, Command, Motion Adjuster

Theming

Cojeev’s foundation installs semantic colors, CSS, and bundled fonts. Keep the installed styles in your application’s global CSS alongside Tailwind.

Set data-mode on the root element in client-side theme code to switch between light and dark:

document.documentElement.dataset.mode = "dark";
// Use "light" to switch back.

For a palette and contrast picker, install Appearance and wrap the controls in AppearanceProvider. The component persists appearance preferences in local storage.

The font utilities font-cojeev-text and font-cojeev-display are available for explicit typography choices.

npx shadcn@latest add https://cojeev.com/ui/r/appearance.json

Alternatives and Related Resources

luv-jeri

luv-jeri

Leave a Reply

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