Carregando…
Carregando…
Carregando…Horizontal card carousel where clicking a card opens it in a full-screen modal with a shared layout transition — adapted from Aceternity UI.
$ npx kikitocn add apple-cards-carousel@/lib/utilsmotionimport { AppleCardsCarousel } from "@/components/ui/cn/apple-cards-carousel/AppleCardsCarousel";
export function AppleCardsCarouselExample() {
return (
<AppleCardsCarousel />
);
}| Prop | Tipo | Padrão | Descrição |
|---|---|---|---|
items* | React.ReactNode[] | — | Cards já renderizados (<Card card={...} index={i} />) |
initialScroll | number | 0 | Scroll horizontal inicial em px |
layout | boolean | false | Card: transição de layout compartilhada card ↔ modal |
Apple Cards Carousel — clique num card pra abrir em tela cheia