diff --git a/src/Button/Button.svelte b/src/Button/Button.svelte index 74f7389d..91ff1ad7 100644 --- a/src/Button/Button.svelte +++ b/src/Button/Button.svelte @@ -23,6 +23,12 @@ */ export let icon = undefined; + /** + * Specify the position of the icon + * @type {"left" | "right"} [iconPosition="right"] + */ + export let iconPosition = undefined; + /** * Specify the ARIA label for the button icon * @type {string} [iconDescription] @@ -144,11 +150,19 @@ on:mouseenter on:mouseleave > + {#if icon && iconPosition === "left"} +