Comments (2)
it will pick any of the avatar from the marble collection
I don't think it's a "collection" from where one can pick up Avatars. It's a variant, an input-output system. Regarding your use case, if you're looping through an array of objects or anything that has some value, you can always pass any string to it from the object's properties.
If you're looping without an array, you can do the following:
<Avatar
size={40}
name={Math.random().toString()}
variant="marble"
colors={["#92A1C6", "#146A7C", "#F0AB3D", "#C271B4", "#C20D90"]}
/>
from boring-avatars.
Wow sounds good! We can now close this one 👍 Thanks 🎉
from boring-avatars.
Related Issues (20)
- Increase Max-Age on Server HOT 1
- Vercel Payment Required HOT 13
- Framework-agnostic usage without React HOT 2
- Are you considering supporting PNG format avatars HOT 2
- Add support for initials HOT 1
- Restricts Avatar Variations due to Same Mask Use HOT 3
- v1.8.0 missing JS bundle HOT 1
- 500: INTERNAL_SERVER_ERROR HOT 3
- Export to png and set dimensions for it HOT 2
- Iterate on randomness HOT 1
- Same url generate different image HOT 1
- Add a "avatar" category tag to the github project HOT 1
- TypeError: n.useId is not a function HOT 4
- missing documentation to fork, run, build & potential contribute HOT 1
- `Element type is invalid` error in latest Remix.run project HOT 5
- Smooth deprecation suggestion HOT 2
- I subscribed to the service and never got my endpoint. Email to contact boringavatars is dead ... the link goes to "gmail.com" HOT 1
- Add support for `className` and `style` props HOT 7
- Invalid type attribute warning in TypeScript HOT 2
- Noisy warning about using the deprecated defaultProps API HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from boring-avatars.