Ctrl + K
Get StartedStylesCoreCompsCDK
Actions
Action Sheet
Button
Button Group
Context Menu
Dropdown Button
Menu
Side Menu
Form & Editors
Checkbox
Color Box
Color Palette
Cron Job
Date & Time Box
Date & Time Picker
Form
Image Editor
Json Viewer
Number Box
One time password
Paint
Password Box
Phone Box
Query Builder
Range Slider
Rate Picker
Rest Api Generator
Search Box
Select Box
Selection List
Step Wizard
Switch
Tag Box
Text Box
Textarea
Tree View
Uploader
WYSIWYG
Navigation & Layout
Avatar
Badge
Bottom Navigation
Breadcrumb
Calendar
Chips
Circular Progress
Collapse
Comment
Conversation
Data Pager
Data Table
Drawer
File Explorer
Grid Layout Builder
Image
KBD
List
Loading
Map
Media Viewer
Navbar
Picker
Popover
Popup
Progress Bar
Qrcode
Rail Navigation
Result
Skeleton
Sliding Item
Tabs
Tag
Time Line
Toolbar
Tooltip
Dialog & Notifications
Alert
Dialog
Loading Dialog
Notification
Toast

Dropdown Button

import { AXDropdownButtonModule } from '@acorex/components/dropdown-button'; Dropdown Button enables you to seamlessly combine a button and a dropdown into one unified element. It allows users to trigger actions with the button while providing additional options through the dropdown, enhancing functionality and streamlining the user interface.

Overview

In this section, you can test different options of this component and see the output in real time
Primary
Solid
MD
Split

Usage

A simple example of using ax-dropdown-button
Preview
Code

Design Tokens

Design tokens are variables that define the visual style of ACoreX components. You can use them to change colors, typography, spacing, and other visual aspects. Default component colors use system surface colors.
--ax-comp-dropdown-button-divider-color-solidvar(--ax-sys-color-#{$name}-dark-surface)this variable specifies the solid color used for the divider between items in a dropdown button component. It helps visually separate options, ensuring clarity and organization within the dropdown.
--ax-comp-dropdown-button-divider-color-outlinevar(--ax-sys-color-#{$name}-surface)defines the outline color for the divider between items in a dropdown button component. It provides a subtle visual separation, maintaining the overall design's refinement and clarity.
--ax-comp-dropdown-button-divider-color-twotonevar(--ax-sys-color-#{$name}-lighter-surface)this variable specifies a two-tone color scheme for the divider between items in a dropdown button component. It creates a visually appealing and dynamic separation, enhancing the dropdown's design aesthetics.

Copyright ©2017-2025 ACoreX Labs Inc.

On this page