MCPInstall

syncfusion-javascript-avatar

Implement Syncfusion TypeScript Avatar components for user representations. Use when user needs to display user profiles, avatars with different shapes (circular or rectangular), custom sizing, media formats (images, SVG, icons, letters), color customization, or integrate avatars with other controls like Badge or ListView.

Installs
54
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/syncfusion/javascript-ui-controls-skills --skill syncfusion-javascript-avatar
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads syncfusion-javascript-avatar automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Implementing Avatar Control

The Syncfusion Avatar control is a lightweight component used to display user profiles and representations in various formats including images, SVG, font icons, letters, and words. Avatars are essential for user-facing applications, contact lists, notification badges, and profile sections.

When to Use Avatar

Use the Avatar control when you need to:

  • Display user profile pictures or initials
  • Create circular or rectangular user representations
  • Show notification counts with badges
  • Build contact lists or user directories
  • Implement user avatars in messaging or social applications
  • Display profile indicators with custom sizes and colors
  • Integrate user representations with other UI components

Control Overview

The Avatar control provides:

  • Multiple shapes: Default (rounded rectangle) and circle
  • 5 predefined sizes: XLarge, Large, Default, Small, XSmall
  • Multiple media formats: Images, SVG, font icons, letters, and words
  • Color customization: Default gray or custom CSS classes
  • Component integration: Works with Badge and ListView controls
  • Responsive design: Scales based on font-size
  • ES5 and modern module support: Compatible with various project setups

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Installation and dependencies setup
  • Webpack and CSS configuration
  • Basic avatar implementation with HTML span
  • Running the application
  • ES5 global script alternatives
  • CDN setup options

Avatar Types and Sizes

📄 Read: references/avatar-types-and-sizes.md

  • Avatar shape types (Default and Circle)
  • Five size classes explained
  • Size reference table
  • Complete code examples for each type and size
  • Visual demonstrations

Customization and Styling

📄 Read: references/customization.md

  • Color customization with CSS classes
  • Custom sizing using font-size scaling
  • Multiple media format support (images, SVG, icons, letters, words)
  • CSS class customization examples
  • Responsive design considerations
  • Custom color palette examples

Avatar with Badge Integration

📄 Read: references/avatar-with-badge.md

  • Combining Avatar with Badge control
  • Notification badge positioning and styling
  • Badge overlap technique
  • Examples with all size combinations
  • Notification badge with different counts

Avatar in ListView

📄 Read: references/avatar-in-listview.md

  • Integrating Avatar with ListView control
  • Creating contact list applications
  • TypeScript implementation with data binding
  • Template binding with conditional rendering
  • Avatar positioning and styling in list items
  • Complete working example with multiple contacts

Quick Start Example

Basic avatar with default styling:

<!DOCTYPE html>
<html lang="en">
<head>
    <title>Avatar Quick Start</title>
    <link href="url" rel="stylesheet" />
    <link href="url" rel="stylesheet" />
</head>
<body>
    <!-- Default square avatar with initials -->
    <span class="e-avatar">AB</span>
    
    <!-- Circle avatar -->
    <span class="e-avatar e-avatar-circle">JD</span>
    
    <!-- Avatar with image -->
    <span class="e-avatar e-avatar-circle" style="background-image: url('profile.jpg')"></span>
</body>
</html>

Common Patterns

Pattern 1: Different Sizes

Apply size classes with the base .e-avatar class:

<span class="e-avatar e-avatar-xlarge">AB</span>
<span class="e-avatar e-avatar-large">AB</span>
<span class="e-avatar">AB</span>
<span class="e-avatar e-avatar-small">AB</span>
<span class="e-avatar e-avatar-xsmall">AB</span>

Pattern 2: Color Variations

Create custom color classes for avatars:

<span class="e-avatar e-avatar-circle primary">JD</span>
<span class="e-avatar e-avatar-circle success">MK</span>
<span class="e-avatar e-avatar-circle warning">LP</span>
.e-avatar.primary {
    background-color: #0071c1;
    color: white;
}

