Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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