Components
Chapter 1
Getting Started
Everything you need to build beautiful slides
Jane Smith·2024
Installation
$ pnpm dlx shadcn@latest add @slidecn/title-slide
Usage
import TitleSlide from "@/components/slides/title-slide";
function MyPresentation() {
return (
<Deck>
<TitleSlide
eyebrow="Pitch Deck"
title="Acme Corp"
subtitle="The future of X"
author="Jane Smith"
date="2024"
align="center"
notes="Welcome everyone!"
/>
</Deck>
);
}API Reference
TitleSlide
| Prop | Type | Default | Description |
|---|---|---|---|
eyebrow | string | - | Small uppercase label above the title |
title | string | required | Main heading text |
subtitle | string | - | Subtitle below the title |
author | string | - | Author name displayed at bottom |
date | string | - | Date displayed at bottom |
align | "center" | "left" | "center" | Content alignment |
notes | string | - | Speaker notes |