n-image

Community

Display images with preview and lazy loading.

Authorjiaiyan
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Display images with built-in preview, lazy loading, and error handling to simplify image rendering and ensure a consistent user experience.

Core Features & Use Cases

  • Image Preview: Click to enlarge and preview single images.
  • Image Group / Galleries: Group images for gallery-style preview.
  • Lazy Loading: Load images only when they enter the viewport.
  • Error Handling: Fallback images and slots for custom error content.
  • Customization: Optional toolbar and preview options for flexible UI.

Quick Start

Create an n-image with a src prop to display an image and optionally enable preview, lazy loading, and an error fallback.

Dependency Matrix

Required Modules

None required

Components

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-image
Download link: https://github.com/jiaiyan/naive-ui-skills/archive/main.zip#n-image

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.