Our grid implementation uses Flexbox as the underlying layout mechanism for teams to achieve 12/16 column layouts. As we look towards dropping support for IE11 in our next release, it would make sense for us to provide first-class support for CSS Grid.
Job stories
When building a page, I want to nest a grid, so the implementation can stay in line with the IBM Design Language grid specifications.
When building a page, I want the default grid to contain 16 columns, so I don't have to learn and configure feature flags.
Success measures
@carbon/grid utility classes and Sass mixins/functions use CSS Grid properties instead of Flexbox properties
Grid and Column React components use the updated @carbon/grid package
Nested Grid components/children are automatically applied subgrid-related classes/styling.
Deprecate the Row component, it's no longer needed
Updated documentation for all of the above. The grid package, as well as the React components
Summary
Our grid implementation uses Flexbox as the underlying layout mechanism for teams to achieve 12/16 column layouts. As we look towards dropping support for IE11 in our next release, it would make sense for us to provide first-class support for CSS Grid.
Job stories
Success measures
@carbon/grid
utility classes and Sass mixins/functions use CSS Grid properties instead of Flexbox propertiesGrid
andColumn
React components use the updated@carbon/grid
packageGrid
components/children are automatically appliedsubgrid
-related classes/styling.Row
component, it's no longer neededSponsoring team
Carbon team