• Stars
    star
    193
  • Rank 201,081 (Top 4 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 6 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Create Fullscreen Scrolling Websites

@ap.cx/react-fullpage

https://thierryc.github.io/react-fullpage/

another demo:

https://thierryc.github.io/react-fullpage-example/

This project is still in a very early stage. You shouldn't use this for production unless you really know what you're doing. πŸ––

Features

  • Design for Mobile, Tablet, and Desktop
  • Nested Component (simple to use)
  • Hide safari's header on Scroll on iphone and ipad
  • Hide Google Chrome's header on Scroll on iOS and Android
  • Drived by the scroll
  • CSS animation
  • GPU/CPU swtich
  • Very Small ( ~ 25kB )
  • MIT License (no fullpage.js dependency)

Create Fullscreen Scrolling Websites

NPM MIT

Install

npm install --save @ap.cx/react-fullpage

Usage

import React, { Component } from 'react'
import Fullpage, { FullPageSections, FullpageSection } from '@ap.cx/react-fullpage'

export default class App extends Component {
  render () {
    return (
      <Fullpage>

        <FullPageSections>

          <FullpageSection style={{
            backgroundColor: 'lime',
            height: '80vh',
            padding: '1em',
          }}>1</FullpageSection>
          <FullpageSection style={{
            backgroundColor: 'coral',
            padding: '1em',
          }}>2</FullpageSection>
          <FullpageSection style={{
            backgroundColor: 'firebrick',
            padding: '1em',
          }}>3</FullpageSection>

        </FullPageSections>

      </Fullpage>
    )
  }
}

Migation from previous version.
Add the ``` <FullPageSections> ... </FullPageSections>```

For IE


npm i babel-polyfill

import "babel-polyfill";

Mobile First

Android Phone

Dev

open 2 terminal

In the first terminals windows.


> npm i
> npm link
> npm start

In the second terminal


> cd example
> npm i
> npm link @ap.cx/react-fullpage
> npm start

Thanks

Special thanks to BrowserStack for sponsoring this plugin. πŸ‘

Browserstack

License (MIT)

WWWWWW||WWWWWW
 W W W||W W W
      ||
    ( OO )__________
     /  |           \
    /o o|    MIT     \
    \___/||_||__||_|| *
         || ||  || ||
        _||_|| _||_||
       (__|__|(__|__|

MIT Β© thierryc Copyright (c) 2018-present anotherplanet.io, [email protected]

Hit me up on Twitter

@Autre_planete

More Repositories

1

Sketch-Find-And-Replace

Sketch plugin to do a find and replace on text within layers
JavaScript
711
star
2

Next-gh-page-example

Next.js gh-pages example
HTML
75
star
3

grunt-handlebars-layouts

A grunt.js task to render Handlebars templates against a context & produce HTML
JavaScript
14
star
4

react-scrollama-wrapper

JavaScript
7
star
5

angular-pressure

angular-pressure is a JavaScript library that makes dealing with Apple's Force Touch and 3D Touch simple.
JavaScript
6
star
6

dark-side-of-the-moon-syntax

Dark Side of the Moon is a Color Blindness Optimized Syntax theme for Atom.
CSS
6
star
7

awesome-origami

Origami Studio ecosystem (Systems, Patches and Examples)
5
star
8

Design-System-Variables

Variables Design System for Grid, Layout, Media Queries, Responsive Design, Typography and colors
JavaScript
5
star
9

anotherplanet.io-ux-template

Sitemap Sketch Libraries for ux design.
JavaScript
4
star
10

nextjs-pixijs-example

JavaScript
3
star
11

react-fullpage-gh-pages

react-fullpage-gh-pages
JavaScript
3
star
12

jquery-ap-richtexteditor

jquery ap richtexteditor
CSS
3
star
13

thierryc.github.io

JavaScript
2
star
14

css-in-js-os-theme

Simple Emotion based css-in-js OS theme for app or sketch plugin.
JavaScript
2
star
15

jquery-ap-qrcode

jquery Autre planète QRcode Generator
JavaScript
2
star
16

next-js-gh-pages-project-boilerplate

JavaScript
2
star
17

URL-Swap-Firefox-Addons

URL Swap (Find and Replace). The URL Swap extension changes the root to another URL that you specify in the Preferences window.
JavaScript
2
star
18

Remix

Remix template for CodeSandbox Projects
TypeScript
1
star
19

sketch-assistant-color-in-theme

TypeScript
1
star
20

bootstrap-little-calendar

Bootstrap Little Calendar is a month view calendar.
CSS
1
star
21

sketch-assistant-default-name

TypeScript
1
star
22

infinitus

HTML 5 Wordpress Theme
PHP
1
star
23

gulp-sanitize-html

alpha version
JavaScript
1
star
24

infinitus_user_language

user language for wordpress plugin
PHP
1
star
25

add-html5-elements-to-dom-for-IE

add html5 elements to dom for IE
JavaScript
1
star
26

sketch-assistant-colors

Colors conventions rules for DS core assistants
TypeScript
1
star
27

react-fullpage-example

JavaScript
1
star
28

sketch-assistants-run

sketch-assistants-run
1
star
29

sklib

A utility to build, publish sketch library
JavaScript
1
star
30

far-side-of-the-moon-syntax

A Lighten and peaceful syntax theme Β« Far Side Of The Moon Β»
CSS
1
star
31

webcomponents-preview

1
star
32

ApSketchPluginBoilerplate

Ap Sketch Plugin Boilerplate
JavaScript
1
star
33

vanilla-javascript-boilerplate

Jumpstart your JavaScript projects with a modern Vanilla JavaScript Boilerplate, providing a pre-configured foundation for building applications with only the core features of the language.
HTML
1
star