Skip to content

Grid

Responsive layout grid inspired by MUI.

import { Grid, Box } from '@truongdq01/ui';
<Grid container spacing={2}>
<Grid size={6}>
<Box style={{ height: 40, backgroundColor: '#e2e8f0' }} />
</Grid>
<Grid size={6}>
<Box style={{ height: 40, backgroundColor: '#cbd5f5' }} />
</Grid>
</Grid>;
  • Refer to the component props in the API reference or source for advanced configuration.