open-amdocs/webrix
소개
Powerful building blocks for React-based web applications
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Original
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
관련 프로젝트 살펴보기
불러오는 중…