Prestige UI: Animated UI Component & Block Library

A React UI component library for animated websites and dashboards, with interactive controls, cards, and premium page sections.

Prestige UI is a React UI component library that adds animated interactions and ready-made sections to landing pages, dashboards, and web apps.

Features

  • 40+ free components and blocks built with Tailwind CSS and Motion.
  • Motion-based transitions for loading, progress, success, and confirmation states.
  • Word-by-word text reveals, rotating headlines, and scroll-driven text effects.
  • Navigation bars with sliding active indicators, animated mega menus, and collapsible headers.
  • Responsive card layouts, interactive image previews, and expandable detail views.
  • Metric cards with animated line and bar charts and interactive data points.
  • Animated diagrams for product integrations and AI workflows.
  • Interactive backgrounds with pointer-responsive effects.

Use Cases

  • Create a SaaS launch page where visitors join a waitlist directly from an expanding call-to-action button.
  • Build an online store where shoppers browse product photos, select colors, and adjust quantities.
  • Set up a business dashboard with revenue trends, recent activity, and goal tracking.
  • Add a searchable AI model selector that displays capabilities and upgrade options for restricted models.

Free UI Components and Blocks

Use the following registry item names with the @prestige/ prefix.

CategoryRegistry Items
Buttonsshine-button, magnetic-button, social-login-button, async-button, waitlist-button, hold-to-confirm, slide-to-confirm, theme-toggle, star-button, follow-button, split-button, add-to-cart, copy-button, gradient-button, payment-button, interactive-button
Text Animationstext-reveal, scramble-text, rotating-words, scroll-fill, line-mask-reveal
Infinite Marqueeinfinite-marquee, marquee-rows
Navbarnavbar-pill, navbar-mega, navbar-condense, navbar-announce
Cardsmembership-card, contact-card, expandable-card, article-card, profile-card, product-card, instant-photo, stacking-cards, compare-card, testimonial-deck, stat-card, feature-card
Illustrationsillustration-orbit
Footerfooter-wordmark
Auth Sectionauth-otp
Call to Actioncta-bloom
Command Palettecommand-palette
Settingssettings-profile
Dashboarddashboard-overview
AI Blocksmodel-picker
Backgroundsbackground-ink

How to Use Prestige UI

1. Initialize shadcn/ui

Use React and Tailwind CSS v4 with Next.js App Router or Vite.

Initialize shadcn/ui:

npx shadcn@latest init

2. Install Components

Add the @prestige registry to your existing components.json configuration:

{
  "registries": {
    "@prestige": "https://prestigeui.com/r/{name}.json"
  }
}

Install the components for the examples below. The CLI writes editable TypeScript source to components/prestigeui/ and adds npm dependencies, shared helpers, and any required CSS.

npx shadcn@latest add @prestige/text-reveal
npx shadcn@latest add @prestige/async-button

For a one-off installation, use the full registry URL in a shadcn project:

npx shadcn@latest add https://prestigeui.com/r/gradient-button.json

3. Basic Usage: Animate a Headline

Text Reveal runs a word-by-word animation once when the heading enters the viewport. Set the HTML tag, initial delay, and Tailwind classes in app/page.tsx:

import { TextReveal } from "@/components/prestigeui/text-reveal";
export default function Page() {
  return (
    <main className="mx-auto max-w-4xl px-6 py-24">
      <TextReveal
        as="h1"
        text="Turn customer feedback into better products"
        delay={0.2}
        className="text-4xl font-semibold"
      />
    </main>
  );
}

4. Advanced Example: Save Preferences with Async Button

Pass an asynchronous save function to Async Button. It disables further clicks during the request, displays a spinner for longer requests, and shows a check mark after a successful save.

A rejected promise resets the button to idle. Display a save error in your client-side settings screen by wrapping your existing save function:

"use client";
import { useState } from "react";
import { AsyncButton } from "@/components/prestigeui/async-button";
export function SavePreferencesButton({
  savePreferences,
}: {
  savePreferences: () => Promise<void>;
}) {
  const [error, setError] = useState("");
  async function save() {
    setError("");
    try {
      await savePreferences();
    } catch (err) {
      setError("Could not save your preferences.");
      throw err;
    }
  }
  return (
    <div className="space-y-2">
      <AsyncButton
        type="button"
        action={save}
        loadingDelay={150}
        successDuration={1800}
      >
        Save preferences
      </AsyncButton>
      {error && <p role="alert">{error}</p>}
    </div>
  );
}

5. Manual Installation

To use the GitHub source directly in a project with shadcn theme tokens, install the shared dependencies:

npm install clsx lucide-react motion tailwind-merge
  • Copy the selected TSX files from components/prestigeui/ and keep their imported helper files. For example, Auth OTP needs auth-ui.tsx and Model Picker needs ai-ui.tsx.
  • Copy lib/utils.ts if your project does not already have the shadcn cn() helper.
  • Set the @/ alias to the directory that contains your components/ and lib/ folders.
  • Add the contents of styles/prestigeui.css to your global Tailwind stylesheet for Shine Button and the basic Infinite Marquee.

Styling and Customization

Prestige UI uses shadcn theme colors. Edit your existing CSS variables, such as --background, --foreground, --primary, --border, and --muted, to match your app.

The registry setup adds Outfit and Instrument Serif for display typography and preserves your existing body font. Use font-outfit for display headings.

  • Change the Tailwind classes in the component files to adjust padding, spacing, dimensions, and layout.
  • Edit Motion transition values to customize animation duration, delay, and easing.
  • Edit components/prestigeui/prestige-brand.tsx to replace the placeholder logo in components that import it.

Alternatives and Related Resources

vora-aryan

vora-aryan

A Full Stack Web Development enthusiast.

Leave a Reply

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