npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

slidev-theme-prismatic

v0.0.1

Published

A colorful, card-based theme for Slidev.

Readme

slidev-theme-prismatic

A colorful, card-based theme for Slidev.

Live demo: https://nixfo.github.io/slidev-theme-prismatic

Install

Add the following frontmatter to your slides.md. Start Slidev then it will prompt you to install the theme automatically.

Learn more about how to use a theme.

Layouts

This theme provides the following layouts:

intro

Introduction slide with title, author, date and event information

---
theme: prismatic
title: How to make a <span class="title-highlight">Slidev</span> <span class="title-accent">theme?</span>
subtitle: PowerPoint is now an old pain
author: Author
date: Date
event: Event or conference
layout: intro
---

::logo::
<img src="/slidev-logo.png" class="h-12" />

::footer::
<div class="text-sm opacity-50">Footer placeholder</div>

Intro layout light Intro layout dark

card-grid

Grid layout optimized for ContentCard components

---
layout: card-grid
cols: 2
gap: 6
title: Card-grid Layout (2 cols, gap 6)
---

<ContentCard v-click color="blue" icon="i-carbon:cloud">

### Maximum Flexibility
Complete customization based on your needs

</ContentCard>

<ContentCard v-click color="teal" icon="i-carbon:security">

### Enhanced Security
Data protection at all levels

</ContentCard>

<ContentCard v-click color="amber" icon="i-carbon:currency">

### Optimized Costs
Significant reduction in expenses

</ContentCard>

<ContentCard v-click color="rose" icon="i-carbon:chart-line">

### Performance
Continuous improvement of key indicators

</ContentCard>

card-grid layout light card-grid layout dark

interactive-content

Two-column interactive layout with selection and dynamic content

---
layout: interactive-content
title: Interactive Content Layout (interactive-content)
---

::selection::
<div class="flex flex-col gap-4">
  <ContentCard 
    v-for="(item, index) in ['Features', 'Customization', 'Development']" 
    :key="index"
    :color="['blue', 'red', 'green'][index]"
    :icon="['i-carbon:idea', 'i-carbon:paint-brush', 'i-carbon:code'][index]"
    :title="item"
    @click="activeSection = index"
    :class="[
      'transition-all duration-300',
      activeSection === index 
        ? `scale-105 opacity-100 border-l-4 border-${['blue', 'red', 'green'][index]}-500` 
        : 'scale-100 opacity-80 border-l-4 border-transparent'
    ]"
  />
</div>


::content::
<div v-if="activeSection === null" class="flex flex-col items-center justify-center h-full text-gray-400 dark:text-gray-500">
  <div class="i-carbon:touch-interaction text-4xl mb-4"></div>
  <p class="text-xl">Select an item from the left to view its details</p>
</div>
<ContentCard v-else :color="['blue', 'red', 'green'][activeSection]" class="p-4 h-full">
  <div v-if="activeSection === 0">
    <h3>Slidev Core Features</h3>
    <p>Slidev comes with powerful features built for developers:</p>
    <ul>
      <li>Markdown-based slide authoring</li>
      <li>Support for Vue components</li>
      <li>Code highlighting with Prism or Shiki</li>
      <li>LaTeX equation rendering</li>
      <li>Integrated presenter mode</li>
    </ul>
  </div>
  [...]
</ContentCard>

<script setup>
import { ref } from 'vue'
const activeSection = ref(null)
</script>

interactive-content layout light interactive-content layout dark

Components

This theme provides the following components:

<ContentCard />

This component displays a content card with a colored background

<ContentCard v-click color="rose" icon="i-carbon:idea" title="Title of the content card">
Content of the card
</ContentCard>

<Alert />

This utility component displays contextual callouts.

Supported types: success, tip, info, warning, danger.

<Alert type="tip">
Use <code>v-click</code> to reveal one idea at a time.
</Alert>

Props:

  • type (default: info)
  • icon (optional, accepts Uno icon classes like i-carbon:idea)

Alert component light Alert component dark

Utilities

Utilities components light Utilities components dark

Contributing

  • npm install
  • npm run dev to start theme preview of example.md
  • Edit the example.md and style to see the changes
  • npm run export to generate the preview PDF
  • npm run screenshot to generate the preview PNG