open-amdocs/webrix
概要
Powerful building blocks for React-based web applications
Web・アプリ開発計測したスター増加
- 24時間
- 0
- 7日間
- +1
- 15日間
- +1
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナル
Powerful building blocks for React-based web applications.
For documentation, API overview and live examples, visit webrix.amdocs.com.
What Is Webrix?
After building numerous UI components, we realized that there are many common challenges that can be solved once and reused everywhere.
We then extracted those solutions into a set of small, single-purpose components, each aimed at overcoming a specific UI challenge.
We call these components "the bricks of the web" - hence the name Webrix.
Read more about the motivation behind Webrix.
Installation
You can install Webrix with npm (or yarn if you prefer).
# With npm
npm i webrix
# With yarn
yarn add webrix
Webrix has peer dependencies for react, react-dom and prop-types, so be sure to install them as well:
npm i react react-dom prop-types
Usage
Webrix components can be imported using named imports:
import {Movable} from 'webrix';
<Movable {...props}/>
Components
- <Movable/>
- <Stackable/>
- <Pannable/>
- <Resizable/>
- <Poppable/>
- <Scalable/>
- <Scrollable/>
- <Collapsible/>
Hooks
- useBooleanState()
- usePrevious()
- useMounted()
- useClickOutside()
- useTimeout()
- useDebounce()
- useThrottle()
- useObject()
- useDimensions()
- useAnimationFrame()
- useBoundingRectObserver()
- useEventListener()
Tools
関連プロジェクトを探す
読み込み中…