From a6da4f1ef005592b69669dd07a0caa57c823b27f Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Sat, 3 May 2025 10:35:50 -0700 Subject: [PATCH] docs(progress-indicator): improve docs --- .../pages/components/ProgressIndicator.svx | 22 ++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/docs/src/pages/components/ProgressIndicator.svx b/docs/src/pages/components/ProgressIndicator.svx index aeeb3234..ca7bd004 100644 --- a/docs/src/pages/components/ProgressIndicator.svx +++ b/docs/src/pages/components/ProgressIndicator.svx @@ -7,8 +7,12 @@ components: ["ProgressIndicator", "ProgressStep", "ProgressIndicatorSkeleton"] import Preview from "../../components/Preview.svelte"; +`ProgressIndicator` provides a visual representation of progress through a sequence of steps. It supports horizontal and vertical layouts, step completion states, and interactive navigation. + ## Default (horizontal) +Create a horizontal progress indicator with four steps. + ## Invalid step +Mark a step as invalid to indicate an error state. + ## Skeleton (vertical) +Show a vertical loading state with the specified number of steps. + \ No newline at end of file