Skip to content

v0.1.0 - Svelte Implementation

Compare
Choose a tag to compare
@agmmnn agmmnn released this 03 Aug 19:06
· 37 commits to master since this release
c987681

Repo Changes:

New Features:

  • Svelte/Sveltekit implementation: Tauri Controls is now available for Svelte and Sveltekit projects.
  • Add justify option to WindowControls: 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

explorer_39m44w90Ks