Gathering detailed insights and metrics for react-native-animated-gallery-view
Gathering detailed insights and metrics for react-native-animated-gallery-view
Gathering detailed insights and metrics for react-native-animated-gallery-view
Gathering detailed insights and metrics for react-native-animated-gallery-view
npm install react-native-animated-gallery-view
Typescript
Module System
Node Version
NPM Version
29.7
Supply Chain
54
Quality
65.1
Maintenance
50
Vulnerability
93.8
License
TypeScript (28.18%)
Java (26.23%)
Ruby (17.34%)
Objective-C (15.62%)
JavaScript (6.13%)
Kotlin (5.78%)
C (0.42%)
Swift (0.29%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
588
Last Day
1
Last Week
1
Last Month
13
Last Year
72
MIT License
1 Stars
3 Commits
1 Forks
2 Watchers
31 Branches
1 Contributors
Updated on Mar 16, 2021
Minified
Minified + Gzipped
Latest Version
1.0.0
Package Id
react-native-animated-gallery-view@1.0.0
Unpacked Size
57.93 kB
Size
13.83 kB
File Count
33
NPM Version
6.13.7
Node Version
13.3.0
Cumulative downloads
Total Downloads
Last Day
-50%
1
Compared to previous day
Last Week
-50%
1
Compared to previous week
Last Month
116.7%
13
Compared to previous month
Last Year
-37.4%
72
Compared to previous year
1
3
19
Beautiful animated gallery style view for React Native.
This library uses react-native-reanimated library as a dependency to create animations that are super performant and run totally on the native thread.
Follow the installation instructions here: https://github.com/software-mansion/react-native-reanimated
1 2npm install react-native-animated-gallery-view
Gallery view can get any views as items (passed as children). Set a reg to the GalleryView instance in order to access and use the provided method setLayout which allows you to transition between different gallery layouts (see code example below)
1import React, { useRef } from 'react'; 2import { StyleSheet, View, Button } from 'react-native'; 3import { 4 GalleryView, 5 GalleryLayout, 6 GalleryViewProps, 7} from 'react-native-animated-gallery-view'; 8 9export default function App() { 10 const gallery = useRef<GalleryViewProps>(null); 11 12 return ( 13 <View style={styles.container}> 14 <Button 15 title="Column" 16 onPress={() => gallery.current!.setLayout(GalleryLayout.Column)} 17 /> 18 <Button 19 title="Column Wrap" 20 onPress={() => gallery.current!.setLayout(GalleryLayout.ColumnWrap)} 21 /> 22 <Button 23 title="Row" 24 onPress={() => gallery.current!.setLayout(GalleryLayout.Row)} 25 /> 26 <Button 27 title="Row Wrap" 28 onPress={() => gallery.current!.setLayout(GalleryLayout.RowWrap)} 29 /> 30 31 <GalleryView 32 layout={GalleryLayout.Column} 33 ref={gallery} 34 spacing={10} 35 columnLayoutStyle={{ justifyContent: 'space-around' }} 36 > 37 <View style={{ backgroundColor: 'red', height: 100, width: 100 }} /> 38 <View style={{ backgroundColor: 'blue', height: 100, width: 100 }} /> 39 <View style={{ backgroundColor: 'black', height: 100, width: 100 }} /> 40 <View style={{ backgroundColor: 'pink', height: 100, width: 100 }} /> 41 <View style={{ backgroundColor: 'brown', height: 100, width: 100 }} /> 42 <View style={{ backgroundColor: 'green', height: 100, width: 100 }} /> 43 </GalleryView> 44 </View> 45 ); 46} 47 48const styles = StyleSheet.create({ 49 container: { 50 flex: 1, 51 52 justifyContent: 'center', 53 marginTop: 100, 54 }, 55});
MIT
No vulnerabilities found.
Reason
license file detected
Details
Reason
binaries present in source code
Details
Reason
Found 0/3 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
80 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-02-10
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More