From ece7c5ec0749cef3674612bfab82664ee37fd2ad Mon Sep 17 00:00:00 2001 From: Cloos <36499953+Clooos@users.noreply.github.com> Date: Wed, 30 Aug 2023 15:36:22 +0200 Subject: [PATCH] Update README.md --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 02fb62e7..d90bd6b8 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ This card allows you to convert any `vertical-stack` card into a pop-up. Each po | `margin_top_mobile` | string | Optional | Any CSS value | Top margin on mobile (e.g. `-56px` if your header is hidden) | | `margin_top_desktop` | string | Optional | Any CSS value | Top margin on desktop (e.g. `50%` for an half sized pop-up) | -### Example +### Pop-up example ```yaml type: vertical-stack @@ -91,6 +91,15 @@ cards: margin_top_mobile: 18px margin_top_desktop: 74px ``` +A button to open the pop-up +```yaml +type: button +tap_action: + action: navigate + navigation_path: '#kitchen' +name: Kitchen +icon: mdi:fridge +``` ## Horizontal buttons stack