Skip to content
项目

Glazzes/react-native-zoom-toolkit

在 GitHub 查看

关于

Zoom anything you want! Most complete pinch to zoom utilities for React Native

网站与应用开发

这些数字如何统计

可以做什么

  • Limitless: Smoothly zoom in and out any component you want, you're not limited to images only.
  • Performance: Smooth gesture interactions powered by Reanimated and Gesture Handler.
  • Customizable: Highly customizable components, tailor them to your needs.
  • SnapBackZoom: Zoom in and snap back, this component automatically snaps back to its original position once the gesture ends, making it ideal for previews.

实测星标增长

24小时
0
7天
+1
15天
+2
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

React Native Zoom Toolkit

A set of components and utilities for common pinch to zoom feature requirements

The most feature rich React Native library to solve common use cases of the pinch to zoom interaction, as well as providing barebones utilities for complex use cases, such as pinch to zoom React Native Skia's components.

[!Note] Are you watching from NPM's website? NPM's markdown renderer does not render videos, watch them on github.

SnapbackZoom ResumableZoom CropZoom Gallery

Features

  • Limitless: Smoothly zoom in and out any component you want, you're not limited to images only.
  • Performance: Smooth gesture interactions powered by Reanimated and Gesture Handler.
  • Customizable: Highly customizable components, tailor them to your needs.
  • SnapBackZoom: Zoom in and snap back, this component automatically snaps back to its original position once the gesture ends, making it ideal for previews.
  • ResumableZoom: Pick up where you left last time! This component remembers your previous interactions with it, just the same way it works in your Android/IOS OS integrated gallery application, making it ideal for detail screens and gallery screens.
  • CropZoom: An ideal, practical and unopinionated component for image and video cropping needs.
  • Gallery: A practial gallery component which implements ResuambleZoom capabilities for all items in the list.
  • Mirror: Mirror the current pinch gesture transformations to any other component you want.
  • Expo Compatible: This library has been written in typescript only and supported modules by the expo SDK.

Documentation

To check out the docs, visit https://glazzes.github.io/react-native-zoom-toolkit/

Consulting

If your requirements are too specific and you need support tailored to your needs, you can reach out to me with your use case at [email protected], I'll see if we make a good fit, so we can work together!

Support

If you've found good usage out of this library, you can make a donation by clicking on the image down below.

Demo

The example app comes with five different examples from which you can learn from, see the Example app.

License

Mit license

探索相关项目

加载中…