1.10.100 • Published 10 months ago

@patrtorg/consequuntur-praesentium-ab v1.10.100

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

React Scroll Parallax

NPM Version Latest NPM Downloads Codecov Rate on Openbase

Test and Lint Storybook Storybook

React hooks and components to create parallax scroll effects for banners, images or any other DOM elements. Utilizes Parallax Controller to add vertical or horizontal scrolling based effects to elements. Optimized to reduce jank on scroll and works with SSR and SSG rendered React apps.

If you're coming from V2, here's a migration guide.

Install

With npm

npm install react-scroll-parallax

or yarn

yarn add react-scroll-parallax

Example

Create effects with a hook:

function Component() {
  const parallax = useParallax({
    speed: -10,
  });
  return <div ref={parallax.ref} />;
}

or with a component:

function Component() {
  return (
    <Parallax speed={-10}>
      <div />
    </Parallax>
  );
}

Getting Started

Read the documentation for setup and usage instructions.

Demos

Docs: Hooks

Docs: Components

bddArrayBuffer#sliceimportexportamazonjson-schemaJSON-Schemacollectionglobal objectindicatorrulesECMAScript 2017workflowprotoes-abstractpostcsssortednested cssinspectnegative zeroparseres6higher-orderapimobiledeterministicTypeBoxpromisedescriptorsinputuuidformArray.prototype.filtersymbolfnmatchdescriptorterminalclonecharacterthreetypeerrorvaluexhrnumberbinaryformscontainsprocesscompile lessobjectWeakSetbinariespreprocessorelbsomegradients cssutilitydeep-cloneviewcss nestingl10nargsfunctionsES2017argumentlrucachepnpm9operating-systemgraphqlschemaArray.prototype.includesstringifiershellcall-bindspeedYAMLgettertimeaccessorgroupBylesssetImmediatecallhardlinksharmonyfunction.lengthprettyUint16Arrayredux-toolkitreplaypolyfillES2020intrinsicmkdirmakebrowserslistreact-hook-formgetOwnPropertyDescriptornpmignoreyupreducestyleguideelasticachereduxopensslfull-widthprefixeveryerror-handlingfullwidthtoSortedESrangeerrorsetPrototypeOfArray.prototype.flattenECMAScript 2023Object.fromEntriesvalidcore-jsescapeoptimizerglobal this valueECMAScript 7ieworkerstyled-componentsinternalremoveInt32ArrayairbnbglobalThisarraylibphonenumberWebSockethttpsettercloudtrailcolumnsdependenciesutilsjwtshamsetqsauthwaapihookstypedredactsignalsmergeefficientwhatwgECMAScript 2016chromebannercss-in-js[[Prototype]]internal slotserializerReactiveXless cssjsonschematranspiledom-testing-librarytrimStartconfigurableeffect-tsfantasy-landoptionES2022superagentcomputed-typestestutilitiesconsume-0prunebyteLengthtouchenderexpressvartacitcryptnativestylewarningjsdifffunctiones7minimalrequirestreamshas-owntranspilerstringreact posekeyshebanglengthregular-expressionjsonslicetoReversedlastiamguidmonorepomruec2sesclass-validatortrimRightstylesheetzerobusycheckcolorseslint-pluginlazystartermoduleoncewafmulti-packageplugines2015ObservableroutingreactESnextperformanceignoreECMAScript 2021javascriptPromisegradients css3slotES2018extraIteratores8iteratorsequenceinferencelinuxprototypetoArrayuploadgetPrototypeOfargvvestequalutil.inspectRFC-6455popmotionfetchtypescriptnameseslintconfigstructuredCloneimportexpressionstreamassignmacosdirautoscalinges2017loggerrouteSystem.globalECMAScript 2022descriptionstatelessclientfulllocalStreamssignedreadablestreammanagercurriedBigUint64ArrayloadbalancingStyleSheettelephonenodejscertificatesdeepcloneenvironmentssymlinkvalidatorURLwritablehotObject.getPrototypeOfparsemapreduceless compilergetdatastructure_.extendhasArray.prototype.containsauthenticationposereadzxlinkrdsbrowserloadingECMAScript 2015genericsisworkspace:*eslinttraverseconfigcommand-lineArray.prototype.flatMapJSONpropliveform-validationdefinePropertyrfc9562typaniontsfixed-widthcjkasthandlersgetoptscheme-validationsideString.prototype.trimrobustgloballoggingassertsglacierfpnopeFunction.prototype.namecss lessArrayBuffershrinkwrapbootstrap lessfastassert0coerciblespinnerchildcommandbrowserlist6to5acornAsyncIteratorstatusframerenumerableesimmers3sharedarraybufferapolloECMAScript 2019fluxstringifyserializesnsjsdiffawesomesauceStreamcommanderHyBifast-cloneObservablesFloat32Arrayes2018figletUint8ClampedArrayexecspringconsolefindES3bufferenvio-tscurlpipesettingsdayjsequalityiteratehasOwnPropertybabelURLSearchParamsagenteventsdragsymlinksmatchescomparepatchES6querystringsimpledbhookformyamlstylingbytees-shim APIsyntaxerroraccessibilityreact-hooksregexfastcopyfromformattingemrboundjson-schema-validatorobjdefineECMAScript 2020ES2023package manageres2016sortinvariantreadableowndateextenduser-streamsinstateasyncexecutetyped array256getintrinsicjson-schema-validationsyntaxrapidelectronstablewidthtypesafeWebSocketsbuffersdirectorygitignoreES2015fast-deep-clonedataviewinstalleransiprivatesafeselfphonepostcss-pluginpreserve-symlinksspecflatMapartwindowssqswhichttyquoteurlreusetypesxtermpropertyentriesreducerserializationglobalspyyamlcloudsearchSymbol.toStringTagString.prototype.matchAllwgetbundlerObject.iscollection.es6npmsymbolsTypeScriptcopyrecursivequeueMicrotaskreversedECMAScript 2018exitpackagesflagsflatsubprocesscallbindforktrimLeftes5$.extendpinoECMAScriptstoragegatewayregularconcattddTypedArraykeysgdprmixinstransportbabel-corejestimmutablecssflagArrayhashdataViewcircularanimationbootstrap cssRegExp#flagsforEachwaitlogtslibdependency managerexit-codedeleteRegExp.prototype.flagsparsingArrayBuffer.prototype.slicetypedarrayi18nspinnersmkdirptypedarraysruntimeutilwalklockfileES2019metadatafastclone3dfast-deep-copyasciichannelObject.entriesajaxReactiveExtensionsexecfilecodestostringtagbundlingInt8ArraypurepredictableSymbolprotocol-buffersES2016errorfastifyasterisksvalidationcallboundlintSettakearktypeecmascriptprogresscloudwatcharraybufferformattestingstylesWeakMapweakmapqueuefindLastIndexidentifierscolumncloudfrontisConcatSpreadabletc39momentjapanesevariables in cssreact animationArray.prototype.findLastdomless mixinsInt16Arraypoint-freemoveshimeventEmitterautoprefixerpathconstpasswordspawnponyfilldynamodbrfc4122assertion.envgrouptesterchinesecolourES5eventDispatchermatchECMAScript 6ramdapackage.jsonperformantvaluesbeanstalkpersistentclassessignallanguagejshintcensorebsencryptionomitECMAScript 3joireverselistenersajvvariablesglobkoreanflattenrandomsuperstructelmmkdirsroute53css variablenegativeclassnamecreatergboffsetmatchAllregular expressionqueryiterationunicodeECMAScript 5east-asian-widthcall-boundinterruptsES8Object.valuesRxJStrimfile@@toStringTagcryptofindLasttermmodulesbindropprotobuftypefpslet
1.10.100

