0.3.5 • Published 9 months ago

jump-up-module v0.3.5

Weekly downloads
-
License
MIT
Repository
-
Last release
9 months ago

HTML5 js REACT STYLEDCOMPONENTS

Presentation

Jump-up-module is a small module to add on any site 'scroll to top' when page is higher than viewport. This is an experimental module !

Installing the package

1. Install package :

npm install jump-up-module

2. Import the component from the library :

import { JumpUp } from 'jump-up-module'

3. Example :

import { JumpUp } from 'jump-up-module'

export default function Home() {
  return (
    <>
      <h1>Module Test</h1>
      <JumpUp />
      <p>...Add text more than `100vh`</p>
    </>
  )
}

4. CSS Customize styles :

// CSS Code
.jumpUpContainer {
} // main container
.jumpUpBox {
} // box container
.jumpUpMaterialIcon {
} // material icon customization

Prerequisites

npm

Node.js

DevDependencies

Vite

0.3.5

9 months ago

0.3.4

9 months ago

0.3.3

9 months ago

0.3.2

9 months ago

0.3.1

9 months ago

0.3.0

9 months ago

0.2.9

9 months ago

0.2.8

9 months ago

0.2.7

9 months ago

0.2.4

9 months ago

0.2.3

9 months ago

0.2.2

9 months ago

0.2.0

9 months ago

0.1.9

9 months ago

0.1.8

9 months ago

0.1.7

9 months ago

0.1.6

9 months ago