name | type | description | see also |
---|---|---|---|
text | str | Text for button, if slot is not used | |
style | enum | Color/Style of button | Module Context of Button.svelte |
size | enum | Add more/less padding to button | Module Context of Button.svelte |
width | enum | Width of button | helpers/width.js |
name | type | inside | description |
---|---|---|---|
default | any | root element (button) | Content of the button |
Note that all props are default values
<script>
import {Button} from 'svelte-uikit3';
</script>
<Button text={""} style={""} size={""} width={""}/>