Compose-like UI for Svelte
Explicit composition · Immutable modifiers · Theme-driven
Svelted is a UI toolkit for the web inspired by Jetpack Compose and built natively on top of Svelte.
It brings the Compose mental model to the web:
ModifiersUI is built by composing small, predictable components.
Layout, drawing, interaction and behavior are controlled through immutable modifiers.
Modifier
.padding(16)
.fillMaxWidth()
.background(ColorScheme.Surface)
Design tokens come from the theme, not from hardcoded styles.
<ComposeTheme mode="system">
<AppRoot>
<Surface modifier={Modifier.fillMaxSize().padding(32)}>
<Column>
<Text textStyle="titleLarge">Hello Compose</Text>
<Text>This is Svelted.</Text>
</Column>
</Surface>
</AppRoot>
</ComposeTheme>
👉 Example
Built with ❤️ for developers who value clarity and composable UI.