Skip to content

Popover

A popup that displays content in a floating layer.

Installation

pnpm dlx @weme-ui/weme-ui add popover

CSS Variables

可在 *.style.ts 或 class 中使用,例如 bg-popover-bg。

CSS VariableValue
--popover-bgneutral.1
neutral.1

error.9 / success.7 等为语义色别名(色板阶),详见 Tokens。

Files

  • src/components/popover/popover.vue
  • src/components/popover/popover.style.ts
  • src/components/popover/popover.props.ts