React

Cross-platform Material Dialogs For React Native – Paper Alerts

A cross-platform Material Design popup boxes (alert/confirm/prompt dialogs) for React Native. Supports iOS, Android, and Web. How to use it: 1. Installation. # Yarn $ yarn add react-native-paper-alerts # NPM $ npm i react-native-paper-alerts –save 2. A complete example. import { observer } from ‘mobx-react-lite’; import React from ‘react’; import { Alert, StyleSheet, View } …

Cross-platform Material Dialogs For React Native – Paper Alerts Read More »

Scroll Position Indicator Bar In React – Scroll Progress Line

A linear scroll progress bar component that indicates the current scroll position of the page. How to use it: 1. Install and import the component. # Yarn $ yarn add @yiyb0603/react-scroll-progress-line # NPM $ npm i @yiyb0603/react-scroll-progress-line –save import React from ‘react’;import ScrollProgressLine from ‘@yiyb0603/react-scroll-progress-line’ 2. Generate a basic scroll progress bar on the top …

Scroll Position Indicator Bar In React – Scroll Progress Line Read More »

Stable Bi-directional Infinite Scroll For React

Stable bi-directional infinite scroll React component. Load additional data from both ends of a container while maintaining the current view. Used for chat, timeline, feed views. How to use it: 1. Install & download. # Yarn $ yarn add bx-stable-infinite-scroll # NPM $ npm i bx-stable-infinite-scroll –save 2. Example code. import { concat, map } …

Stable Bi-directional Infinite Scroll For React Read More »

Tailwind CSS Based UI Kit For React – Windy

Windy is a React UI component library based on Tailwind CSS framework. Previews: Windy Modal Windy Panel Windy Buttons Windy Dropdown Windy Form Fields Download Details: Author: webeetle Live Demo: View The Demo Download Link: Download The Source Code Official Website: https://github.com/webeetle/windy License: MIT Source link

Bootstrap Date Picker For React

A Bootstrap date picker component built with create-react-library. How to use it: 1. Install the Bootstrap date picker component. @kamil-perczynski/bootstrap-date-picker 2. Import necessary stylesheet. @import url(https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css); @import url(https://unpkg.com/@kamil-perczynski/[email protected]/dist/index.css); 3. Import necessary JavaScript. import * as React from “https://cdn.skypack.dev/[email protected]”; import * as ReactDOM from “https://cdn.skypack.dev/[email protected]”; import * as DatePicker from “https://cdn.skypack.dev/@kamil-perczynski/[email protected]”; import * as dateFns from …

Bootstrap Date Picker For React Read More »

Combine useTransition With useState – use-transition-state

This hook builds on top of React.useTransition to reduce the verbose of using in conjunction with React.useState. How to use it: 1. Install and import the use-transition-state. # Yarn$ yarn add use-transition-state # NPM$ npm i use-transition-state –save import useTransitionState from “use-transition-state”; 2. Basic usage. const App = () => { const [searchQuery, setSearchQuery, { isPending }] = …

Combine useTransition With useState – use-transition-state Read More »

Scroll to Top