Fluid Carousel

Accessible touch-swipeable slide carousel with directional spring animations, keyboard arrow navigation, and pagination indicators.

Release checklist

Keep the final handoff focused on the few checks that prevent avoidable regressions.

v2.4 launch

Ready for the production window

3 of 3 clear
  • Database migration reviewed
  • Error states verified on mobile
  • Release notes shared with support

Example 1 of 3: Release checklist

Installation

Fluid Carousel is published as a shadcn registry item. The CLI drops the file into your project, installs its dependencies, and adds any primitives it relies on.

$npx shadcn@latest add https://akoder.xyz/r/carousel.json

Install often? Register the namespace once in components.json and use the shorter form npx shadcn@latest add @akoder/carousel.

Usage

import { Carousel, type CarouselItem } from "@/components/ui/carousel";
 
const updates: CarouselItem[] = [
  {
    id: "release-checklist",
    title: "Release checklist",
    description: "Keep the final handoff focused on the checks that prevent regressions.",
    content: (
      <ul className="rounded-md border divide-y divide-dashed">
        <li className="p-3">Database migration reviewed</li>
        <li className="p-3">Error states verified on mobile</li>
        <li className="p-3">Release notes shared with support</li>
      </ul>
    ),
  },
  {
    id: "handoff-brief",
    title: "Team handoff",
    description: "Package context, ownership, and the next action in one review card.",
    content: <div className="rounded-md border p-4">Design QA handoff</div>,
  },
];
 
export function ProductOperationsCarousel() {
  return <Carousel items={updates} ariaLabel="Product operations updates" />;
}

Props

PropTypeDefaultNotes
itemsCarouselItem[]requiredArray of slides (id, title, description?, content).
ariaLabelstring"Carousel"Accessible name for screen readers.
classNamestringAdditional styles applied to outer container.

CarouselItem Schema

export type CarouselItem = {
  id: string;
  title: string;
  description?: string;
  content: React.ReactNode;
};

Notes & Features

Manual installation

Copy components/ui/carousel.tsx into your project. Ensure motion is installed.

Examples

Explore different presets, palettes, and configurations.

Onboarding Steps

A concise sequence for setup flows where each task needs room for one decision.

STEP 02 / 03

Connect your repository

Pick the codebase to scan. You can change access later from workspace settings.

Example 1 of 3: Onboarding Steps