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
| parameters | Description | Type | Optional value | Default value |
|---|---|---|---|---|
| scene | scene | number | 1、2、3、4、5 | 1 |
| data | data | IPlaneData | - | undefined |
| tooltipOptions | tooltip parameters | Object | Reference documentation(https://element-plus.org/en-US/component/tooltip#attributes) |
Slot
| Name | Description |
|---|---|
| left | Customize left content |
| middle | Customize intermediate content |
| right | Customize content on the right |
| footer | Customize bottom content |
