v0.1.0 - Svelte Implementation
Repo Changes:
New Features:
- Svelte/Sveltekit implementation: Tauri Controls is now available for Svelte and Sveltekit projects.
- Add
justify
option toWindowControls
: When set to true, WindowControls will justify/snap within the flexbox container it is placed in.
✨ @tauri-controls/svelte
Tauri Controls has been implemented for Svelte/Sveltekit, you can easily install it for svelte following the same installation steps except the extra tailwind step.
pnpm add @tauri-controls/svelte
<script lang="ts">
import { WindowTitlebar } from "@tauri-controls/svelte"
</script>
<WindowTitlebar>{/* Place your titlebar content here */}</WindowTitlebar>
Check out the Tauri app demo with pnpm tauri dev
: master
/apps/tauri-controls-svelte
Footnote
All templates in tauri-ui now contain tauri-controls
. https://github.com/agmmnn/tauri-ui/releases/tag/v0.3.0