/React.SmartSticky

React based library with component to easily switch between original and fixed position with many customizations. Repository contains also React powered demo project with examples of the component and usage of the library.

Primary LanguageTypeScriptMIT LicenseMIT

React.SmartSticky

Repository containing following NodeJS packages:

  • @oplaner4/smart-sticky (./lib)
  • @oplaner4/smart-sticky-demo (./demo)

Prerequisites

  • Installed NodeJS environment (version 12 or higher).

Development

@oplaner4/smart-sticky

React based Library with component SmartSticky which allows to switch between original and fixed position with many customizations.

Installation

Add to your project using one of these commands:

npm install @oplaner4/smart-sticky

/* or with yarn */

yarn add @oplaner4/smart-sticky

Development

Package is located in ./lib folder.

Most important exported member is SmartSticky React component.

More information can be found in this README.

@oplaner4/smart-sticky-demo

React powered demonstrations of the SmartSticky component and functionality of the library (@oplaner4/smart-sticky).

Development

Located in ./demo folder. This package is not intended to be published.

DemoPage component is located in ./demo/src/components.

Example SmartSticky components are located in ./demo/src/components/lib folder.

More information can be found in this README.

Author

Developed by Ondrej Planer (oplaner4@gmail.com).

License

React.smartSticky may be freely distributed under the MIT license.