Avara UI: 200+ Animated UI Component Library for Next.js/React

A React/Next.js UI component library with interactive page sections, dashboards, and a theme customizer for light and dark UI.

Avara UI is a free, open-source React UI component library that adds animated website sections, interactive controls, and full app layouts to your Next.js and Vite projects.

Use it to create modern landing pages, storefronts, and dashboards from 200+ UI components and blocks.

Features

  • CSS animations for entrances, hover effects, and decorative motion.
  • GSAP and Motion variants for selected scroll, drag, and pointer interactions.
  • Radix UI primitives for dialogs, accordions, selects, and other standard controls.
  • 14 light and dark theme presets with editable colors, fonts, and border radii.
  • Open in v0 for component examples with your selected theme.
  • shadcn MCP server integration and installable skills for AI coding assistants.

Use Cases

  • Build a SaaS product site with hero and pricing sections. Use the authentication forms and sidebar layouts for the app UI.
  • Create an analytics dashboard with sortable data tables, charts, an activity timeline, and an interactive network graph.
  • Assemble a storefront with product detail screens, image galleries, and a shopping cart drawer.
  • Prototype an AI chat application with a prompt composer, conversation timeline, and chat bubbles.

How to Use It

1. Prepare your React project

Next.js App Router

Create a TypeScript project with Tailwind CSS if you are starting from scratch:

npx create-next-app@latest avara-app --typescript --tailwind --app
cd avara-app

For an existing Next.js project, confirm that Tailwind CSS v4 is configured with its PostCSS plugin.

React + Vite

Create a React TypeScript project and install Tailwind’s Vite integration:

npm create vite@latest avara-app -- --template react-ts
cd avara-app
npm install
npm install tailwindcss @tailwindcss/vite

For an existing Vite app, install the Tailwind packages if needed. Add the Tailwind plugin and the @ alias to vite.config.ts:

import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import tailwindcss from "@tailwindcss/vite";
import { fileURLToPath, URL } from "node:url";
export default defineConfig({
  plugins: [react(), tailwindcss()],
  resolve: {
    alias: {
      "@": fileURLToPath(new URL("./src", import.meta.url)),
    },
  },
});

In a new Vite project, replace the starter styles in src/index.css with the Tailwind import. Remove src/App.css and its import in src/App.tsx. Keep the index.css import in src/main.tsx.

@import "tailwindcss";

Add this property inside compilerOptions in both tsconfig.json and tsconfig.app.json so TypeScript resolves the alias:

{
  "paths": {
    "@/*": ["./src/*"]
  }
}

2. Initialize shadcn/ui and add the registry

From your project directory, initialize shadcn/ui with the Radix base.

npx shadcn@latest init --base radix --preset nova

For Vite, the CLI sets rsc to false in components.json. In Next.js, confirm that @/* resolves to your project root or src/. In both frameworks, set tailwind.css in components.json to the path of your global stylesheet.

Register Avara UI to install components by name:

npx shadcn@latest registry add @avara-ui=https://avaraui.com/r/{name}.json

To configure the registry manually, merge the following entry into your existing components.json:

{
  "registries": {
    "@avara-ui": "https://avaraui.com/r/{name}.json"
  }
}

List registry items or search for a specific type of component:

npx shadcn@latest list @avara-ui
npx shadcn@latest search @avara-ui --query pricing

3. Choose a theme

Open the Avara UI theme customizer. Select a preset or adjust the palette, font, and border radius. Use Copy Code to export your custom theme.

Copy the generated CSS into your global stylesheet below the Tailwind import. To customize the light palette later, edit the tokens in :root. Edit the corresponding tokens in .dark for dark mode.

For example, these values specify the primary color, its text color, and the base border radius:

:root {
  --primary: oklch(0.53 0.15 155);
  --primary-foreground: oklch(0.98 0 0);
  --radius: 0.75rem;
}

4. Install components

Install a responsive navbar and a clipboard button:

npx shadcn@latest add @avara-ui/navbar @avara-ui/copy-button

For a one-off installation, use the component’s URL and skip registry registration:

npx shadcn@latest add https://avaraui.com/r/navbar.json

The shadcn CLI installs each component’s npm dependencies, including lucide-react for the navbar, and any required registry files such as Button and animated icons.

FilePurpose
components/custom/blocks/NavbarBlock.tsxNavbar layouts, navigation links, and mobile menu
components/custom/blocks/navbar-theme.tsNavbar color settings
components/custom/blocks/CopyButtonBlock.tsxCopyButton and CopyField components
components/custom/blocks/copy-button-hooks.tsClipboard logic and copy status
lib/utils.tsShared cn() class name utility

5. Basic usage: Add a responsive navbar

Use the spotlight variant for a sticky header that shrinks as you scroll. Edit the NAV_LINKS array, logo link, and call-to-action link in NavbarBlock.tsx to match your site’s routes.

In Next.js, create components/site-header.tsx as a Client Component. Pass Next.js Link for client-side navigation.

"use client";
import Link from "next/link";
import { NavbarBlock } from "@/components/custom/blocks/NavbarBlock";
export default function SiteHeader() {
  return (
    <NavbarBlock
      variant="spotlight"
      logoText="Northwind Studio"
      color="primary"
      linkComponent={Link}
    />
  );
}

Import the header into app/page.tsx (or src/app/page.tsx). Use the root layout if the header belongs on every page. Run npm run dev to preview the navigation.

import SiteHeader from "@/components/site-header";
export default function HomePage() {
  return (
    <>
      <SiteHeader />
      {/* Use a tall page to demonstrate the scroll behavior. */}
      <main className="mx-auto min-h-[150vh] max-w-5xl px-6 py-16">
        <h1 className="text-4xl font-bold">Northwind Studio</h1>
      </main>
    </>
  );
}

