+
+ {/snippet}
+
+```
diff --git a/docs/src/pages/[platform]/connected-components/authenticator/advanced/index.page.mdx b/docs/src/pages/[platform]/connected-components/authenticator/advanced/index.page.mdx
index f4f17afd832..3dd949b8c48 100644
--- a/docs/src/pages/[platform]/connected-components/authenticator/advanced/index.page.mdx
+++ b/docs/src/pages/[platform]/connected-components/authenticator/advanced/index.page.mdx
@@ -2,7 +2,7 @@
title: Advanced Usage
metaTitle: Advanced Usage
description: Access Authenticator UI component state outside of the UI component
-supportedFrameworks: react|angular|vue|react-native
+supportedFrameworks: react|angular|vue|react-native|svelte
---
import { useRouter } from 'next/router';
@@ -15,22 +15,27 @@ import UseAuthenticatorAngular from './useAuthenticator.angular.mdx';
import UseAuthenticatorReactNative from './useAuthenticator.react-native.mdx';
import UseAuthenticatorReact from './useAuthenticator.react.mdx';
import UseAuthenticatorVue from './useAuthenticator.vue.mdx';
+import UseAuthenticatorSvelte from './useAuthenticator.svelte.mdx';
import CurrentRouteAngular from './current-route.angular.mdx';
import CurrentRouteReactNative from './current-route.react-native.mdx';
import CurrentRouteReact from './current-route.react.mdx';
import CurrentRouteVue from './current-route.vue.mdx';
+import CurrentRouteSvelte from './current-route.svelte.mdx';
import CurrentUserAngular from './current-user.angular.mdx';
import CurrentUserReactNative from './current-user.react-native.mdx';
import CurrentUserReact from './current-user.react.mdx';
import CurrentUserVue from './current-user.vue.mdx';
+import CurrentUserSvelte from './current-user.svelte.mdx';
import TriggerAngular from './trigger-transitions.angular.mdx';
import TriggerReactNative from './trigger-transitions.react-native.mdx';
import TriggerReact from './trigger-transitions.react.mdx';
import TriggerVue from './trigger-transitions.vue.mdx';
+import TriggerSvelte from './trigger-transitions.svelte.mdx';
import ExampleAngular from './example.angular.mdx';
import ExampleReactNative from './example.react-native.mdx';
import ExampleReact from './example.react.mdx';
import ExampleVue from './example.vue.mdx';
+import ExampleSvelte from './example.svelte.mdx';
import ApiAngular from './full-api.angular.mdx';
import ApiReactNative from './full-api.react-native.mdx';
import ApiReact from './full-api.react.mdx';
@@ -58,6 +63,9 @@ export async function getStaticProps() {
+
+
+
## Access Auth State
@@ -73,6 +81,9 @@ export async function getStaticProps() {
+
+
+
## Access Authenticated User
@@ -88,6 +99,9 @@ export async function getStaticProps() {
+
+
+
## Trigger Transitions
@@ -103,6 +117,9 @@ export async function getStaticProps() {
+
+
+
### Example
@@ -120,6 +137,9 @@ Here's an example that uses the `toForgotPassword` trigger transition, to create
+
+
+
## Full API
diff --git a/docs/src/pages/[platform]/connected-components/authenticator/advanced/trigger-transitions.svelte.mdx b/docs/src/pages/[platform]/connected-components/authenticator/advanced/trigger-transitions.svelte.mdx
new file mode 100644
index 00000000000..dfaafcec606
--- /dev/null
+++ b/docs/src/pages/[platform]/connected-components/authenticator/advanced/trigger-transitions.svelte.mdx
@@ -0,0 +1,14 @@
+You can use `useAuthenticator` composable to access functions that lets you trigger transitions to the authenticator. Please see [Full API](#full-api) to see all supported transition functions. Any invalid transitions (e.g. `signUp` directly to `authenticated`) will be ignored.
+
+```html
+
+
+
+{#if a.route === 'authenticated'}
+
Hello { a.user?.username }!
+
+{/if}
+```
diff --git a/docs/src/pages/[platform]/connected-components/authenticator/advanced/useAuthenticator.svelte.mdx b/docs/src/pages/[platform]/connected-components/authenticator/advanced/useAuthenticator.svelte.mdx
new file mode 100644
index 00000000000..10dc49cf258
--- /dev/null
+++ b/docs/src/pages/[platform]/connected-components/authenticator/advanced/useAuthenticator.svelte.mdx
@@ -0,0 +1,39 @@
+import { Alert } from '@aws-amplify/ui-react';
+
+## useAuthenticator
+
+`@aws-amplify/ui-svelte` ships with `useAuthenticator` Svelte composable that can be used to access, modify, and update Authenticator's auth state.
+
+```html
+
+
+```
+
+Note that the `authenticator` is an object wrapped with `$state`, meaning _we cannot destructure it:_
+
+```html
+
+```
+
+In order to extract properties from the authenticator while keeping its reactivity, you need to use `$derived`.
+
+```html
+
+```
diff --git a/docs/src/pages/[platform]/connected-components/authenticator/configuration/hidesignup.web.mdx b/docs/src/pages/[platform]/connected-components/authenticator/configuration/hidesignup.web.mdx
index a2aac04ed44..0f9bd72b9d7 100644
--- a/docs/src/pages/[platform]/connected-components/authenticator/configuration/hidesignup.web.mdx
+++ b/docs/src/pages/[platform]/connected-components/authenticator/configuration/hidesignup.web.mdx
@@ -36,6 +36,17 @@ The Authenticator has an option to hide the sign up page including the `Create A
```
+
+```html{1}
+
+ {#snippet children({ user, signOut })}
+
Hello {user.username}!
+
+ {/snippet}
+
+```
+
+
diff --git a/docs/src/pages/[platform]/connected-components/authenticator/configuration/index.page.mdx b/docs/src/pages/[platform]/connected-components/authenticator/configuration/index.page.mdx
index af9162b5994..58dc3722550 100644
--- a/docs/src/pages/[platform]/connected-components/authenticator/configuration/index.page.mdx
+++ b/docs/src/pages/[platform]/connected-components/authenticator/configuration/index.page.mdx
@@ -2,7 +2,7 @@
title: Configuration
metaTitle: Configuration
description: How to setup and configure your Authenticator component.
-supportedFrameworks: android|angular|flutter|react|react-native|swift|vue
+supportedFrameworks: android|angular|flutter|react|react-native|swift|vue|svelte
---
import { InlineFilter } from '@/components/InlineFilter';
@@ -22,6 +22,7 @@ import SignupReactNative from './signUpAttributes.default.react-native.mdx';
import SignupReact from './signUpAttributes.default.react.mdx';
import SignupSwift from './signUpAttributes.default.swift.mdx';
import SignupVue from './signUpAttributes.default.vue.mdx';
+import SignupSvelte from './signUpAttributes.default.svelte.mdx';
import SignupExampleFlutter from './signUpAttributes.default.example.flutter.mdx';
import SignupExampleWeb from './signUpAttributes.default.example.web.mdx';
import SignupAllAndroid from './signUpAttributes.all.android.mdx';
@@ -31,6 +32,7 @@ import SignupAllReactNative from './signUpAttributes.all.react-native.mdx';
import SignupAllReact from './signUpAttributes.all.react.mdx';
import SignupAllSwift from './signUpAttributes.all.swift.mdx';
import SignupAllVue from './signUpAttributes.all.vue.mdx';
+import SignupAllSvelte from './signUpAttributes.all.svelte.mdx';
import SignupAllExampleFlutter from './signUpAttributes.all.example.flutter.mdx';
import SignupAllExampleWeb from './signUpAttributes.all.example.web.mdx';
import SocialProviderFlutter from './socialProviders.flutter.mdx';
@@ -65,7 +67,7 @@ By default, unauthenticated users are redirected to the Sign In flow. You can ex
## Login Mechanisms
-
+
@@ -126,6 +128,10 @@ with the exception of `address`, `gender`, `locale`, `picture`, `updated_at`, an
+
+
+
+
@@ -153,13 +159,17 @@ with the exception of `address`, `gender`, `locale`, `picture`, `updated_at`, an
+
+
+
+
-
+
@@ -174,22 +184,8 @@ with the exception of `address`, `gender`, `locale`, `picture`, `updated_at`, an
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
\ No newline at end of file
diff --git a/docs/src/pages/[platform]/connected-components/authenticator/configuration/initialState.forgotPassword.svelte.mdx b/docs/src/pages/[platform]/connected-components/authenticator/configuration/initialState.forgotPassword.svelte.mdx
new file mode 100644
index 00000000000..d397897fec6
--- /dev/null
+++ b/docs/src/pages/[platform]/connected-components/authenticator/configuration/initialState.forgotPassword.svelte.mdx
@@ -0,0 +1,3 @@
+```html{3} file=../../../../../../../examples/svelte/src/routes/ui/components/authenticator/forgot-password/+page.svelte
+
+```
diff --git a/docs/src/pages/[platform]/connected-components/authenticator/configuration/initialState.signIn.svelte.mdx b/docs/src/pages/[platform]/connected-components/authenticator/configuration/initialState.signIn.svelte.mdx
new file mode 100644
index 00000000000..293dc2550f7
--- /dev/null
+++ b/docs/src/pages/[platform]/connected-components/authenticator/configuration/initialState.signIn.svelte.mdx
@@ -0,0 +1,17 @@
+```html
+
+
+
+ {#snippet children({ user, signOut })}
+
Hello {user.username}!
+
+ {/snippet}
+
+```
diff --git a/docs/src/pages/[platform]/connected-components/authenticator/configuration/initialState.signUp.svelte.mdx b/docs/src/pages/[platform]/connected-components/authenticator/configuration/initialState.signUp.svelte.mdx
new file mode 100644
index 00000000000..e80d57045b1
--- /dev/null
+++ b/docs/src/pages/[platform]/connected-components/authenticator/configuration/initialState.signUp.svelte.mdx
@@ -0,0 +1,3 @@
+```html{3} file=../../../../../../../examples/svelte/src/routes/ui/components/authenticator/sign-up-with-username/+page.svelte
+
+```
diff --git a/docs/src/pages/[platform]/connected-components/authenticator/configuration/loginMechanisms.web.mdx b/docs/src/pages/[platform]/connected-components/authenticator/configuration/loginMechanisms.web.mdx
index d0086686a82..34d8ff07fd0 100644
--- a/docs/src/pages/[platform]/connected-components/authenticator/configuration/loginMechanisms.web.mdx
+++ b/docs/src/pages/[platform]/connected-components/authenticator/configuration/loginMechanisms.web.mdx
@@ -62,6 +62,16 @@ You can provide an alternative to `username` such as `email` or `phone_number`.
```
+
+ ```html{1}
+
+ {#snippet children({ user, signOut })}
+
Hello {user.username}!
+
+ {/snippet}
+
+ ```
+
@@ -105,6 +115,16 @@ You can provide an alternative to `username` such as `email` or `phone_number`.
```
+
+ ```html{1}
+
+ {#snippet children({ user, signOut })}
+
Hello {user.username}!
+
+ {/snippet}
+
+ ```
+
@@ -148,6 +168,16 @@ You can provide an alternative to `username` such as `email` or `phone_number`.
```
+
+ ```html{1}
+
+ {#snippet children({ user, signOut })}
+
+
+ {/snippet}
+
+```
+
diff --git a/docs/src/pages/[platform]/connected-components/authenticator/customization/index.page.mdx b/docs/src/pages/[platform]/connected-components/authenticator/customization/index.page.mdx
index f2a855f1107..731b072c1ea 100644
--- a/docs/src/pages/[platform]/connected-components/authenticator/customization/index.page.mdx
+++ b/docs/src/pages/[platform]/connected-components/authenticator/customization/index.page.mdx
@@ -2,7 +2,7 @@
title: Customization
metaTitle: Customization
description: Override and customize your Authenticator.
-supportedFrameworks: android|angular|flutter|react|react-native|swift|vue
+supportedFrameworks: android|angular|flutter|react|react-native|swift|vue|svelte
---
import { InlineFilter } from '@/components/InlineFilter';
@@ -66,7 +66,7 @@ export async function getStaticProps() {
-
+
@@ -86,7 +86,7 @@ export async function getStaticProps() {
-
+
@@ -128,7 +128,7 @@ export async function getStaticProps() {
-
+
diff --git a/docs/src/pages/[platform]/connected-components/authenticator/customization/override-function-calls/example.svelte.mdx b/docs/src/pages/[platform]/connected-components/authenticator/customization/override-function-calls/example.svelte.mdx
new file mode 100644
index 00000000000..2aa2b589606
--- /dev/null
+++ b/docs/src/pages/[platform]/connected-components/authenticator/customization/override-function-calls/example.svelte.mdx
@@ -0,0 +1,16 @@
+import { Tabs, Alert } from '@aws-amplify/ui-react';
+import { CURRENT_MAJOR_VERSIONS } from '@/data/frameworks';
+
+export const latestVersion = CURRENT_MAJOR_VERSIONS['svelte'];
+export const amplify5UIVersion = null
+
+
+
+ `@aws-amplify/ui-svelte` v{latestVersion} (latest)
+
+
+ In `@aws-amplify/ui-svelte` version {latestVersion}, `Auth` function calls are imported directly as shown below.
+ ```html file=../../../../../../../../examples/svelte/src/routes/ui/components/authenticator/override-function-calls/+page.svelte
+ ```
+
+
\ No newline at end of file
diff --git a/docs/src/pages/[platform]/connected-components/authenticator/customization/sign-up-fields.web.mdx b/docs/src/pages/[platform]/connected-components/authenticator/customization/sign-up-fields.web.mdx
index 1b44b6c7d11..f160e74e3ae 100644
--- a/docs/src/pages/[platform]/connected-components/authenticator/customization/sign-up-fields.web.mdx
+++ b/docs/src/pages/[platform]/connected-components/authenticator/customization/sign-up-fields.web.mdx
@@ -37,6 +37,11 @@ _app.component.html_
```html file=../../../../../../../examples/vue/src/pages/ui/components/authenticator/custom-sign-up-fields/index.vue
+```
+
+
+```html file=../../../../../../../examples/svelte/src/routes/ui/components/authenticator/custom-sign-up-fields/+page.svelte
+
```
diff --git a/docs/src/pages/[platform]/connected-components/authenticator/index.page.mdx b/docs/src/pages/[platform]/connected-components/authenticator/index.page.mdx
index 25a6b1c21a1..54ed9dd1f00 100644
--- a/docs/src/pages/[platform]/connected-components/authenticator/index.page.mdx
+++ b/docs/src/pages/[platform]/connected-components/authenticator/index.page.mdx
@@ -1,7 +1,7 @@
---
title: Authenticator
description: Authenticator component adds complete authentication flows to your application with minimal boilerplate.
-supportedFrameworks: android|angular|flutter|react|react-native|swift|vue
+supportedFrameworks: android|angular|flutter|react|react-native|swift|vue|svelte
---
import { InlineFilter } from '@/components/InlineFilter';
@@ -85,12 +85,15 @@ To get up and running with the Authenticator, follow the [Amplify Gen2 quickstar
To get up and running with the Authenticator, follow the [Amplify Gen2 quickstart guide](https://docs.amplify.aws/swift/start/quickstart/).
+
+To get up and running with the Authenticator, follow the [Amplify Gen2 quickstart guide](https://docs.amplify.aws/swift/start/quickstart/).
+
### Setup with Amplify Gen 1 backend
To setup Amplify using the Gen1 CLI, follow the steps below:
-
+
diff --git a/docs/src/pages/[platform]/connected-components/authenticator/quick-start-add.web.mdx b/docs/src/pages/[platform]/connected-components/authenticator/quick-start-add.web.mdx
index 70e5b1ff8b1..c21589be6fc 100644
--- a/docs/src/pages/[platform]/connected-components/authenticator/quick-start-add.web.mdx
+++ b/docs/src/pages/[platform]/connected-components/authenticator/quick-start-add.web.mdx
@@ -177,3 +177,23 @@ export class UseAuthenticatorComponent {
please click here.
+
+
+ ```html{3-8}
+
+
+
+ {#snippet children({ user, signOut })}
+
Hello {user.username}!
+
+ {/snippet}
+
+ ```
+
\ No newline at end of file
diff --git a/docs/src/pages/[platform]/connected-components/authenticator/quick-start.mdx b/docs/src/pages/[platform]/connected-components/authenticator/quick-start.mdx
index eb786307293..baa698793ef 100644
--- a/docs/src/pages/[platform]/connected-components/authenticator/quick-start.mdx
+++ b/docs/src/pages/[platform]/connected-components/authenticator/quick-start.mdx
@@ -35,7 +35,7 @@ import AmplifyCLI from './amplify-cli.mdx';
This will update your `amplifyconfiguration.json` with your latest backend configuration for the Authenticator.
-
+
@@ -60,6 +60,7 @@ import AmplifyCLI from './amplify-cli.mdx';
+
#### Step 2. Install dependencies
@@ -108,7 +109,7 @@ import AmplifyCLI from './amplify-cli.mdx';
```
-
+
@@ -273,7 +274,7 @@ import AmplifyCLI from './amplify-cli.mdx';
}
```
-
+
diff --git a/docs/src/pages/[platform]/getting-started/accessibility/accessibility.svelte.mdx b/docs/src/pages/[platform]/getting-started/accessibility/accessibility.svelte.mdx
new file mode 100644
index 00000000000..bf811f2bcee
--- /dev/null
+++ b/docs/src/pages/[platform]/getting-started/accessibility/accessibility.svelte.mdx
@@ -0,0 +1,3 @@
+import Intro from './intro.mdx';
+
+
diff --git a/docs/src/pages/[platform]/getting-started/accessibility/index.page.mdx b/docs/src/pages/[platform]/getting-started/accessibility/index.page.mdx
index fe4e80ac4c9..b0845f24261 100644
--- a/docs/src/pages/[platform]/getting-started/accessibility/index.page.mdx
+++ b/docs/src/pages/[platform]/getting-started/accessibility/index.page.mdx
@@ -2,7 +2,7 @@
title: Accessibility
metaTitle: Accessibility
description: An introduction to building accessible apps with Amplify UI.
-supportedFrameworks: react|angular|vue
+supportedFrameworks: react|angular|vue|svelte
---
import { getCustomStaticPath } from '@/utils/getCustomStaticPath';
@@ -10,6 +10,7 @@ import { InlineFilter } from '@/components/InlineFilter';
import AccessibilityAngular from './accessibility.angular.mdx';
import AccessibilityReact from './accessibility.react.mdx';
import AccessibilityVue from './accessibility.vue.mdx';
+import AccessibilitySvelte from './accessibility.svelte.mdx';
export async function getStaticPaths() {
return getCustomStaticPath(frontmatter.supportedFrameworks);
@@ -30,3 +31,6 @@ export async function getStaticProps() {
+
+
+
diff --git a/docs/src/pages/[platform]/getting-started/installation/dependencies.mdx b/docs/src/pages/[platform]/getting-started/installation/dependencies.mdx
index d9368d6ea88..a0df6855369 100644
--- a/docs/src/pages/[platform]/getting-started/installation/dependencies.mdx
+++ b/docs/src/pages/[platform]/getting-started/installation/dependencies.mdx
@@ -181,3 +181,13 @@ import { ReactNativeSafeAreaContextInstallation } from '@/components/ReactNative
Otherwise, you can import individual components from the `@aws-amplify/ui-vue` package in each one of your components.
+
+
+ For Svelte 5 install `@aws-amplify/ui-svelte` with [npm](https://www.npmjs.com/) or [yarn](https://yarnpkg.com/):
+
+
+
+
+ Svelte versions prior to 5 are not supported by Amplify UI as the components rely on runes, which are available since Svelte v5 only
+
+
\ No newline at end of file
diff --git a/docs/src/pages/[platform]/getting-started/installation/index.page.mdx b/docs/src/pages/[platform]/getting-started/installation/index.page.mdx
index 94add0aa8b4..4c2de05298b 100644
--- a/docs/src/pages/[platform]/getting-started/installation/index.page.mdx
+++ b/docs/src/pages/[platform]/getting-started/installation/index.page.mdx
@@ -1,7 +1,7 @@
---
title: Installation
metaDescription: Installation Guide - How to install Amplify UI Packages, Styles, and Fonts.
-supportedFrameworks: android|angular|flutter|react|react-native|vue
+supportedFrameworks: android|angular|flutter|react|react-native|vue|svelte
---
import { FRAMEWORKS } from '@/data/frameworks';
@@ -28,7 +28,7 @@ export async function getStaticProps() {
-
+
diff --git a/docs/src/pages/[platform]/getting-started/installation/styles.web.mdx b/docs/src/pages/[platform]/getting-started/installation/styles.web.mdx
index 0c5cf940aff..7bbb5754673 100644
--- a/docs/src/pages/[platform]/getting-started/installation/styles.web.mdx
+++ b/docs/src/pages/[platform]/getting-started/installation/styles.web.mdx
@@ -67,3 +67,9 @@ You can also use this for the main CSS export, `'@aws-amplify/ui-react/styles.la
import '@aws-amplify/ui-vue/styles.css';
```
+
+
+```js
+import '@aws-amplify/ui-svelte/styles.css';
+```
+
diff --git a/docs/src/pages/[platform]/getting-started/introduction/index.page.mdx b/docs/src/pages/[platform]/getting-started/introduction/index.page.mdx
index 0b4f3897162..cf1635e8e48 100644
--- a/docs/src/pages/[platform]/getting-started/introduction/index.page.mdx
+++ b/docs/src/pages/[platform]/getting-started/introduction/index.page.mdx
@@ -1,7 +1,7 @@
---
title: Introduction
description: What is Amplify UI?
-supportedFrameworks: android|angular|flutter|react|react-native|swift|vue
+supportedFrameworks: android|angular|flutter|react|react-native|svelte|swift|vue
canonicalUrlPath: /react/getting-started/introduction
---
@@ -56,9 +56,9 @@ We want to share as much as possible between platforms (like themes and schemas)
## Current status
-Currently, the [Authenticator](../connected-components/authenticator) is available for React, Angular, Vue, Flutter and Swift. The Android and React Native Authenticators are currently in developer preview. Primitive components are available for React, with Angular, Vue, and React Native coming soon.
+Currently, the [Authenticator](../connected-components/authenticator) is available for React, Angular, Vue, Svelte, Flutter and Swift. The Android and React Native Authenticators are currently in developer preview. Primitive components are available for React, with Angular, Vue, Svelte and React Native in planning.
-> If you are an Angular or Vue developer and want to get started, they share the same CSS as React so with the right class names
+> If you are an Angular, Svelte or Vue developer and want to get started, they share the same CSS as React so with the right class names
> (we use BEM syntax) you can at least get the styling and theming that React has!
## Roadmap
@@ -66,8 +66,8 @@ Currently, the [Authenticator](../connected-components/authenticator) is availab
Upcoming projects include:
* React Native Authenticator
-* Improved Storage components for React, Angular, and Vue
-* Primitives and theming for Angular and Vue
+* Improved Storage components for React, Angular, Svelte, and Vue
+* Primitives and theming for Angular, Svelte and Vue
* Data components and hooks for React
* More primitives
diff --git a/docs/src/pages/[platform]/getting-started/usage/index.page.mdx b/docs/src/pages/[platform]/getting-started/usage/index.page.mdx
index 1abf7cc2589..6a97f934235 100644
--- a/docs/src/pages/[platform]/getting-started/usage/index.page.mdx
+++ b/docs/src/pages/[platform]/getting-started/usage/index.page.mdx
@@ -1,7 +1,7 @@
---
title: Usage
metaDescription: How to get started using Amplify UI.
-supportedFrameworks: react|angular|vue|react-native
+supportedFrameworks: react|angular|vue|react-native|svelte
---
import { InlineFilter } from '@/components/InlineFilter';
@@ -10,6 +10,7 @@ import AngularPage from './usage.angular.mdx';
import ReactNativePage from './usage.react-native.mdx';
import ReactPage from './usage.react.mdx';
import VuePage from './usage.vue.mdx';
+import SveltePage from './usage.svelte.mdx';
export async function getStaticPaths() {
return getCustomStaticPath(frontmatter.supportedFrameworks);
@@ -33,3 +34,6 @@ export async function getStaticProps() {
+
+
+
diff --git a/docs/src/pages/[platform]/getting-started/usage/usage.svelte.mdx b/docs/src/pages/[platform]/getting-started/usage/usage.svelte.mdx
new file mode 100644
index 00000000000..2efe3122e63
--- /dev/null
+++ b/docs/src/pages/[platform]/getting-started/usage/usage.svelte.mdx
@@ -0,0 +1,7 @@
+import { Alert, Text } from '@aws-amplify/ui-react';
+
+
+ `@aws-amplify/ui-svelte` currently only supports our cloud-connected components.
+
+
+Please view the [Svelte Authenticator](/svelte/connected-components/authenticator#quick-start) documentation for a getting started guide.
diff --git a/docs/src/pages/[platform]/index.page.tsx b/docs/src/pages/[platform]/index.page.tsx
index 441582694b2..aec7d310ffe 100644
--- a/docs/src/pages/[platform]/index.page.tsx
+++ b/docs/src/pages/[platform]/index.page.tsx
@@ -8,6 +8,7 @@ import { HeroSection } from '@/components/home/sections';
import ReactHomePage from './index.react';
import ReactNativeHomePage from './index.react-native';
import VueHomePage from './index.vue';
+import SvelteHomePage from './index.svelte';
import AngularHomePage from './index.angular';
import FlutterHomePage from './index.flutter';
import { FRAMEWORKS } from '@/data/frameworks';
@@ -57,6 +58,9 @@ const HomePage = ({ colorMode }) => {
case 'vue':
pageContent = ;
break;
+ case 'svelte':
+ pageContent = ;
+ break;
case 'angular':
pageContent = ;
break;
diff --git a/docs/src/pages/[platform]/index.svelte.tsx b/docs/src/pages/[platform]/index.svelte.tsx
new file mode 100644
index 00000000000..be0078daffd
--- /dev/null
+++ b/docs/src/pages/[platform]/index.svelte.tsx
@@ -0,0 +1,28 @@
+import * as React from 'react';
+import { useRouter } from 'next/router';
+
+import {
+ A11ySection,
+ AmplifySection,
+ AuthenticationSection,
+ ComingSoonPrimitiveSection,
+ CompatibleSection,
+} from '@/components/home/sections';
+
+const SvelteHomePage = ({ colorMode }) => {
+ const {
+ query: { platform = 'svelte' },
+ } = useRouter();
+
+ return (
+ <>
+
+
+
+
+
+ >
+ );
+};
+
+export default SvelteHomePage;