More Premium Hugo Themes Premium React Themes

React Telegram Web App

React components for Telegram Mini Apps

React Telegram Web App

React components for Telegram Mini Apps

Author Avatar Theme by vkruglikov
Github Stars Github Stars: 598
Last Commit Last Commit: Dec 24, 2024 -
First Commit Created: Aug 8, 2025 -
default image

Overview

If you’re developing Telegram MiniApps and are using React, the @vkruglikov/react-telegram-web-app package could be a game-changer for you. With its seamless integration into the Telegram environment, it allows developers to create dynamic, interactive applications that leverage the functionality of Telegram while providing a user-friendly interface. The package supports React version 18 and offers an ecosystem of components and hooks tailored specifically for Telegram’s Web App context.

The library is not just a collection of components; it provides essential functionalities like native haptic feedback and QR code scanning, enhancing the overall user experience of your MiniApps. The ongoing development and roadmap indicate a commitment to expanding capabilities, making it a timely choice for anyone looking to innovate in the Telegram space.

Features

  • MainButton: Control the main button displayed at the bottom of the Telegram Web App interface, enhancing user interaction.

  • BackButton: Manage the back button in the header, allowing users to navigate easily within your app.

  • WebAppProvider: Set up the context for your components, ensuring they are accessible throughout your application.

  • useShowPopup: Utilize this hook to display native popups, adding interactive elements to your MiniApp.

  • useHapticFeedback: Integrate haptic feedback functions to enhance user engagement with notifications and selections.

  • useScanQrPopup: Show or close a QR code scanning popup, streamlining actions that require scanning capabilities.

  • useCloudStorage: Access a Promise-based object for cloud storage functions, making data management efficient.

  • useInitData: Retrieve initialization data for your app, allowing you to customize user experiences based on context.