In a Vite app, import NavbarBlock directly into src/App.tsx and run npm run dev. The component uses an HTML anchor by default.

import { NavbarBlock } from "@/components/custom/blocks/NavbarBlock";
export default function App() {
  return (
    <NavbarBlock
      variant="minimal"
      logoText="Northwind Studio"
      color="indigo"
    />
  );
}

6. Advanced example: Copy an invitation link

Add CopyButton to a team settings page. Save this example as app/invite/page.tsx (or src/app/invite/page.tsx) in Next.js. For Vite, place it in src/App.tsx.

"use client";
import { CopyButton } from "@/components/custom/blocks/CopyButtonBlock";
export default function InvitePage() {
  // Replace this example URL with the team's actual invitation link.
  const inviteUrl = "https://example.com/invite/northwind";
  return (
    <div className="flex items-center gap-3">
      <code className="min-w-0 truncate text-sm">{inviteUrl}</code>
      {/* Display success or error feedback for 2.5 seconds. */}
      <CopyButton
        value={inviteUrl}
        label="Copy invite"
        copiedLabel="Invite copied"
        errorLabel="Copy failed"
        variant="soft"
        color="primary"
        timeout={2500}
      />
    </div>
  );
}

7. Install components with an AI coding assistant

You can search the registry and add its components from an MCP-compatible coding assistant. For Claude Code, run this command in the project where you registered Avara UI:

npx shadcn@latest mcp init --client claude

Restart Claude Code and enter /mcp to check the connection. Include the registry name in your prompt:

Add a pricing section and footer from @avara-ui to my landing page.

Install the optional agent skill to add instructions for component selection, API lookup, and theme tokens to .claude/skills/avara-ui/. Start a new Claude Code session after installation.

npx shadcn@latest add @avara-ui/agent-skill

Available UI Components and Sections

UI Components

  • Buttons & Actions: Modern Buttons, Copy Button, Floating ContactButton, Kbd, Social Links, Theme Switcher, Toggle, Toggle Group, Verify Badge.
  • Forms & Inputs: Booking Card, Calendar, Color Picker, Date Picker, File Upload, Form, Half Stars, Input, OTP Input, Range Date Picker, Select, Split Scroll Stepper, Split Stepper, Stepper, Wizard.
  • Navigation & Menus: Breadcrumb, Command, ContextMenu, Conversation Timeline, Dock, Menubar, Navigation, Pagination, Table of Contents, Tabs.
  • Overlays & Feedback: Alert, Dialog, Drawer, Loader, Modal, Popover, Progress, Skeleton, Sonner, Toast, Tooltip.
  • Layout & Containers: Accordion, Collapsible, Glass Panel, Item, Magic Bento, Masonry Grid, Mobile Mockups, Resizable, Scroll Area.
  • Cards & Stacks: Book Flip, Card, Card Stack, Components Folder, Draggable Card List, Folder, Memories Card, Scroll Split Cards, Scroll Stack, Secure Envelope, Tilted Card, Wallet.
  • Data Display: Animated Timeline, Api Playground, Avatar Stack, Counter, Custom Code Block, Data Grid, Data Table, Invoice, QR Code, Radial Orbital Timeline, Split-Flap Display, Table, Tech Stack, Terminal, Timeline.
  • Charts, Maps & Graphs: Agent Graph, Chart, Data Maps, Flowchart, Infrastructure Topology, Map, Network Graph, User Graph.
  • Media & Carousels: Audio Player, Carousel, Flow Gallery, Gallery, Image Compare, Image Wall, Marquee, Video Accordion, Video Player.
  • Apps & Messaging: Ai-Chat, Cart, Chat, Chat Bubble, Mails, Playable Piano.
  • Text & Effects: Animated List, Animated Number, Animated Typography, Apple Select, Circular Text, Cursor Animation, Heart Signal, Particle Canvas, Selection Frame, Text Animation.
  • More Components: Action Button, Brand Bridge, Command Palette, Designs Toolkit, Curved Carousel, Falling Tags, Guest Morph, Live Pulse Pill, Modern Scroll Stack, Profile Card, Radio Button, Ribbon Drift, Squircle Carousel, Voice Note.

Website Sections

  • Hero Sections: Component Wall, Portfolio Showcase, Flavour Carousel, Hero.
  • Marketing Sections: Bento Showcase, Counter Section, CTA Section, Data Flow, FAQ Section, Platform Grid, Pricing Section, Review Section, Newsletter, Waitlist.
  • Headers & Footers: Footer, Navbar, Sidebar Section.
  • Pages & App Screens: Image Viewer, Auth Forms, Book Appointment, Dashboard, Product Details, Profile Page, Support Dashboard.
  • More Sections: Arc Process, Error, Not Found, Hover Peek, Top Destinations.

Alternatives and Related Resources

AlgorizeTech

AlgorizeTech

Scalable SaaS & AI product engineering for startups and agencies

Leave a Reply

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