For the complete documentation index, see llms.txt. Markdown variants are available by appending .md to any URL or sending an Accept: text/markdown header. An agent skill is available at /.well-known/agent-skills/site-skill.md.
0
Sponsor

Comparison Slide

A side-by-side comparison slide with columns or table variant.

Before vs After

Before
Manual process
No automation
After
Automated flow
Real-time sync

Installation

$ pnpm dlx shadcn@latest add @slidecn/comparison-slide

Usage

import ComparisonSlide from "@/components/slides/comparison-slide";
 
function MyPresentation() {
  return (
    <Deck>
      <ComparisonSlide
        title="Framework Comparison"
        variant="table"
        left={{
          label: "Framework A",
          items: ["Feature X", "Feature Y", "Feature Z"],
        }}
        right={{
          label: "Framework B",
          items: ["Feature X", "Feature Y"],
          color: "red",
        }}
      />
    </Deck>
  );
}

API Reference

ComparisonSlide

PropTypeDefaultDescription
titlestring-Slide heading
leftComparisonColumnrequiredLeft column data
rightComparisonColumnrequiredRight column data
variant"columns" | "table""columns"Display variant
notesstring-Speaker notes

ComparisonColumn

FieldTypeDescription
labelstringColumn header
itemsstring[]List entries
color"default" | "green" | "red"Header color