# Tech Talk (/docs/blocks/tech-talk)

An 8-slide technical talk template with code examples and auto-animate transitions.

> For the complete documentation index, see [llms.txt](/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](/.well-known/agent-skills/site-skill.md).



<ComponentPreview name="tech-talk-demo" />

### Installation [#installation]

<CodeTabs>
  <TabsList>
    <TabsTrigger value="cli">
      Command
    </TabsTrigger>

    <TabsTrigger value="manual">
      Manual
    </TabsTrigger>
  </TabsList>

  <TabsContent value="cli">
    ```bash
    npx shadcn@latest add https://slidecn.dev/r/tech-talk.json
    ```
  </TabsContent>

  <TabsContent value="manual">
    <Steps>
      <Step>
        Install the following dependencies:
      </Step>

      ```bash
      npm install @revealjs/react reveal.js
      ```

      <Step>
        Copy the component source into your project.
      </Step>

      <ComponentSource src="registry/slidecn/blocks/tech-talk.tsx" title="components/slidecn/blocks/tech-talk.tsx" />

      <Step>
        Update the import paths to match your project setup.
      </Step>
    </Steps>
  </TabsContent>
</CodeTabs>

## Usage [#usage]

```tsx
import { Deck } from "@revealjs/react";
import { TechTalk } from "@/components/slides/blocks/tech-talk";

export function MyTechTalk() {
  return (
    <Deck>
      <TechTalk />
    </Deck>
  );
}
```

## Slides [#slides]

1. **Title** — Talk title and speaker info
2. **Agenda** — Animated agenda list
3. **Section** — Part I divider
4. **Problem** — Naive recursion with code
5. **Optimization** — Auto-animate code before/after
6. **Section** — Part II divider
7. **Results** — Benchmark with highlighted lines
8. **Thanks** — Q\&A with links
