Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-present

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-present

A simple, lightweight framework for creating presentations quickly using React components for slides.

  • 0.2.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
41
decreased by-43.84%
Maintainers
1
Weekly downloads
 
Created
Source

react-present

A simple, lightweight framework for creating presentations quickly using React components for slides.

Uses hot module loading via webpack for easy presentation development. Keyboard, mouse, gui, and url navigation between slides via react-router. Code highlighting and editing via react-ace. Presentation app can be viewed entirely from static files without running a webserver, and can be easily hosted via github pages.

View example presentation locally

> npm install
> npm start

Open dist/index.html in your browser.

Create your presentation

Fork and clone the repo, then:

> npm install
> cp -r ./presentations/component-library ./presentations/{your-presentation-directory}
> npm run build-dev {your-presentation-directory}

Navigate to http://localhost:9001 in your browser. Make changes to {your-presentation-title}/slideList, and they should be hot-loaded into your browser whenever you save.

Create your slides

Slides are normal React components that can be written with JSX and ES6. You're free to include whatever markup and CSS you'd like in your slides.

Include and order slides within {your-presentation-title}/slideList.

Require CSS directly from within slide source code.

require('./my-slide-styles.css');

Use the CodeBlock component to get js syntax highlighting and code editing.

import CodeBlock from '../components/CodeBlock';

const block = (
  <CodeBlock>
    const foo = 'bar';
  </CodeBlock>
);

Package presentation as zip file

Create a zip file containing a presentation within the built-presentations directory. Extract the zip file and open index.html to view the presentation.

> npm run package {your-presentation-directory}

Screen sharing and remote meetings

Slide transitions cause some screen sharing apps like WebEx to have significant lag. Disable transitions by pressing ctrl-t.

Keywords

FAQs

Package last updated on 10 Jul 2017

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc