Skip to main content
Brand
Changelogv0.44

Component primitive

Brand Dropdown

<brand-dropdown> wraps Web Awesome's <wa-dropdown>. Put a trigger element in the trigger slot and a <brand-menu> in the default slot.

<brand-dropdown>Framework-agnostic custom element
Light themeSemantic surface
Dark themeSame component API
Element
<brand-dropdown>
Library
Brand
Runtime
Web Component
Theming
Semantic tokens

Basic

ActionsEditDuplicateDelete Options

Sort by

NameDate modifiedSize

View

GridList

With icons

File New Open Save Delete

Placements

TopOption AOption BRightOption AOption BLeftOption AOption B

Usage

import { BrandDropdown, BrandMenu } from '@brandos/ui';

<brand-dropdown placement="bottom-start">
  <brand-button slot="trigger" variant="natural">Actions</brand-button>
  <brand-menu>
    <wa-dropdown-item value="edit">Edit</wa-dropdown-item>
    <wa-dropdown-item value="delete">Delete</wa-dropdown-item>
  </brand-menu>
</brand-dropdown>