Dropdown
Dropdown
Dropdown provides a contextual menu for actions and selections that appears on trigger activation with smooth animation.
Visual Specifications
Section titled “Visual Specifications”| Property | Value |
|---|---|
| Min-width | 180-200px |
| Max-width | 320px |
| Border Radius | 8px |
| Shadow | Medium elevation |
| Padding | 8px vertical (container) |
| Item Height | 36-44px |
| Font Size | 14px |
Position Variants
Section titled “Position Variants”Appears below trigger, left-aligned (default)
Appears below trigger, right-aligned
Appears above trigger (when space limited)
Appears to the right of trigger
Item States
Section titled “Item States”| State | Appearance |
|---|---|
| Default | Transparent background |
| Hover | Light grey background (#f3f4f6) |
| Active/Focus | Brand color background |
| Disabled | Grey with reduced opacity |
| Selected | Checkmark icon visible |
| Destructive | Red color for dangerous actions |
Dropdown Types
Section titled “Dropdown Types”| Type | Usage |
|---|---|
| Action Menu | Commands (Edit, Delete, Share) |
| Selection | Choose from options |
| Navigation | Links to other pages |
| Filter | Filter content by criteria |
Usage Guidance
Section titled “Usage Guidance”When to use
Section titled “When to use”- Actions that don’t need primary buttons
- Secondary options and commands
- Selecting from a list of options
- Context-specific actions
- When space is limited
Best practices
Section titled “Best practices”| ✅ Do | ❌ Don’t |
|---|---|
| Keep items under 8 | Overload with many items |
| Group related items | Mix unrelated actions |
| Use clear, concise labels | Vague item names |
| Show keyboard shortcuts | Hide helpful hints |
| Include separators for groups | Confusing item hierarchy |
| Close on selection | Require manual close |
Item Guidelines
Section titled “Item Guidelines”| Item Type | Example |
|---|---|
| Action | ”Edit”, “Delete”, “Share” |
| Link | ”View Profile”, “Settings” |
| Toggle | ”Enable Notifications” |
| Destructive | ”Remove”, “Delete Account” |