material-ui icon indicating copy to clipboard operation
material-ui copied to clipboard

Support for a responsive Grid

Open owais opened this issue 11 years ago • 14 comments

Does material-ui support a responsive grid or are we supposed to use some other base framework like bootstrap or foundation for that and material-ui only for the components?

owais avatar Jan 04 '15 14:01 owais

+1 https://material.angularjs.org/#/layout/grid may be a good inspiration to do a flex box based layout.

bsr203 avatar Feb 05 '15 16:02 bsr203

You might could checkout http://flexboxgrid.com I've been using it successfully with material-ui for a little while now.

eliquious avatar Mar 02 '15 23:03 eliquious

Personally, I hope this project doesn't start including a grid system. I'd rather avoid the bloat. If I want a grid system, I can find one elsewhere (Susy, Singularity, Neat, etc.).

a1russell avatar Mar 14 '15 09:03 a1russell

I'm not sure whether material-ui should be opinionated regarding layouts. In my opinion it may be better to focus just on stand-alone components. Layouts are more higher level and can be created using existing systems like any of your favorite grid library (like flexbox).

WRidder avatar Mar 30 '15 10:03 WRidder

@a1russell @WRidder I agree and think that material-ui should rather focus on adding on and improving composability of the provided components.

fourcube avatar Mar 30 '15 10:03 fourcube

I like the separation, maybe it's for the best to have a not embedded grid system.

franleplant avatar Apr 14 '15 23:04 franleplant

Yup. May be not having it is the best thing to do but the docs should mention it clearly in the beginning because almost all CSS frameworks support a grid and the docs begin with the grid. May be material-ui can mention a few notable grid libraries in the docs and direct the user in the right direction.

owais avatar Apr 15 '15 16:04 owais

+1 and Grid List https://material.angularjs.org/latest/#/demo/material.components.gridList :+1:

santi8ago8 avatar Jun 22 '15 06:06 santi8ago8

Guys, this works like a charm for react Material-UI!

https://github.com/STRML/react-grid-layout

antilect avatar Jul 14 '15 14:07 antilect

I implemented a simple GridList w/ GridTile in a PR - #1320.

igorbt avatar Aug 04 '15 02:08 igorbt

@eliquious I'm trying it since I read your comment. Looks very good and easy to use. Thank you!

marcoscssno avatar Sep 24 '15 16:09 marcoscssno

Anybody tried combining http://unsemantic.com/ with material-ui ?

boustanihani avatar Nov 21 '15 18:11 boustanihani

@antilect I am having troubles combining the two. Can you show your source files?

mdeacey avatar Nov 22 '15 16:11 mdeacey

Adding react-flexbox-grid to the list of options.

mbrookes avatar Jan 06 '16 11:01 mbrookes