10 months ago

1.10.99

10 months ago

1.10.98

10 months ago

1.9.93

10 months ago

1.7.76

11 months ago

1.7.77

11 months ago

1.7.78

11 months ago

1.7.79

11 months ago

1.7.80

11 months ago

1.7.81

11 months ago

1.7.82

10 months ago

1.7.83

10 months ago

1.7.84

10 months ago

1.8.84

10 months ago

1.8.85

10 months ago

1.8.86

10 months ago

1.8.87

10 months ago

1.8.88

10 months ago

1.8.89

10 months ago

1.10.95

10 months ago

1.10.96

10 months ago

1.10.93

10 months ago

1.8.90

10 months ago

1.10.94

10 months ago

1.8.91

10 months ago

1.8.92

10 months ago

1.8.93

10 months ago

1.6.73

11 months ago

1.6.75

11 months ago

1.6.74

11 months ago

1.6.76

11 months ago

1.10.97

10 months ago

1.6.72

11 months ago

1.6.71

11 months ago

1.6.70

11 months ago

1.6.69

11 months ago

1.6.68

11 months ago

1.6.67

11 months ago

1.6.66

11 months ago

1.6.65

11 months ago

1.6.64

11 months ago

1.6.63

11 months ago

1.6.62

11 months ago

1.6.61

11 months ago

1.6.60

11 months ago

1.6.59

11 months ago

1.6.58

11 months ago

1.6.57

11 months ago

1.6.56

11 months ago

1.6.55

11 months ago

1.6.54

11 months ago

1.6.53

11 months ago

1.6.52

12 months ago

1.6.51

12 months ago

1.6.50

12 months ago

1.6.49

12 months ago

1.6.48

12 months ago

1.6.47

12 months ago

1.6.46

12 months ago

1.6.45

12 months ago

1.6.44

12 months ago

1.6.43

12 months ago

1.6.42

12 months ago

1.6.41

12 months ago

1.6.40

12 months ago

1.6.39

12 months ago

1.5.39

12 months ago

1.5.38

12 months ago

1.5.37

12 months ago

1.5.36

12 months ago

1.5.35

12 months ago

1.5.34

12 months ago

1.5.33

1 year ago

1.5.32

1 year ago

1.5.31

1 year ago

1.5.30

1 year ago

1.5.29

1 year ago

1.5.28

1 year ago

1.4.28

1 year ago

1.4.27

1 year ago

1.4.26

1 year ago

1.4.25

1 year ago

1.4.24

1 year ago

1.4.23

1 year ago

1.4.22

1 year ago

1.4.21

1 year ago

1.4.20

1 year ago

1.4.19

1 year ago

1.4.18

1 year ago

1.4.17

1 year ago

1.3.17

1 year ago

1.3.16

1 year ago

1.3.15

1 year ago

1.3.14

1 year ago

1.3.13

1 year ago

1.3.12

1 year ago

1.3.11

1 year ago

1.3.10

1 year ago

1.3.9

1 year ago

1.3.8

1 year ago

1.3.7

1 year ago

1.2.7

1 year ago

1.2.6

1 year ago

1.2.5

1 year ago

1.2.4

1 year ago

1.2.3

1 year ago

1.2.2

1 year ago

1.2.1

1 year ago

1.2.0

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago