Skip to content

armgit / BUI

Public Imported from GitHub
0

Blender's GPU Accelerated UI, Decoupled from it's original codebase. Supports Rust, Python, JS, React, C & C++. Twice as good as GPUI

343 B
Raw Blame
<!-- A subtree hidden and kept, and a transition (it commits without animating). -->
<script>
  import { fade } from 'svelte/transition'
  let { expose } = $props()
  let show = $state(true)
  expose((v) => { show = v })
</script>

<div>
  <span id="kid" hidden={!show}>kept</span>
  {#if show}<b id="vt" transition:fade>shown</b>{/if}
</div>