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

299 B
Raw Blame
<!-- BUI signals passed as values (no `$`): their nodes are bound to them. -->
<script>
  let { style, label, cls, onrender } = $props()
  onrender()
</script>

<div id="bound" style={style} class={cls} title={label}>{label}</div>
<p class="scoped">x</p>

<style>
  .scoped { color: red; }
</style>