Expo Svelte
GitHub

Native Android and iOS apps, written in Svelte

Expo Svelte turns Svelte 5 components into real native views, laid out and drawn by the platform. No web view, and no React in your code.

src/routes/+mobile.svelte
<script lang="ts">
	import { Pressable, Screen, Text, View } from 'expo-svelte';

	let taps = $state(0);
</script>

<Screen title="Hello">
	<View style={{ flex: 1, padding: 24, gap: 16, justifyContent: 'center' }}>
		<Text>Tapped {taps} times.</Text>
		<Pressable onPress={() => taps++} accessibilityRole="button">
			<Text>Tap</Text>
		</Pressable>
	</View>
</Screen>

Explore the guide

Components

A page for every component: what it is, its props and examples.

Type to search the guide.