Nice browser. Is it antique?
No, seriously - your browser is so old that some features of patternplate don't work as expected.
Don't worry - you can either continue with a restricted version or install an up-to-date browser.
We messed up.
Sorry, but your user experience might be affected.
- Try reloading the page
- Report the problem at github.com/patternplate/patternplate

Changing the transitions

To use other transitions you only need to add one more package. This example adds a Deck with 5 slides. It shows how animations are configured. It enables paging and adds url handling.

import React from 'react'
import {render} from 'react-dom'
import Deck, {Plugins} from '@dekk/deck'
import Slide from '@dekk/slide'
import Paging from '@dekk/paging'
import Url from '@dekk/url'
import {cube} from '@dekk/animation'

const App = () => (
  <Deck>
    <Plugins>
      <Paging/>
      <Url/>
    </Plugins>
    <Slide>This is slide <strong>1</strong></Slide>
    <Slide animationOut={cube.slideX}>
      This is slide <strong>2</strong>.
      <br/>
      It rotates as a cube when leaving.
    </Slide>
    <Slide animation={cube.slideX}>
      This is slide <strong>3</strong>.
      <br/>
      It rotates as a cube when leaving and entering.
    </Slide>
    <Slide animationIn={cube.slideX}>
      This is slide <strong>4</strong>.
      <br/>
      It rotates as a cube when entering.
    </Slide>
    <Slide>This is slide <strong>5</strong></Slide>
  </Deck>
)

render(<App/>, document.getElementById('app'))