Popover
A popup that displays content in a floating layer.
Installation
pnpm dlx @weme-ui/weme-ui add popoverCSS Variables
可在 *.style.ts 或 class 中使用,例如 bg-popover-bg。
CSS VariableValue
--popover-bgneutral.1
neutral.1
error.9 / success.7 等为语义色别名(色板阶),详见 Tokens。
Files
src/components/popover/popover.vuesrc/components/popover/popover.style.tssrc/components/popover/popover.props.ts