Components
Built-in JSX components, grouped by what they are and what the host spends on them.
Roots
A screen's root names its host, and there is no default: a tree that starts with anything else is refused with the list of roots.
<Screen>— an action form: presses, decoration, lists and scrolls, shown withrender()<Form>— a native modal form, shown withrender()<Container>— a container screen an entity or a block owns, served withcreateContainerScreen()<Experimental_OreUI>— an experimental player-owned Ore presentation with live controls
A root selects a host. Controls are top-level components with their own capabilities; Form.Button declares a modal form action.
Layout
Boxes and flow. Each draws on the supported hosts and asks for nothing.
<Panel>— a box with an optional background and flexbox layout, or a stack that reflows hidden children<Scroll>— an independent vertical scroll region<Fragment>— group children without a wrapper node (<>…</>)
Content
What a screen shows. Also free on every host.
<Text>— a label, literal or localized, static or automatically detected as dynamic<Trans>— a translated text whose tags are presses and styles, drawn where their text falls in every language<Image>— a texture from a resource pack, baked or carried withlive<Background>— a full-screen texture drawn behind the screen
Controls
Each of these works on more than one host, and draws differently on each — a <Toggle> is a native field on a modal, a press that flips on a screen, and a cell on a container.
<Button>— a press: a handler, the form's'submit', or the way'exit'<Toggle>— a boolean<Select>— one choice out of several, every option visible<Option>— one entry for a<Select>or a<Dropdown>
Compiled
What only exists because the screen is compiled. The two switches are client-side state — no press, no re-present, no payload — and are compiled-only.
<Tabs>— several panes on one screen, switched by a header row<Disclosure>— a header that folds the rows under it and reflows what is below<List>—maxcompiled rows and a carried count, for a variable row count on a frozen shape
Navigation
Use @bedrock-core/navigation for static stacks, top tabs, route links and cross-addon destinations; @bedrock-core/ui/navigation exposes the same API.
Library composition
TreeBoundary— compose expanded children before layoutSelectionPanel— retain content under native selection gates
Container cells
Only on a container screen. See Container screens.
<Slot>— a real container cell, with a role and handlers for what moves through it<SlotGrid>— a grid over a collection the engine already publishes<PlayerInventory>— the player's 9 × 3 inventory grid<Hotbar>— the player's hotbar
Live and modal fields
These fields report one submitted result inside <Form>, or live changes inside <Experimental_OreUI>. Action forms and container screens refuse them at build.
<Input>— a single-line text field<Slider>— a number within a range<Dropdown>— one option from a popup
Cross-pack
<Expect>— states which screen a fragment is written for, and fails the build when it lands elsewhere<Embed>— a screen one pack draws into an area another pack's screen reserves
Shared props
- Control props — the flexbox properties,
position={'absolute'}placement,visible,enabledandbackground, on every component, plus how a conditional becomes a carriedvisible - Handler events — the one event object every handler takes