✨ Add Accordion and Modal components

Accordion.Item manages its own open state with aria-expanded wiring.
Modal renders through a portal with backdrop click handling. Also adds
the ChevronDown icon used by the accordion header.
This commit is contained in:
Aksel Mini committed 2026-08-21 15:10:00 +02:00
1 parent bb9501ea31
commit adfcead7be
13 files changed
+389 -1

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
type ClassValue = string | false | null | undefined;
type ClassValue = string | number | false | null | undefined;
export function cn(...classes: ClassValue[]): string {
return classes.filter(Boolean).join(" ");