function getDropdownCSS
getDropdownCSS(): string

CSS required for dropdown functionality. Add this to your page's <style> or stylesheet.

Design notes:

  • Uses hover and focus-within for accessibility
  • No JavaScript required for basic show/hide
  • Works with keyboard navigation (tabindex on trigger)

Return Type

string

Usage

import { getDropdownCSS } from ".";