Spinner

An accessible loading indicator.

Examples

Installation

Install the package, then import only the components a route uses. Exports are tree-shakable.

Install
pnpm add fractalsvelte
Import
<script lang="ts">
	import { Spinner } from 'fractalsvelte';
</script>

Usage

Usage
<script lang="ts">
	import { Spinner } from 'fractalsvelte';
</script>

<Spinner />

Props

PropTypeDefaultDescription
size'sm' | 'md' | 'lg''md'The spinner size.