
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
@nacho-ui/avatars
Advanced tools
The Nacho Avatars addon is used for when we want to render a rounded image for a particular individual's avatar image. We also provide macro components for viewing an avatar's details or creating stacked facepiles and rollups.
ember install @nacho-ui/avatars
Note: This addon requires that your host application also includes the @nacho-ui/core addon, which provides some cores stylings and scss functions that are used throughout many nacho addons. It also requires that your application uses SCSS. Otherwise, the consuming application will have to write it's own look and feel
// <your host app>/styles/app.scss
@import 'nacho-core';
@import 'nacho-avatars';
...
In your application, you should at some point use a fallback URL if you plan on having a default avatar appear in cases where the url did not load.
// This is just an example
import { inject as service } from '@ember/service';
export default class Application extends Route {
nachoAvatarService = inject('nacho-avatars');
...
constructor() {
super(...arguments);
this.get('nachoAvatarService').set('imgFallbackUrl', 'https://vignette.wikia.nocookie.net/starwars/images/2/20/LukeTLJ.jpg/revision/latest?cb=20170927034529');
}
...
}
Then in your templates, you can try to use your avatar images
<!-- your-template.hbs -->
<div>
{{nacho-avatar
img="cdn.linkedin.media/getimage/ash-ketchum.jpg"
altText="Ash Ketchum"
}}
...
</div>
git clone <repository-url>cd nacho-avatarsyarn installyarn lint:hbsyarn lint:jsyarn lint:js --fixember test – Runs the test suite on the current Ember versionember test --server – Runs the test suite in "watch mode"ember try:each – Runs the test suite against multiple Ember versionsember serveFor more information on using ember-cli, visit https://ember-cli.com/.
This project is licensed under the MIT License.
FAQs
The go-to addon for rounded avatar image components and macro-components
The npm package @nacho-ui/avatars receives a total of 8 weekly downloads. As such, @nacho-ui/avatars popularity was classified as not popular.
We found that @nacho-ui/avatars demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.