---
title: "Discussion on \"Building a Safe Initials Generator for Avatars in React\" | Hashnode"
description: "Discussion on \"Building a Safe Initials Generator for Avatars in React\". 1. Introduction\nWhen designing user interfaces, we often display avatars. If a user doesn’t upload a profile picture, we fall back to showing their initials.\nIt sounds simple, but in practice there are a few edge cases:\n\nWhat if the user has only one..."
url: "https://hashnode.com/posts/building-a-safe-initials-generator-for-avatars-in-react/68a1e706497068dab8376185"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Building a Safe Initials Generator for Avatars in React](https://internship-learnings.hashnode.dev/building-a-safe-initials-generator-for-avatars-in-react?utm_source=hashnode&utm_medium=feed)

1\. Introduction When designing user interfaces, we often display avatars. If a user doesn’t upload a profile picture, we fall back to showing their initials. It sounds simple, but in practice there are a few edge cases: What if the user has only one...

Aug 17, 2025 · 3 min read · internship-learnings.hashnode.dev  
Read the article

-   [#create-name-avatar](https://hashnode.com/tag/create-name-avatar)
-   [#react-avatart](https://hashnode.com/tag/react-avatart)
-   [#internshipexperience](https://hashnode.com/tag/internshipexperience)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#remix](https://hashnode.com/tag/remix)

## Written by

[Rohit K](https://hashnode.com/@ak01rohit)

@ak01rohit · New Delhi, Greater Noida

  
[View profile](https://hashnode.com/@ak01rohit)

🎓 B.Tech CSE | 👨‍💻 Learning DSA &amp; C++ | 🚀 Building projects &amp; writing what I learn | 📚 Currently solving LeetCode &amp; exploring Git/GitHub

## Responses

Comments are turned off for this post.
