Center
Center is a component that aligns the child elements in the center within the component.
<Center h="xs" bg="bg.contrast" color="fg.contrast">
This is the Center
</Center>
Usage
import { Center } from "@yamada-ui/react"
import { Center } from "@/components/ui"
import { Center } from "@workspaces/ui"
<Center />
Props
Similar Components
ZStack
ZStack is used to stack child elements in depth.
VStack
VStack is used to stack child elements vertically.
Wrap
Wrap is a component that has wrap set on Flex. It inherits convenient style shorthand from Flex.
Stack
Stack is a component that groups elements and provides spacing between child elements.
Spacer
Spacer is a component used to add space between elements.
SimpleGrid
SimpleGrid is a component that makes Grid simpler and more user-friendly.
Separator
Separator is a component that represents a division between elements.
Group
Group is a component that groups and attaches multiple elements together.