Component Categories
Layout Components
Full-screen containers and column layouts for structuring your slides
Typography
Titles, subtitles, badges, and notes for text content
Content Components
Code blocks, lists, and interactive demos
Structured Components
Statement lists and speaker cards for organized information
Navigation
Links for navigating between slides and external pages
Design Philosophy
All components follow these principles:- Theme inheritance — Components use CSS variables (
--foreground,--background, etc.) compatible with shadcn/ui and Tailwind v4 - Responsive by default — Text scales across breakpoints, layouts adapt to screen size
- Composable — Mix and match primitives to build custom slide designs
- Accessible — Semantic HTML with proper ARIA attributes
Basic Usage
Import components fromnextjs-slides:
Styling
All components accept aclassName prop for custom styling. Override the responsive defaults when needed:
Next Steps
Explore each component category to learn about props, usage patterns, and examples:- Layout Components —
Slide,SlideColumns,SlideSplitLayout - Typography — Headings, badges, and notes
- Content Components — Code, lists, and demos
- Structured Components — Statements and speakers
- Navigation — Links and routing