Skip to content

Logo items

The DropdownMenu component supports logo items using the DropdownMenu.LogoItem component. This allows you to create items with logos that can be used to represent brands or services.

Properties

LogoItem

The LogoItem component is a specialized item that displays a logo.

<DropdownMenu.LogoItem
logo="gitlab" // logo name
title="Item title" // title of the item
original // [OPTIONAL] use original logo colors
description="Description" // [OPTIONAL] description text
label="Label" // [OPTIONAL] right-aligned label
shortcut="⌘K" // [OPTIONAL] keyboard shortcut
checkmark // [OPTIONAL] show checkmark icon
className="my-class" // [OPTIONAL] custom class
disabled // [OPTIONAL] disable the item
onSelect={onSelect} // [OPTIONAL] event handler
>
{/* Optional nested items for submenu */}
</DropdownMenu.LogoItem>
Prop
Required
Default
Type
logotruestring
originalfalsefalseboolean
titletrueReactNode
descriptionfalsestring
labelfalsestring
shortcutfalsestring
checkmarkfalsefalseboolean
tagfalseTagProps
classNamefalsestring
disabledfalsefalseboolean
onSelectfalse(event: Event) => void
childrenfalseReactNode