UI & Motion Components
Bits UI
Compose Svelte controls with keyboard behavior and style them to match your viewer.
Free · Open source · MIT (official repository)
Add keyboard and focus behavior to dialogs, popovers, and other custom-styled controls.

A settings dialog over a 3D canvas has two jobs: keep keyboard focus inside the dialog while it is open, and return it to the trigger when it closes. Radix Primitives supplies the React interaction pieces. You supply the styles that make those pieces readable over your scene.
Start with the Dialog example. Connect a trigger, title, description, and close button, then check focus after dismissal. The primitives code is MIT-licensed. Include its copyright and permission notice with redistributed copies or substantial portions.
Official site and license checked .