Components
Key Features
This is a default layout content slide with a title and body text.
Installation
$ pnpm dlx shadcn@latest add @slidecn/content-slide
Usage
import ContentSlide from "@/components/slides/content-slide";
function MyPresentation() {
return (
<Deck>
<ContentSlide title="Architecture" layout="split">
<div>Left content</div>
<div>Right content</div>
</ContentSlide>
</Deck>
);
}API Reference
ContentSlide
| Prop | Type | Default | Description |
|---|---|---|---|
title | string | - | Slide heading |
layout | "default" | "split" | "full-bleed" | "default" | Layout mode |
children | ReactNode | required | Slide content |
notes | string | - | Speaker notes |