Button Loader

<script>
	import { Button, Spinner } from 'flowbite-svelte';
</script>

Loaders

<Button textSize="text-sm" btnColor="light"><Spinner size="4" currentFill="#E5E7EB" currentColor="#1C64F2" />Loading ...</Button>
<Button textSize="text-sm"><Spinner size="4" currentFill="#E5E7EB" currentColor="#fff" />Loading ...</Button>

Props

The component has the following props, type, and default values. See types page for type information.

Name Type Default
rounded boolean false
textSize Textsize 'text-sm'
btnColor Buttontypes 'blue'
type ButtonType 'button'
disabled boolean false

References