Letter Icons

AngularJS directive for simple letter icon like gmail/inbox.

Create Your Letter Icon

{{letterIcon}}

Enter a text at will and create your own icon:

Default Letter Icon

<letter-icon data="A" color="auto"></letter-icon>

Default Number Icon

<letter-icon data="1" color="auto"></letter-icon>

Sizes

Add size attribute with value sm or lg to your letter-icon element to change its size.

Hover

Add color-hover="auto" attribute to style your letter-icon element when you mouse over it.

Two Letters

Add char-count="2" attribute to show the first two uppercase characters.

ClipTheme

Custom Color

Add a custom color in the attribute color. You can also add attribute custom-class to set your own class.

Custom Hover Color

Add a custom color in the attribute color-hover. You can also add attribute custom-class to set your own class.

Icons

Use attribute icon instead attribute data to show an icon.

Round Letter Icon

<letter-icon data="A" color="auto" box="round"></letter-icon>

Round Number Icon

<letter-icon data="1" color="auto" box="round"></letter-icon>

Sizes

Add size attribute with value sm or lg to your letter-icon element to change its size.

Hover

Add color-hover="auto" attribute to style your letter-icon element when you mouse over it.

Two Letters

Add char-count="2" attribute to show the first two uppercase characters.

ClipTheme

Custom Color

Add a custom color in the attribute color. You can also add attribute custom-class to set your own class.

Custom Hover Color

Add a custom color in the attribute color-hover. You can also add attribute custom-class to set your own class.

Icons

Use attribute icon instead attribute data to show an icon.

Circle Letter Icon

<letter-icon data="A" color="auto" box="circle"></letter-icon>

Circle Number Icon

<letter-icon data="1" color="auto" box="circle"></letter-icon>

Sizes

Add size attribute with value sm or lg to your letter-icon element to change its size.

Hover

Add color-hover="auto" attribute to style your letter-icon element when you mouse over it.

Two Letters

Add char-count="2" attribute to show the first two uppercase characters.

ClipTheme

Custom Color

Add a custom color in the attribute color. You can also add attribute custom-class to set your own class.

Custom Hover Color

Add a custom color in the attribute color-hover. You can also add attribute custom-class to set your own class.

Icons

Use attribute icon instead attribute data to show an icon.