The User is used inside the MainNavigation
and can display an avatar and username. It can be also used inside forms, etc. with the extended prop.
User
component to represent individual users, especially in contexts like navigation bars, user profiles, or forms.image
prop for adding user avatars, enhancing visual recognition.name
prop to display the user's name, ensuring it is clearly visible next to the avatar.ellipsis
prop for names that might be too long.description
and extendedDescription
props for additional user information, providing context and details about the user.User
component for non-user-related entities. It is specifically designed for representing individual users.When including user information, balance the display of textual information with visual elements. Use the ellipsis
, description
, and extendedDescription
props thoughtfully to ensure the component remains informative yet uncluttered.