.e-avatar.success {
    background-color: #00b251;
    color: white;
}

.e-avatar.warning {
    background-color: #ffc900;
    color: #333;
}

Pattern 3: Mixed Media Types

Display different avatar formats in a row:

<div class="avatar-group">
    <!-- Image avatar -->
    <span class="e-avatar e-avatar-large" style="background-image: url('user1.jpg')"></span>
    
    <!-- SVG avatar -->
    <span class="e-avatar e-avatar-large">
        <svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
            <circle cx="16" cy="16" r="15" fill="currentColor"/>
        </svg>
    </span>
    
    <!-- Letter avatar -->
    <span class="e-avatar e-avatar-large">AB</span>
    
    <!-- Icon avatar -->
    <span class="e-avatar e-avatar-large">
        <i class="icon-user"></i>
    </span>
</div>

Pattern 4: Avatar with Status Badge

Combine avatar with notification indicator:

<div style="position: relative; display: inline-block;">
    <span class="e-avatar e-avatar-large e-avatar-circle">JD</span>
    <span class="e-badge e-badge-success e-badge-overlap e-badge-circle">●</span>
</div>

Key Properties and Classes

Size Classes

  • .e-avatar-xlarge - Extra large avatar
  • .e-avatar-large - Large avatar
  • .e-avatar - Default size
  • .e-avatar-small - Small avatar
  • .e-avatar-xsmall - Extra small avatar

Shape Classes

  • .e-avatar - Default (rounded rectangle)
  • .e-avatar-circle - Circular shape

Media Support

  • Images: Use background-image property with background-size: cover
  • SVG: Embed SVG markup or reference SVG files
  • Icons: Use icon fonts or icon libraries
  • Text: Display initials or short text directly

Common Use Cases

User Profile Display Display user avatar and information in a profile card with the appropriate size and shape.

Contact List Use small or xsmall avatars in ListView for displaying contact lists with initials or profile pictures.

Notification Badge Combine avatar with Badge control to show notification counts or status indicators.

Team Member Grid Display team members in a grid layout with different avatar types and custom colors.

Chat Application Use avatars in message threads to identify senders using small circle avatars with custom colors.

User Selection UI Present users in dropdown or selection lists with consistent avatar styling and sizing.

Next Steps

  • Read Getting Started for installation and basic setup
  • Explore Types and Sizes for different shape and size options
  • Learn Customization for colors and media formats
  • Check Badge Integration for notification scenarios
  • Review ListView Integration for contact list patterns

FAQ

What does the syncfusion-javascript-avatar skill do?

Implement Syncfusion TypeScript Avatar components for user representations. Use when user needs to display user profiles, avatars with different shapes (circular or rectangular), custom sizing, media formats (images, SVG, icons, letters), color customization, or integrate avatars with other controls like Badge or ListView.

How do I install syncfusion-javascript-avatar?

Run npx skills add https://github.com/syncfusion/javascript-ui-controls-skills --skill syncfusion-javascript-avatar in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/syncfusion-javascript-avatar/ (personal) or .claude/skills/syncfusion-javascript-avatar/ (project).

Which AI agents can use syncfusion-javascript-avatar?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is syncfusion-javascript-avatar safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains syncfusion-javascript-avatar?

It is published by syncfusion in syncfusion/javascript-ui-controls-skills. It has 54 recorded installs.

More from syncfusion/javascript-ui-controls-skills

View all →

syncfusion-javascript-grid

syncfusion/javascript-ui-controls-skills

Implements Syncfusion JavaScript Grid component for feature-rich data tables and grids. Use this when working with data display, sorting, filtering, grouping, aggregates, editing, or exporting. This skill covers grid configuration, CRUD operations, virtual scrolling, hierarchy grids, state persistence, and advanced data management features for data-intensive applications.

syncfusion-javascript-common

syncfusion/javascript-ui-controls-skills

