Islands
How interactive bext-ui components hydrate with static islands.
Interactive bext/ui components are rendered as static HTML on the server, then made interactive by a single shared island — a small vanilla-JS file loaded once per page.
What is an island?
An island is a plain .js file under public/islands/. It runs in the browser, attaches delegated event listeners, and never re-renders the page. Because it's shared, adding ten interactive components doesn't add ten scripts.
data-ui hooks
Components expose behaviour through data-ui attributes. The island routes events by that attribute:
On This Page