Skip to content

SidebarUserBlock

Source: client/lib/theme/vueda-tailwind/navigation/index.js

Horizontal account row for the sidebar footer.

Vue component: SidebarUserBlock

SlotDefault classesDescription
root3 classesHorizontal account row for the sidebar footer.
textflex min-w-0 flex-1 flex-col group-data-[collapsible=icon]:hiddenMin-width guard for truncating name and role text beside the avatar and action button.
nametruncate text-[length:var(--vueda-text-body)] font-medium leading-tight text-sidebar-foregroundDisplay-name text. Tight leading and truncation keep long names inside the dense footer row.
roletruncate text-[length:var(--vueda-text-micro)] font-normal leading-tight text-muted-foregroundSecondary role text using the same micro scale as SidebarGroupLabel.root.
kebabcontents group-data-[collapsible=icon]:hiddenSlot wrapper for the optional account-menu trigger. Hidden in the icon-collapsed rail.

root

Horizontal account row for the sidebar footer.

Default classes:

text
flex w-full items-center gap-2
group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:justify-center group-data-[collapsible=icon]:gap-0
group-data-[collapsible=icon]:overflow-hidden group-data-[collapsible=icon]:p-0!

Source: client/lib/theme/vueda-tailwind/navigation/SidebarUserBlock.theme.js:16

text

Min-width guard for truncating name and role text beside the avatar and action button.

Default classes:

flex min-w-0 flex-1 flex-col group-data-[collapsible=icon]:hidden

Source: client/lib/theme/vueda-tailwind/navigation/SidebarUserBlock.theme.js:27

name

Display-name text. Tight leading and truncation keep long names inside the dense footer row.

Default classes:

truncate text-[length:var(--vueda-text-body)] font-medium leading-tight text-sidebar-foreground

Source: client/lib/theme/vueda-tailwind/navigation/SidebarUserBlock.theme.js:31

role

Secondary role text using the same micro scale as SidebarGroupLabel.root.

Default classes:

truncate text-[length:var(--vueda-text-micro)] font-normal leading-tight text-muted-foreground

Source: client/lib/theme/vueda-tailwind/navigation/SidebarUserBlock.theme.js:38

kebab

Slot wrapper for the optional account-menu trigger. Hidden in the icon-collapsed rail.

Default classes:

contents group-data-[collapsible=icon]:hidden

Source: client/lib/theme/vueda-tailwind/navigation/SidebarUserBlock.theme.js:45

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2