Leave Yamada UI a star

Star
Yamada UIYamada UIv1.5.1

Popover

Popover is a component that floats around an element to display information.

Source@yamada-ui/popover

Theming

The Popover is a multi part component.

export const Popover: ComponentMultiStyle<"Popover"> = {
baseStyle: {
container: {
rounded: "md",
bg: ["white", "black"],
border: "1px solid",
borderColor: ["blackAlpha.200", "whiteAlpha.100"],
color: "inherit",
boxShadow: ["lg", "dark-lg"],
zIndex: "guldo",
_focusVisible: {
outline: 0,
boxShadow: "outline",
},
},
closeButton: {
top: "2",
right: "2",
},
header: {
p: "sm",
gap: "sm",
fontWeight: "semibold",
borderBottom: "1px solid",
borderColor: "inherit",
},
body: {
my: "sm",
px: "sm",
gap: "sm",
},
footer: {
p: "sm",
gap: "sm",
borderTop: "1px solid",
borderColor: "inherit",
},
},
}
Copied!

Edit this page on GitHub

PreviousContextMenuNextTooltip