Split button with menu
A primary action joined to a menu of secondary options.
- Tailwind
- React
- CSS
- WordPress
Description
The main button triggers the most common action; the arrow opens a menu of options (ARIA menu button pattern) navigable with arrow keys, closed with Escape or an outside click, focus returning to the button. Ideal for "Save / Save as draft / Schedule".
Code
Loading the code…
Archive contents
bouton-scinde-menu-html-tailwind.zip3 files · 4 Ko
- index.html5 Ko
- README.md2 Ko
- LICENSE.md1 Ko
Tags
Updated on December 2, 2026.
Reviews
No reviews yet.
In the same spirit

A row of buttons to share the page on Facebook, LinkedIn, WhatsApp or by email, with a copy-link button and no third-party script.
- Tailwind
- React
- CSS
- WordPress

Toggle heart buttons that count favourites, remember them between visits and announce them to screen readers.
- Tailwind
- React
- CSS
- WordPress

A button that adds an event to Google Calendar, Outlook or any calendar through an .ics file, with no third-party service.
- Tailwind
- React
- CSS
- WordPress

A button that copies an IBAN, a reference, an address or a promo code and confirms "Copied", on screen and to screen readers.
- Tailwind
- React
- CSS
- WordPress