Icons
This avatar style is based on: Bootstrap Icons by The Bootstrap Authors, licensed under MIT .
Open in PlaygroundUsage
Options
seed
Type
string
The seed determines the initial value for the built-in PRNG. With the PRNG you can create the same avatar over and over again based.
flip
Type
boolean
rotate
Type
integer
Minimum
0
Maximum
360
scale
Type
integer
Minimum
0
Maximum
200
radius
Type
integer
Minimum
0
Maximum
50
size
Type
integer
Minimum
1
backgroundColor
Type
array
Item Pattern
^(transparent|[a-fA-F0-9]{6})$
backgroundType
Type
array
backgroundRotation
Type
array
Specify an array of two numbers for this option. The PRNG will generate a number between the two values, which will be used as the rotation degree. The rotation is only visible if backgroundType
is set to ['gradientLinear']
.
translateX
Type
integer
Minimum
-100
Maximum
100
translateY
Type
integer
Minimum
-100
Maximum
100
clip
Type
boolean
randomizeIds
Type
boolean
This option randomize the IDs in the generated SVG / XML. This can be useful for example if the avatars are included directly in the HTML and you want to avoid ID collisions.
icon
Type
array
Details
Naming | |
---|---|
Collection Import |
|
Package Import |
|
CLI |
|
HTTP-API | https://api.dicebear.com/9.x/icons/svg |
JSON Schema | https://api.dicebear.com/9.x/icons/schema.json |
Source | |
---|---|
Title | Bootstrap Icons |
Creator | The Bootstrap Authors |
Website | https://getbootstrap.com/ |
License | MIT |
Source | https://github.com/twbs/icons |