Portable UI

SlotHost

v1.0.0

Renders all registered fills for a named slot, sorted by priority.

Import

import { SlotHost } from '@meteorack/modules-sdk-ui/slots';

How To Use It

  • Place in the shell layout where extension content should appear.

Works Well With

Methods

name: string

The slot name to render fills for.

fallback?: ReactNode

Content shown when no fills are registered.

Example

bootstrap.php
<SlotHost name="dashboard-widgets" fallback={<p>No widgets installed.</p>} />