Skip to main content
Version: Next

Grid API

import { Grid } from '@editora/ui-react';

Props​

PropTypeDescription
alignResponsive<CssValue>
alignContentResponsive<CssValue>
autoColumnsResponsive<CssValue>
autoFlowResponsive<CssValue>
autoRowsResponsive<CssValue>
columnGapResponsive<CssValue>
columnsResponsive<CssValue>
displayResponsive<'grid' | 'inline-grid' | CssValue>
gapResponsive<CssValue>
headlessboolean
justifyResponsive<CssValue>
justifyContentResponsive<CssValue>
placeResponsive<CssValue>
placeContentResponsive<CssValue>
rowGapResponsive<CssValue>
rowsResponsive<CssValue>

Also accepts the standard HTML and React props of the element it renders (className, style, id, aria-*, data-*, event handlers).

Element: <ui-grid>​

Grid renders the ui-grid custom element from @editora/ui-core, which can also be used without React.

Attributes: classname, headless

Events: layoutchange