Components
First Stacked Slide
Second Stacked Slide
Installation
$ pnpm dlx shadcn@latest add @slidecn/stack-reveal
Usage
import StackReveal from "@/components/slides/stack-reveal";
function MyPresentation() {
return (
<Deck>
<StackReveal className="gap-4">
<Slide>First stacked slide</Slide>
<Slide>Second stacked slide</Slide>
</StackReveal>
</Deck>
);
}API Reference
StackReveal
| Prop | Type | Default | Description |
|---|---|---|---|
className | string | - | Additional CSS classes |
style | CSSProperties | - | Inline styles |
children | ReactNode | - | Stack content |