

Every state


default


focus


open


hover-button


focus-link
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| brand | string | "Fernhill" | Shop name beside the leaf mark. |
| title | string | "Get 10% off your first order" | Offer headline. |
| text | string | – | One or two lines under the headline. |
| methods | { id: string; label: string; icon?: "mail" | "passkey" | "link" }[] | – | The ways to continue, in order: solid, tinted, outlined. |
| triggerLabel | string | "Account" | Text of the trigger button. |
| signIn | { text: string; label: string; href: string } | – | Line and link for existing members. |
| legal | { text: string; terms: { label: string; href: string }; privacy: { label: string; href: string } } | – | The small legal footer with its two links. |
| onSelect | (id: string) => void | – | Called with the method id when a button is pressed. |
| defaultOpen | boolean | – | Opens the menu on mount (previews). |
| className | string | – | Extra classes on the wrapper. |
More dropdown menus
All 4dropdown-menu-01 is in UI ProGet UI Pro, €199


