For vue2 projects, use @94ai/common-ui
LLMs.md

nf-indicator-plane ​

Metric cards with five layouts and four replaceable slots.

Import the components below; see the package README for standalone installation.

Scenario 1 ​

Loading example…
Scenario 1

Scenario 2 ​

Loading example…
Scenario 2

Scenario 3 ​

Loading example…
Scenario 3

Scenario 4 ​

Loading example…
Scenario 4

Scenario 5 ​

Loading example…
Scenario 5

Interface ​

ts
interface IPlaneData {
  name?: string // Name
  count?: number | string // Quantity
  unit?: string // unit
  desc?: string // Description
  rate?: number | string // Proportion
  bgColor?: string // background color
  color?: string // Highlight digital colors
}

Attribute ​

parametersDescriptionTypeOptional valueDefault value
scenescenenumber1、2、3、4、51
datadataIPlaneData-undefined
tooltipOptionstooltip parametersObjectReference documentation(https://element-plus.org/en-US/component/tooltip#attributes)

Slot ​

NameDescription
leftCustomize left content
middleCustomize intermediate content
rightCustomize content on the right
footerCustomize bottom content