React Native Sticky Item

screenshot of React Native Sticky Item
react
react-native

An interactive sticky item inspired by Facebook Stories.

Overview

The npm package is an interactive sticky item inspired by Facebook Stories. It requires the installation of react-native-reanimated, react-native-gesture-handler, and react-native-svg libraries along with following their installation instructions.

Features

  • itemWidth: Item's width
  • itemHeight: Item's height
  • separatorSize: FlatList's separator width, set if ItemSeparatorComponent is provided
  • borderRadius: Item & sticky border radius
  • stickyItemActiveOpacity: Sticky item's active opacity
  • stickyItemWidth: Sticky item's width
  • stickyItemHeight: Sticky item's height
  • stickyItemBackgroundColors: Sticky item's two background colors
  • stickyItemContent: Sticky item's content component
  • isRTL: FlatList' layout direction
  • onStickyItemPress: Callback when sticky item gets pressed

Summary

The npm package provides an interactive sticky item functionality inspired by Facebook Stories, requiring the installation of additional libraries such as react-native-reanimated, react-native-gesture-handler, and react-native-svg. The package offers various customizable features to enhance the user experience, such as defining item width, height, border radius, background colors, and more.

react
React

React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components

react-native
React Native

React Native is a framework for building mobile applications using React and JavaScript. It enables developers to write once and deploy to multiple platforms, including iOS, Android, and the web, while providing a native app-like experience to users.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.