Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 12 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 (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-06-09T04:26:18.000Z (7 months ago)
- Last Synced: 2024-12-12T02:08:47.197Z (26 days 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
[![NPM](https://img.shields.io/npm/v/@faceless-ui/window-info)](https://www.npmjs.com/@faceless-ui/window-info)
![Bundle Size](https://img.shields.io/bundlephobia/minzip/@faceless-ui/window-info?label=zipped)# 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