n-ellipsis
CommunityTruncate text with tooltip and expand support.
Authorjiaiyan
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Text overflowing in UI layouts often breaks design; n-ellipsis provides truncation with tooltip preview and optional expansion to reveal full content.
Core Features & Use Cases
- Single Line Ellipsis: truncate a single line of text with a default tooltip.
- Line Clamp: multi-line truncation with configurable line count.
- Expand Trigger: click or programmatic trigger to reveal hidden content.
- Custom Tooltip: allow rich content in the tooltip.
- Practical Use Case: display long labels in table cells or cards without breaking layout.
Quick Start
Render a long text string as an ellipsis with optional line-clamp, tooltip preview, and expandable content.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: n-ellipsis Download link: https://github.com/jiaiyan/naive-ui-skills/archive/main.zip#n-ellipsis Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.