Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-grid-system

Package Overview
Dependencies
Maintainers
1
Versions
132
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-grid-system

A pure JS bootstrap-like grid system for React.

  • 1.1.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
26K
increased by127.5%
Maintainers
1
Weekly downloads
 
Created
Source

react-grid-system

A pure JS bootstrap-like grid system for React.

npm version

Installation

npm i react-grid-system --save

Usage

Examples and documentation on how to use react-grid-system can be found at the GitHub pages: https://zoover.github.io/react-grid-system/

Server-side rendering

In case you're also using React components in server-side rendering, every component in this library has two context types properties which can be used for this: phone and tablet. Both are booleans. The server can use the user-agent to determine whether the client is on a phone or tablet, and set the child context accordingly. The components can then use this context to render properly.

For more information on using the user-agent to determine the device, see for example https://github.com/hgoebl/mobile-detect.js.

For more information about context in React, see for example https://facebook.github.io/react/docs/context.html.

Keywords

FAQs

Package last updated on 09 Aug 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc