• Get Started
    • Introduction
    • Installation
    • Theming
  • Layout
    • Drawer
    • Footer
    • Hero
    • Indicator
    • Join
    • Stack
    • Divider
  • Navigation
    • Breadcrumbs
    • Dock
    • Menu
    • Link
    • Navbar
    • Pagination
    • Steps
    • Tabs
  • Data Display
    • Accordion
    • Avatar
    • Badge
    • Calendar
    • Card
    • Carousel
    • Chat
    • Collapse
    • Countdown
    • Diff
    • Kbd
    • List
    • Mask
    • Mockup
    • Stat
    • Table
    • Timeline
  • Feedback
    • Alert
    • Loading
    • Modal
    • Progress
    • Skeleton
    • Status
    • Toast
    • Tooltip
  • Forms
    • Button
    • Checkbox
    • Dropdown
    • File Input
    • Fieldset
    • Filter
    • Input
    • Label
    • Radio
    • Range
    • Rating
    • Select
    • Toggle
    • Textarea
  • Effects
    • Hover 3D Card
    • Hover Gallery
    • Speed Dial
    • Swap
    • Text Rotate
    • Theme Controller
jsx daisyUI

    No recently viewed docs

  • Get Started
    • Introduction
    • Installation
    • Theming
  • Layout
    • Drawer
    • Footer
    • Hero
    • Indicator
    • Join
    • Stack
    • Divider
  • Navigation
    • Breadcrumbs
    • Dock
    • Menu
    • Link
    • Navbar
    • Pagination
    • Steps
    • Tabs
  • Data Display
    • Accordion
    • Avatar
    • Badge
    • Calendar
    • Card
    • Carousel
    • Chat
    • Collapse
    • Countdown
    • Diff
    • Kbd
    • List
    • Mask
    • Mockup
    • Stat
    • Table
    • Timeline
  • Feedback
    • Alert
    • Loading
    • Modal
    • Progress
    • Skeleton
    • Status
    • Toast
    • Tooltip
  • Forms
    • Button
    • Checkbox
    • Dropdown
    • File Input
    • Fieldset
    • Filter
    • Input
    • Label
    • Radio
    • Range
    • Rating
    • Select
    • Toggle
    • Textarea
  • Effects
    • Hover 3D Card
    • Hover Gallery
    • Speed Dial
    • Swap
    • Text Rotate
    • Theme Controller

© 2026 jsx-daisyui. All rights reserved. | Built with DaisyUI and React.

Dropdown

Dropdown is used to show a list of options when clicking on a trigger element.

Installation
npx jsx-daisyui add dropdown

Default

dropdown-default
  • Option 1
  • Option 2
  • Option 3

Positions

dropdown-positions
  • Item 1
  • Item 2
  • Item 1
  • Item 2
  • Item 1
  • Item 2
  • Item 1
  • Item 2

Alignment

dropdown-align
  • Profile
  • Settings
  • Logout
  • Profile
  • Settings
  • Logout

Hover

dropdown-hover
  • Dashboard
  • Reports
  • Analytics

Props

Dropdown

PropTypeDefaultDescription
position'top' | 'bottom' | 'left' | 'right'-The opening position of the dropdown menu.
align'start' | 'center' | 'end'-The alignment of the dropdown menu.
hoverboolean-Opens the dropdown on hover.
openboolean-Forces the dropdown to stay open.
closeboolean-Forces the dropdown to close.

Dropdown.Item

PropTypeDefaultDescription
anchorbooleantrueDetermines if the item should be rendered inside an anchor tag (<a>). If false, it renders its children directly.