---
title: Dropdown Blade component
---
## Overview
The dropdown component allows you to render a dropdown menu with a button that triggers it:
```blade
More actions
View
Edit
Delete
```
## Using a dropdown item as an anchor link
By default, a dropdown item's underlying HTML tag is ``. You can change it to be an `` tag by using the `tag` attribute:
```blade
Filament
```
## Changing the color of a dropdown item
By default, the color of a dropdown item is "gray". You can change it to be `danger`, `info`, `primary`, `success` or `warning` by using the `color` attribute:
```blade
Edit
Edit
Edit
Edit
Edit
```
## Adding an icon to a dropdown item
You can add an [icon](https://blade-ui-kit.com/blade-icons?set=1#search) to a dropdown item by using the `icon` attribute:
```blade
Edit
```
## Adding an image to a dropdown item
You can add a circular image to a dropdown item by using the `image` attribute:
```blade
Dan Harrin
```
## Adding a badge to a dropdown item
You can render a [badge](badge) on top of a dropdown item by using the `badge` slot:
```blade
Mark notifications as read
3
```
You can [change the color](badge#changing-the-color-of-the-badge) of the badge using the `badge-color` attribute:
```blade
Mark notifications as read
3
```
## Setting the placement of a dropdown
The dropdown may be positioned relative to the trigger button by using the `placement` attribute:
```blade
{{-- Dropdown items --}}
```
## Setting the width of a dropdown
The dropdown may be set to a width by using the `width` attribute. Options correspond to [Tailwind's max-width scale](https://tailwindcss.com/docs/max-width). The options are `xs`, `sm`, `md`, `lg`, `xl`, `2xl`, `3xl`, `4xl`, `5xl`, `6xl` and `7xl`:
```blade
{{-- Dropdown items --}}
```
## Controlling the maximum height of a dropdown
The dropdown content can have a maximum height using the `max-height` attribute, so that it scrolls. You can pass a [CSS length](https://developer.mozilla.org/en-US/docs/Web/CSS/length):
```blade
{{-- Dropdown items --}}
```