Newton's Principia Mathematica

    @freedomsex/contact-icon

    1.0.2 • Public • Published

    Contact Icon

    Vue component, color contact icon with a letter or image.

    Item

    Some data for choosing the Letter and Color.

    • Letter - first letter of name
    • Color - pseudo random(fixed) color

    Size

    A circle 40px. If small-icon prop - 28px;

    <ContactIcon :item="{name: Sasha}"/>
    <ContactIcon :item="{name: Sasha, age: 23, city: Moscow}"/>
    <ContactIcon :src="URL_TO_SOURCE_IMAGE"/>
    <ContactIcon :size="small-icon"/> # fixed color, no letter

    Keywords

    none

    Install

    npm i @freedomsex/contact-icon

    DownloadsWeekly Downloads

    1

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    6.22 kB

    Total Files

    11

    Last publish

    Collaborators

    • tebaly