- Notifications
You must be signed in to change notification settings - Fork30
A responsive 8-point grid system layout for React using styled-components
License
santosfrancisco/react-awesome-styled-grid
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A responsive grid system for React using styled-components
npm i --save react-awesome-styled-grid
styled-components is a peerDependency and must be installed separately.
npm i --save styled-components
Clickhere for documentation
This grid system is mobile-first based onGoogle Material Design.
Number of columns:xs: 4,sm: 8,md: 8,lg: 12,xl: 12
Breakpoints size:xs: > 1rem,sm: > 48rem,md: > 64rem,lg: > 90rem,xl: > 120rem
for a custom configuration,see this section of documentation
import{Container,Row,Col}from"react-awesome-styled-grid";constMyCoolComponent=()=>(<Container><Row><Colxs={4}md={2}> Col A</Col><Colxs={6}md={10}> Col B</Col></Row></Container>);
runyarn install
ornpm install
to install all dependencies
runyarn start
ornpm run start
to run Docusaurus on port 3000
Go tohttp://localhost:3000/demo to see live demo and editDemo.tsx file
- Styled-components - Visual primitives for the component age.
- Docusaurus - Build optimized websites quickly, focus on your content
- Rollup - Rollup is a module bundler for JavaScript
Please readCONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
See also the list ofcontributors who participated in this project.
This project is licensed under the MIT License - see theLICENSE.md file for details
Thanks goes to these wonderful people (emoji key):
Francisco Santos 💻📖👀 | Camila Belo | Fábio Henrique Gabriele | Bernardo Mariano 💻 | Ahmed Tarek 💻 | Steve Swanson 🚧 |
This project follows theall-contributors specification. Contributions of any kind welcome!
About
A responsive 8-point grid system layout for React using styled-components
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors15
Uh oh!
There was an error while loading.Please reload this page.