Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@kuidjamarco/slide-deck

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kuidjamarco/slide-deck

## Overview Slide Deck is a lightweight, optimized slide presentation library designed for limited internet access environments. It provides a simple Markdown-based slide system with horizontal and vertical navigation, similar to Reveal.js but with minima

latest
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

Light Slide Deck

Overview

Slide Deck is a lightweight, optimized slide presentation library designed for limited internet access environments. It provides a simple Markdown-based slide system with horizontal and vertical navigation, similar to Reveal.js but with minimal dependencies.

Features

  • Markdown Support: Write slides using Markdown for easy content formatting.
  • Horizontal & Vertical Navigation: Navigate slides using arrow keys or navigation buttons.
  • Keyboard Shortcuts: Move through slides with ArrowUp, ArrowDown, ArrowLeft, and ArrowRight.
  • Customizable Navigation: Option to enable or disable navigation buttons.
  • Optimized for Performance: Designed to be lightweight and fast for low-bandwidth environments.

Installation

To install the package, run:

npm install @kuidjamarco/slide-deck

or using yarn:

yarn add @kuidjamarco/slide-deck

Usage

Import and use the SlideDeck component in your React project:

import React from 'react';
import SlideDeck from '@kuidjamarco/slide-deck';
import 'tailwindcss/tailwind.css'

const slides = [
  ['# Welcome to Light Slide Deck'],
  ['## Slide 1', 'Some content here'],
  ['## Slide 2', 'More details'],
];

const App = () => {
  return <SlideDeck slides={slides} showNavigation={true} />;
};

export default App;

Props

Prop NameTypeDefaultDescription
slidesstring[][][]Array of slides, each containing Markdown content.

Keyboard Shortcuts

  • Left Arrow (◀︎): Previous horizontal slide
  • Right Arrow (▶︎): Next horizontal slide
  • Up Arrow (▲): Previous vertical slide
  • Down Arrow (▼): Next vertical slide

License

MIT License. See LICENSE for details.

FAQs

Package last updated on 24 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts