Live preview

Interactive example

Success feedback

Everything is saved.

Usage

Import the component, then make it your own.

ComponentSuccessCheck

svelte

<script>
  // Import the shared stylesheet once in your application's root layout.
  import "sveltekit-ui/style.css"
  import { SuccessCheck } from "sveltekit-ui"
</script>

<div style="width: 4rem; height: 4rem;"><SuccessCheck color="var(--success-t)" /></div>
<p role="status">Upload complete.</p>

API reference

Props accepted by the component.

3 entries in properties

PropertyTypeDefaultDescription
is_showboolean trueDetermines if the success checkmark should be displayed.
colorstring var(--primary-t)Specifies the color of the checkmark.
swnumber 30Stroke width of the checkmark and circle.