Coder Social home page Coder Social logo

presa's Introduction

Present with joy in React. Minimal and self-contained framework for presentations built with styled-components. Presa aims to be:

  • Lightweight. No external css needed and as minimal dependencies as possible.
  • Extendable. Presa uses styled-components so almost all of its internal components can be extended and themized.
  • Modular. Core barebone and building blocks are separated and may be optionally excluded from the presentation.
  • Aestetically pleasing. Simple but functional UI, typography included.

Here is how Presa UI looks like:

Presa UI

List of currently supported features:

  • Slideshow mode with optinonal table of the contents in a sidebar.
  • Fullscreen API.
  • Supports clicker and keyboard navigation.
  • Bird's eye view mode.
  • Slides are components. They are not rendered until the slide is active.

Getting started

Let's add a simple slide with a background.

import { Presentation, Slide } from 'presa'

// No need to pass indexes here
const Deck = () => (
  <Presentation>
    <Slide background="wat.jpg">
      Let talk about JavaScript!
    </Slide>
  </Presentation>
)

// Make sure you render into a full-page container
ReactDOM.render(<Deck />, container)

If you do that in your app, Presa will run automatically.

Contributing

Feel free to open issues and PRs! If you want to develop Presa locally you can test your features by adding them to the demo deck inside the demo/ folder. To open the development server run yarn dev.

The project uses Prettier which runs automatically before every commit making the code base consistent. See also text editor integrations.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.