Common utilities and features for Syncfusion JavaScript controls. Use this skill when the user needs to implement animations, drag-and-drop, state persistence, RTL support, localization, globalization, security, templates, and advanced features for Syncfusion JavaScript controls.

syncfusion-javascript-dropdowns

syncfusion/javascript-ui-controls-skills

Comprehensive guide for implementing Syncfusion TypeScript dropdown components including AutoComplete, ComboBox, Mention, Dropdownlist, Multiselect, ListBox, and MultiColumn ComboBox. Use this when building selection interfaces, data binding, filtering, cascading dropdowns, dual list transfer, custom templates, and accessible dropdown experiences.

syncfusion-javascript-license

syncfusion/javascript-ui-controls-skills

Open the skill to read its SKILL.md instructions.

syncfusion-javascript-popups

syncfusion/javascript-ui-controls-skills

Open the skill to read its SKILL.md instructions.

syncfusion-javascript-tab

syncfusion/javascript-ui-controls-skills

This skill enables creating and customizing Syncfusion TypeScript Tab components, including tab navigation, tab headers, styling, responsive layouts, dynamic content loading, animations, and multi-panel organization.

Popular media & creative skills

View category →

hyperframes

heygen-com/hyperframes

Read first to make, edit, animate or render any video with HyperFrames (HTML rendered to video), including launch films, explainers, music videos, charts, maps, vertical clips, title cards, captions and overlays. Holds the render contract, the work loop and what each kind of video needs.

Media & Creative1.2M installs

media-use

heygen-com/hyperframes

Get or make any media for a HyperFrames video - music, sound effects, images, icons, logos, voiceover, avatar and generated video, transcripts, cutouts, colour grades and looks - with HeyGen or free local tools, and mix placed audio. Also for footage that looks dark, flat or dull, or should be stylized or hidden.

Media & Creative1.1M installs

hyperframes-registry

heygen-com/hyperframes

About 450 ready-made HyperFrames blocks and components installed as editable source - transitions, overlays, titles, kinetic type, captions, charts, map overlays, 3D, camera moves. Use it before hand-building any named visual (CRT scanlines, glitch, film grain, a chart); also for hyperframes add and catalog.

Media & Creative1M installs

hyperframes-creative

heygen-com/hyperframes

Non-animation creative direction for HyperFrames videos. Use for design spec (frame.md / design.md) handling, palettes, typography, narration, beat planning, audio-reactive visuals, composition patterns, and brand / style decisions. For atomic motion patterns and scene blueprints, use hyperframes-animation.

Media & Creative916.5K installs

ai-video-generation

101-skills/superpowers

Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0, HappyHorse 1.0, Wan 2.5, Grok Imagine Video, OmniHuman, Fabric, HunyuanVideo. Capabilities: text-to-video, image-to-video, reference-to-video, video editing, lipsync, avatar animation, video upscaling, foley sound. Use for: social media videos, marketing content, explainer videos, product demos, AI avatars. Triggers: video generation, ai video, text to video, image to video, veo, animate image, video from image, ai animation, video generator, generate video, t2v, i2v, ai video maker, create video with ai, runway alternative, pika alternative, sora alternative, kling alternative, seedance, happyhorse

Media & Creative881.5K installs

ai-image-generation

101-skills/superpowers

Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FLUX.2 Klein LoRA, Gemini 3 Pro Image, Grok Imagine, Seedream 4.5, Reve, ImagineArt. Capabilities: text-to-image, image-to-image, inpainting, LoRA, image editing, upscaling, text rendering. Use for: AI art, product mockups, concept art, social media graphics, marketing visuals, illustrations. Triggers: flux, image generation, ai image, text to image, stable diffusion, generate image, ai art, midjourney alternative, dall-e alternative, text2img, t2i, image generator, ai picture, create image with ai, generative ai, ai illustration, grok image, gemini image, gpt image, openai image, chatgpt image

Media & Creative880.3K installs