Current grid size is: 4px.
Xxlarge space spans 24 rows.
  • Box For custom layouts.
Retrieves the space and grid definitions of the current theme from context.
const { space, grid } = useSpace()

return (
  <Placeholder width={grid * space.xxlarge} height={grid * space.xxlarge} />
)