Skip to content

Latest commit

 

History

History

Button

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Button

UIKit documentation

Storybook

Usage

Props

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

Slots

name type inside description
default any root element (button) Content of the button

Real Example

Note that all props are default values

<script>
    import {Button} from 'svelte-uikit3';
</script>

<Button text={""} style={""} size={""} width={""}/>