All Projects → Exelord → Ember Initials

Exelord / Ember Initials

Licence: mit
Advanced avatars generator for Ember applications. Initials Ⓜ, images 🌇, gravatars 👩🏻 and adorables 😍 All you need for your users profiles!

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Ember Initials

Routegen
Define your API and SPA routes in one place. Use them anywhere. Only 1.3kb.
Stars: ✭ 86 (-13.13%)
Mutual labels:  generator
Angular Librarian
An Angular 2+ scaffolding setup for creating libraries
Stars: ✭ 92 (-7.07%)
Mutual labels:  generator
Abphelper
ABPHelper is a Visual Studio Extension(VSIX) that helps you with developing ASP.NET Boilerplate applications.
Stars: ✭ 98 (-1.01%)
Mutual labels:  generator
Community
Modern Confluence alternative designed for internal & external docs, built with Golang + EmberJS
Stars: ✭ 1,286 (+1198.99%)
Mutual labels:  emberjs
Asset generator
根据pubspec.yaml中设置的目录模板自动向其中添加文件记录的简单脚本
Stars: ✭ 92 (-7.07%)
Mutual labels:  generator
Generator Ngx Rocket
🚀 Extensible Angular 11+ enterprise-grade project generator
Stars: ✭ 1,329 (+1242.42%)
Mutual labels:  generator
Paintbynumbersgenerator
Paint by numbers generator
Stars: ✭ 85 (-14.14%)
Mutual labels:  generator
Uno.sourcegeneration
A Roslyn based C# source generation framework
Stars: ✭ 99 (+0%)
Mutual labels:  generator
Api Client Generator
Angular REST API client generator from Swagger YAML or JSON file with camel case settigs
Stars: ✭ 92 (-7.07%)
Mutual labels:  generator
Entitas Sync Framework
Networking framework for Entitas ECS. Targeted at turnbased games or other slow-paced genres.
Stars: ✭ 98 (-1.01%)
Mutual labels:  generator
Imlazy
😴 Functional programming with lazy immutable iterables
Stars: ✭ 89 (-10.1%)
Mutual labels:  generator
Autovalueplugin
AutoValue plugin for IntelliJ
Stars: ✭ 91 (-8.08%)
Mutual labels:  generator
Node Typescript Mongodb
node js typescript mongodb express generator yo
Stars: ✭ 96 (-3.03%)
Mutual labels:  generator
Gopherkon
Go mascot image constructor. Create your cute own gopher.
Stars: ✭ 86 (-13.13%)
Mutual labels:  generator
Artifacts Kit
Pseudo-malicious usermode memory artifact generator kit designed to easily mimic the footprints left by real malware on an infected Windows OS.
Stars: ✭ 99 (+0%)
Mutual labels:  generator
Microgen
♻️ micro-generator for individual files, easy like sunday morning 🌅
Stars: ✭ 85 (-14.14%)
Mutual labels:  generator
Keygen Php
A fluent PHP random key generator.
Stars: ✭ 93 (-6.06%)
Mutual labels:  generator
Easy Doc Bundle
Symfony application documentation generator
Stars: ✭ 99 (+0%)
Mutual labels:  generator
Ember Testing Guide
Ember.js testing guides, practicies, examples
Stars: ✭ 98 (-1.01%)
Mutual labels:  emberjs
Booben
Web app constructor based on React, with GraphQL bindings
Stars: ✭ 96 (-3.03%)
Mutual labels:  generator

ember-initials

Ember Initials is a package for generating simple avatars using users initials, images, gravatars or adorables. It definitely supports Ember 3.16 (or higher). Thanks to highly customizable interface you can define defaults and even set fallbacks.

Demo App with code generators

Demo app with interactive examples you can find at http://exelord.github.io/ember-initials

Compatibility

  • Ember.js v3.16 or above
  • Ember CLI v2.13 or above
  • Node.js v10 or above

This addon has been tested on:

  • IE 10 and UP including EDGE
  • Firefox 44 and UP
  • Chrome 48 and UP
  • Opera 35 and UP

Install

ember install ember-initials

Quick start

Ember Initials gives you a built-in components which you can use in yours templates:

Initials avatars:
<EmberInitials @name="John Doe" />

or

<EmberInitials::Initials @name="John Doe" />
Image avatars:
<EmberInitials::Image @image="/url/to/avatar.png" />
Gravatar avatars:
<EmberInitials::Gravatar @email="[email protected]" />
Adorables avatars:
<EmberInitials::Adorable @email="[email protected]" />

Examples, configuration and code generator are available on Project Site.

API Documentation

EmberInitials

<EmberInitials
  @image="images/user.jpg"
  @name="Ember Initials"
  @defaultName="?"
  @seedText="Ember Initials"
  @textColor="white"
  @fontSize=55
  @fontWeight=100
  @fontFamily="Helvetica Neue Light, Arial, sans-serif"
  @size=200
/>
  • image - image url | if image will be not found the initials avatars will be used

  • name - name of user to generate initials

  • defaultName - if name will be not passed this name will be used

  • seedText - uniq string which will be used to generate background color, eg. user's email

  • textColor - color of the text (initials) | hash or name

  • fontSize - font size in px

  • fontWeight - font weight in px

  • fontFamily - names of fonts with fallbacks | at this time only system fonts can be used

  • size - size of the avatar in pixels (set null if you do not want to use elements attributes like width and height)

EmberInitials::Image

<EmberInitials::Image
  @image="images/user.jpg"
  @size=200
  @defaultImage="images/default.jpg"
/>
  • image - image url | if image will be not found the defaultImage will be used

  • defaultImage - default image url

  • size - size of the avatar in pixels (set null if you do not want to use elements attributes like width and height)

EmberInitials::Gravatar

<EmberInitials::Gravatar
  @image="images/user.jpg"
  @email="[email protected]"
  @defaultImage="images/default.jpg"
  @relativeUrl="true"
  @size=200
/>
  • image - image url | if image will be not passed the avatar will be generated form email thanks to gravatar

  • email - Email which will be used to fetching the gravatar

  • defaultImage - image src (relative or absolute URL depends on relativeUrl option) | if gravatar will not be found this image will be used

  • relativeUrl - true or false | decide which defaultImage url do you want to use - relative or absolute

  • size - size of the avatar in pixels (set null if you do not want to use elements attributes like width and height)

EmberInitials::Adorable

<EmberInitials::Adorable
  @image="images/user.jpg"
  @email="[email protected]"
  @size=50
/>
  • image - image url | if image will be not found the avatar will be generated form email thanks to adorable

  • email - Email which will be used to generating unique adorable avatar

  • size - size of the avatar in pixels (set null if you do not want to use elements attributes like width and height)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].