![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@animatereactnative/stagger
Advanced tools
React Native Stagger component, a cross-platform stagger orchestrator component, powered by Reanimated:
reanimated@>=3.4.0
)npm install @animatereactnative/stagger
Also, you need to install react-native-reanimated, and follow their installation instructions.
import { Stagger } from '@animatereactnative/stagger';
// ...
export function Example() {
return (
<Stagger
stagger={50}
duration={300}
exitDirection={-1}
entering={() => ZoomInEasyDown.springify()}
exiting={() => FadeOutDown.springify()}
style={{
flexDirection: 'row',
flexWrap: 'wrap',
justifyContent: 'center',
gap: 12,
}}
>
<Paragraph>1. Custom duration</Paragraph>
<Paragraph>2. Custom stagger</Paragraph>
<Paragraph>3. Custom animation</Paragraph>
<Paragraph>4. Custom enter/exit direction</Paragraph>
<Heading>AnimateReactNative.com</Heading>
<Heading>Powered by Reanimated 3</Heading>
<Heading>Works with Expo ❤️</Heading>
</Stagger>
);
}
name | description | required | type | default |
---|---|---|---|---|
children | Any component that you'd like to apply infinite scrolling / marquee effect | YES | React.ReactNode | 1 |
enabled | Enable stagger animation | NO | boolean | true |
stagger | Stagger duration between elements | NO | number | 50 |
duration | Enter/Exit animation duration | NO | number | 400 |
enterDirection | The direction of the animation. 1 -> top to bottom , -1 -> bottom to top | NO | number | 0 |
exitDirection | The direction of the animation. 1 -> top to bottom , -1 -> bottom to top | NO | number | 0 |
initialEnteringDelay | Initial enter animation delay | NO | number | 1 |
initialExistingDelay | Initial exit animation delay | NO | number | -1 |
onEnterFinished | callback to announce when the last item animation has finished (direction dependent) | NO | () => void | undefined |
onExitFinished | callback to announce when the last item animation has finished (direction dependent) | NO | () => void | undefined |
enter | Reanimated Enter animation | NO | () => ComplexAnimationBuilder | FadeInDown |
exiting | Reanimated Exit animation | NO | () => ComplexAnimationBuilder | FadeOutDown |
style | View style to be applied to Marquee container. | NO | StyleProp<ViewStyle> |
See the contributing guide to learn how to contribute to the repository and the development workflow.
FAQs
A React Native stagger component
The npm package @animatereactnative/stagger receives a total of 0 weekly downloads. As such, @animatereactnative/stagger popularity was classified as not popular.
We found that @animatereactnative/stagger demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.