A component to display user info.
1---2import { User } from '@studiocms/ui/components';3---4 5<User name='John Doe' description='A cool dude' />
You can provide an avatar using the same rules as the Image ⤴ component. To change the loading behavior, you can pass the loading attribute. It is passed to the <Image /> component.
avatar
Image
loading
<Image />
1---2import { User } from '@studiocms/ui/components';3import ProfileImage from '~/assets/profile.png'4---5 6<User name='John Doe' loading='eager' description='A cool dude' avatar={ProfileImage} />