Install
$ agentstack add skill-jiaiyan-element-plus-skills-el-badge ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Badge Component
Badge component displays a number or status mark on buttons and icons for notifications and status indicators.
When to Use
- Notification counts
- Status indicators
- Unread message badges
- Attention markers
Basic Usage
comments
replies
Max Value
comments
Customizations
comments
replies
Red Dot
query
Offset
Offset badge
API Reference
Attributes
| Name | Description | Type | Default | |------|-------------|------|---------| | value | Display value | string \| number | '' | | max | Maximum value, shows {max}+ when exceeded | number | 99 | | is-dot | Display as a dot | boolean | false | | hidden | Hidden badge | boolean | false | | type | Badge type | 'primary' \| 'success' \| 'warning' \| 'danger' \| 'info' | 'danger' | | show-zero | Show badge when value is zero | boolean | true | | color | Background color of the dot | string | — | | offset | Offset of badge | [number, number] | [0, 0] | | badge-style | Custom style of badge | CSSProperties | — | | badge-class | Custom class of badge | string | — |
Slots
| Name | Description | Type | |------|-------------|------| | default | Customize default content | — | | content | Customize badge content | { value: string } |
Common Patterns
Notification Badge
import { ref } from 'vue'
const unreadCount = ref(5)
Best Practices
- Use
maxto prevent large numbers from overflowing - Use
is-dotfor simple status indicators - Set
hiddenwhen count is zero andshow-zerois false
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: jiaiyan
- Source: jiaiyan/element-plus-skills
- License: MIT
- Homepage: https://skills.sh/jiaiyan/element-plus-skills/element-plus-skills
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.