๐ŸŽฏ Nexus teaches Next.js from foundations to professional systemsโ€ขโšก App Router, React 19, and Tailwind v4 in one learning pathโ€ข๐Ÿงฉ Inspect real components, layouts, and reusable patternsโ€ข๐Ÿ› ๏ธ Build production discipline, not just polished demosโ€ข๐Ÿ“š Tracks, references, and design studies in one placeโ€ข๐ŸŽฏ Nexus teaches Next.js from foundations to professional systemsโ€ขโšก App Router, React 19, and Tailwind v4 in one learning pathโ€ข๐Ÿงฉ Inspect real components, layouts, and reusable patternsโ€ข๐Ÿ› ๏ธ Build production discipline, not just polished demosโ€ข๐Ÿ“š Tracks, references, and design studies in one placeโ€ข๐ŸŽฏ Nexus teaches Next.js from foundations to professional systemsโ€ขโšก App Router, React 19, and Tailwind v4 in one learning pathโ€ข๐Ÿงฉ Inspect real components, layouts, and reusable patternsโ€ข๐Ÿ› ๏ธ Build production discipline, not just polished demosโ€ข๐Ÿ“š Tracks, references, and design studies in one placeโ€ข๐ŸŽฏ Nexus teaches Next.js from foundations to professional systemsโ€ขโšก App Router, React 19, and Tailwind v4 in one learning pathโ€ข๐Ÿงฉ Inspect real components, layouts, and reusable patternsโ€ข๐Ÿ› ๏ธ Build production discipline, not just polished demosโ€ข๐Ÿ“š Tracks, references, and design studies in one placeโ€ข
UI Components

Accordion

Expandable accordion component with single-item expansion

Quick Preview

Next.js is a React framework for building full-stack web applications. It provides features like server-side rendering, static site generation, and API routes.

Installation

// Copy the Accordion component from
src/components/ui/Accordion.tsx
// Install dependencies
npm install lucide-react

Usage

import { Accordion } from '@/components/ui/Accordion'
const faqItems = [
{
question: "What is Next.js?",
answer: "Next.js is a React framework...",
category: "general"
},
// ... more items
]
export default function MyComponent() {
return <Accordion items={faqItems} />
}

Examples

Basic Accordion

Simple accordion with FAQ items

Next.js is a React framework for building full-stack web applications. It provides features like server-side rendering, static site generation, and API routes.

With Category Filter

Filter items by category

Next.js is a React framework for building full-stack web applications. It provides features like server-side rendering, static site generation, and API routes.

Prompt Preview

Copy a prompt that recreates this UI

Paste this into your AI coding assistant to generate code that closely matches the reference, including color, size, shape, typography, spacing, and polish.

Copy-ready AI prompt

Starts from the current visual reference and project constraints.

Tweak only product-specific copy or data after the first generation pass.

Props

PropTypeDefaultDescription
items*FAQItem[]-Array of accordion items with question and answer
category"general" | "account"-Optional category filter

FAQItem Type

interface FAQItem {
question: string
answer: string
category: "general" | "account"
}

Features

  • โœ“Single-item expansion (radio-style)
  • โœ“Animated chevron rotation
  • โœ“Optional category filtering
  • โœ“First item open by default
  • โœ“Client-side interactivity