Hashvatar
Implementation of Hashvatar by François Best.
Installation
The package can be installed by adding hashvatar to your list of dependencies in mix.exs:
def deps do
[
{:hashvatar, "~> 1.0.0"}
]
endUsage
Example:
<Hashvatar.hashvatar
identifier={@user.uuid}
variant={:stagger}
line_color="#fffaf0"
/>Options:
identifier(required): the identifier used to generate the hashvatarvariant(default::normal): the variant, can be one of::normal,:stagger,:gem,:spider,:flowerline_color(default:"white"): the line color (as a CSS-like value)radius_factor(default:0.42): a coefficient for the circles radii