Definition files of the DiceBear avatar styles.
Project description
DiceBear Avatar Styles
This repository contains all official avatar style definitions for
DiceBear. An avatar style definition is a JSON file
that describes how to create an avatar. It contains all necessary information
like available elements and colors. The JSON files are ideal for creating
avatars in different programming languages with the corresponding DiceBear
wrapper. The JSON schema for the avatar style definitions can be found in the
@dicebear/schema package.
Generate definitions
Most of the JSON files were created using the
DiceBear Exporter
for Figma. The used Figma files are linked in the figma folder. Files created
with this plugin are marked accordingly and should not be adjusted manually, but
exported again with the Figma plugin.
Usage
JavaScript
npm install @dicebear/styles
import adventurer from '@dicebear/styles/adventurer.json' with { type: 'json' };
import lorelei from '@dicebear/styles/lorelei.json' with { type: 'json' };
PHP
composer require dicebear/styles
$basePath = \Composer\InstalledVersions::getInstallPath('dicebear/styles');
$adventurer = json_decode(file_get_contents($basePath . '/src/adventurer.json'), true);
$lorelei = json_decode(file_get_contents($basePath . '/src/lorelei.json'), true);
Python
pip install dicebear-styles
import json
from importlib.resources import files
adventurer = json.loads(files('dicebear_styles').joinpath('adventurer.json').read_text('utf-8'))
lorelei = json.loads(files('dicebear_styles').joinpath('lorelei.json').read_text('utf-8'))
Contributing
See CONTRIBUTING.md for local development, testing, and the release process.
License
The avatar styles are licensed under different licenses. More information can be found in the file LICENSE.md or in the definition files themselves.
Sponsors
Advertisement: Many thanks to our sponsors who provide us with free or discounted products.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dicebear_styles-10.1.0rc1.tar.gz.
File metadata
- Download URL: dicebear_styles-10.1.0rc1.tar.gz
- Upload date:
- Size: 679.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4b89db086c4f2e681ffd50622bb29e9bd237129cbd654405572d413bafd86ad
|
|
| MD5 |
efd5d716a9e104e86cf455e3244b9931
|
|
| BLAKE2b-256 |
8b09d3cf7f17683f7b7e4d4a7731e4489d01f46da2dcab32e51667be7b58a7b8
|
Provenance
The following attestation bundles were made for dicebear_styles-10.1.0rc1.tar.gz:
Publisher:
publish.yml on dicebear/styles
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dicebear_styles-10.1.0rc1.tar.gz -
Subject digest:
c4b89db086c4f2e681ffd50622bb29e9bd237129cbd654405572d413bafd86ad - Sigstore transparency entry: 1684893694
- Sigstore integration time:
-
Permalink:
dicebear/styles@241b3d5cbcc988bf54142fd1963d2b20d3f64092 -
Branch / Tag:
refs/tags/v10.1.0-rc.1 - Owner: https://github.com/dicebear
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@241b3d5cbcc988bf54142fd1963d2b20d3f64092 -
Trigger Event:
push
-
Statement type:
File details
Details for the file dicebear_styles-10.1.0rc1-py3-none-any.whl.
File metadata
- Download URL: dicebear_styles-10.1.0rc1-py3-none-any.whl
- Upload date:
- Size: 705.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
841b50367c6ad82386218998be733c6fd97c57ae7dba09044a9b7638c2081073
|
|
| MD5 |
c61b5890d227641f31a33cb08b51c992
|
|
| BLAKE2b-256 |
b2ab5b9ff32144176b9fa7c77d4c9ed798e7f152cd55dd489850514948800740
|
Provenance
The following attestation bundles were made for dicebear_styles-10.1.0rc1-py3-none-any.whl:
Publisher:
publish.yml on dicebear/styles
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dicebear_styles-10.1.0rc1-py3-none-any.whl -
Subject digest:
841b50367c6ad82386218998be733c6fd97c57ae7dba09044a9b7638c2081073 - Sigstore transparency entry: 1684894021
- Sigstore integration time:
-
Permalink:
dicebear/styles@241b3d5cbcc988bf54142fd1963d2b20d3f64092 -
Branch / Tag:
refs/tags/v10.1.0-rc.1 - Owner: https://github.com/dicebear
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@241b3d5cbcc988bf54142fd1963d2b20d3f64092 -
Trigger Event:
push
-
Statement type: