fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

Component API for Fabric grid layout

Open dcowen91 opened this issue 7 years ago • 1 comments

In order to use the fabric grid layout, you have to import the entire fabric css, and manually specify classnames on divs. Can a react component API be built to encapsulate this?

<GridRow >
  <GridCol sizes={{sm: 6, md: 4, lg: 2}}>
    {content}
  </GridCol>
</GridRow/>

What component or utility would this be added to

New components for Grid,GridRow, GridCol.

dcowen91 avatar Oct 16 '19 22:10 dcowen91

Since CSS now has first-class support for grid layout, we're not likely to implement a component for applying the Fabric Core grid classes at this point.

However, we do have an issue #5418 for adding a component which encapsulates the built-in CSS grid. No current ETA for when we'll get that done, but it's definitely on our radar.

ecraig12345 avatar Oct 24 '19 00:10 ecraig12345