Displays user's primary role name.
The primary role is determined as the first role in the user's roles list. If the user has no roles, displays "No role".
Attributes
user- User struct with preloaded rolesclass- CSS classes
Examples
<.primary_role user={user} />
<.primary_role user={user} class="font-semibold" />Attributes
user(:map) (required)class(:string) - Defaults to"".