Plugins

Covers Engine Plugin SDK 2.0.0 · Interface Plugin SDK 0.2.0

Hooks and Utilities

Use DARTWIC runtime state and shared helper functions from plugin UI code.

ExportImport pathDescription
cn@dartwic/interface-sdk/utilsCombines conditional class values with the host’s Tailwind conflict resolution.
useBottomContextPanel@dartwic/interface-sdk/hooksControls the shared bottom context panel.
useChannelDropTarget@dartwic/interface-sdk/hooksRegister a handler for channel drops with optional host drop-target settings.
useChannelStatusNames@dartwic/interface-sdk/hooksRead status names for the supplied channel value paths.
useClientInfo@dartwic/interface-sdk/hooksCurrent client identity, username, and administrator state.
useConfigurableInput@dartwic/interface-sdk/hooksEvaluate serialized configurable-input state through the host hook.
useConnectedClients@dartwic/interface-sdk/hooksConnected-client presentation and resource-presence helpers.
useDartwic@dartwic/interface-sdk/hooksReturns the host’s shared DARTWIC React context hook result.
useDartwicChannelValues@dartwic/interface-sdk/hooksReads the host’s live channel values.
useIfElseBlock@dartwic/interface-sdk/hooksEvaluate an if/else block using the host live-data hook.
useResourceNavigation@dartwic/interface-sdk/hooksOpens resources through the host’s docked-layout navigation.
useResourceParticipantVisibility@dartwic/interface-sdk/hooksControls whether remote participants are shown for a resource.