https://github.com/faceless-ui/window-info
A React library for subscribing to window events
https://github.com/faceless-ui/window-info
breakpoints css-in-js react react-component responsive typescript viewport window
Last synced: 28 days ago
JSON representation
A React library for subscribing to window events
- Host: GitHub
- URL: https://github.com/faceless-ui/window-info
- Owner: faceless-ui
- License: mit
- Created: 2019-11-13T05:58:44.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-06-09T04:26:18.000Z (12 months ago)
- Last Synced: 2024-12-12T02:08:47.197Z (5 months ago)
- Topics: breakpoints, css-in-js, react, react-component, responsive, typescript, viewport, window
- Language: JavaScript
- Homepage: https://facelessui.com/docs/window-info
- Size: 1.37 MB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
[](https://www.npmjs.com/@faceless-ui/window-info)
# React Window Info
Read the full documentation [here](https://facelessui.com/docs/window-info).
## Installation
```bash
$ npm i @faceless-ui/window-info
$ # or
$ yarn add @faceless-ui/window-info
```## Development
To develop this module locally, spin up the [demo app](./demo/App.demo.js):
```bash
$ git clone [email protected]:faceless-ui/window-info.git
$ yarn
$ yarn dev
$ open http://localhost:3000
```## License
[MIT](https://github.com/faceless-ui/window-info/blob/master/LICENSE) Copyright (c) Faceless UI