Leave Yamada UI a star

Star
Yamada UIYamada UIv1.7.2

Spacer

Spacer is a component used to add space between elements.

Source@yamada-ui/layouts

Import

import { Spacer } from "@yamada-ui/react"
Copied!

Usage

Editable example

<Flex w="full" gap="md">
  <Box p="md" rounded="4" bg="primary" color="white">
    Box
  </Box>

  <Spacer />

  <Box p="md" rounded="4" bg="secondary" color="white">
    Box
  </Box>
</Flex>
Copied!

Edit this page on GitHub

PreviousSimpleGridNextBleed