slidev-components

slidev-components is a skill for Claude Code from yoanbernabeu/slidev-skills. It costs 29 tokens per session (2,703 once invoked), scanned A, original, MIT.

A Slidev skill for using Vue components inside presentations. Vue components are reusable pieces of interface that can display content, respond to input, or update dynamically.

In plain words
What is it for?
Use it to add built-in elements such as arrows and auto-fitting text, or create custom components for counters, interactive demonstrations, and dynamic content.
Why use it?
It lets you add interactive or changing content instead of limiting slides to static text and images. Reusable components can also reduce repeated slide code.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the slidev-content plugin — 3 skills shipped together , and of slidev-complete

Good fit Use it to add built-in elements such as arrows and auto-fitting text, or create custom components for counters, interactive demonstrations, and dynamic content.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yoanbernabeu/slidev-skills/slidev-components
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add yoanbernabeu/slidev-skills --skill slidev-components
Clone the repo
git clone --depth 1 https://github.com/yoanbernabeu/slidev-skills

Made for: Claude Code.

Or install slidev-content, the plugin that ships this one along with the rest of its 3 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for slidev-components

README.md
[![agentmods](https://agentmods.dev/badge/skills/yoanbernabeu/slidev-skills/slidev-components/github.svg)](https://agentmods.dev/skills/yoanbernabeu/slidev-skills/slidev-components)
Your own site
<a href="https://agentmods.dev/skills/yoanbernabeu/slidev-skills/slidev-components"><img src="https://agentmods.dev/badge/skills/yoanbernabeu/slidev-skills/slidev-components/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for slidev-components

Your own site · 80×15
<a href="https://agentmods.dev/skills/yoanbernabeu/slidev-skills/slidev-components"><img src="https://agentmods.dev/badge/skills/yoanbernabeu/slidev-skills/slidev-components.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,703 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00029 $0.02703
Opus 5.5 $0.00012 $0.01081
Sonnet 5.5 $0.00006 $0.00541
Haiku 4.5 $0.00003 $0.00270

Measured 2mo ago against content hash 1255da4bbfb4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

slidev-components scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/content/slidev-components/SKILL.md · 605 lines

How it starts

The opening of the file, as written. The whole thing — 605 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Slidev Components

This skill covers using Vue components in Slidev, including all built-in components and how to create custom interactive elements for your presentations.

When to Use This Skill

  • Adding interactive elements to slides
  • Using built-in Slidev components
  • Creating custom Vue components
  • Building reusable presentation elements
  • Adding dynamic content

Using Components

Components can be used directly in Markdown:

# My Slide

<MyComponent />

<Counter :start="5" />

Built-in Components

Arrow

Draws an arrow between points.

<Arrow x1="10" y1="20" x2="100" y2="200" />

<Arrow
  x1="10"
  y1="20"
  x2="100"
  y2="200"
  color="#f00"
  width="3"
/>

Props:

  • x1, y1: Start coordinates
  • x2, y2: End coordinates
  • color: Arrow color
  • width: Line width

VDragArrow

Draggable arrow (useful for presentations).

<VDragArrow />

AutoFitText

Automatically adjusts font size to fit container.

<AutoFitText :max="200" :min="50" modelValue="My Text" />

Props:

  • max: Maximum font size
  • min: Minimum font size
  • modelValue: Text content

LightOrDark

Renders different content based on theme.

<LightOrDark>
  <template #light>
    <img src="/logo-dark.png" />
  </template>
  <template #dark>
    <img src="/logo-light.png" />
  </template>
</LightOrDark>

Link

Navigation link to other slides.

<Link to="42">Go to slide 42</Link>

<Link to="/intro">Go to intro</Link>

SlideCurrentNo / SlidesTotal

Display slide numbers.

Slide <SlideCurrentNo /> of <SlidesTotal />

Toc (Table of Contents)

Generates a table of contents.

<Toc />

<Toc maxDepth="2" />

<Toc mode="onlyCurrentTree" />

Props:

  • maxDepth: Maximum heading depth
  • mode: Display mode (all, onlyCurrentTree, onlySiblings)

Transform

Applies CSS transforms.

<Transform :scale="1.5">
  <div>Scaled content</div>
</Transform>

<Transform :scale="0.8" :rotate="10">
  Rotated and scaled
</Transform>

Read the full file on GitHub · 605 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 605 lines · 29 tokens per session scan A 1255da4bbfb4

Subscribe to this mod's changes

slidev-components is a skill published in the GitHub repository yoanbernabeu/slidev-skills (41 stars, last pushed 9mo ago), licensed MIT. It adds 29 tokens to every session and 2,703 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

slidev-components compared with skills from other repositories

slidev-components next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
slidev-componentsyoanbernabeu/slidev-skillsSkill419mo agoMITA29Claude Code
shadcn-sveltevercel-labs/json-renderSkill19kyesterdayApache-2.0A63Claude Code, Codex
add-localizationmicrosoft/power-platform-skillsSkill1.1kyesterdayMITA69Claude Code
vue-router-best-practicesvuejs-ai/skillsSkill3.3k14d agoMITA25Claude Code, Codex
moai-domain-uiuxmodu-ai/moai-adkSkill1.3k4d agoApache-2.0A49Claude Code
moai-domain-frontendmodu-ai/moai-adkSkill1.3k4d agoApache-2.0A54Claude Code
frontend-conventionsfpindej/netrockSkill2354d agoMITA27Claude Code