Account Label

Display basic user account information with an optional image and additional meta text. When a href-attribute is present, the component renders as an anchor element.

'name' => 'Jane Doe',
'initials' => 'JD',
'image' => false,
'metaText' => false,
JS
Jakob Sievers
<x-accountLabel initials="JS" name="Jakob Sievers" />
Jakob Sievers
<x-accountLabel image="/path-to-image" name="Jakob Sievers" />
<x-accountLabel image="/path-to-image" name="Katie Avery" meta-text="10K Copiers" href="/profile/katie_avery" />