Discussion Slots

Leptos slot regions for structural thread composition.

  • Replacing the default toolbar, empty state, or composer placement.
  • Embedding host-owned chrome without callback props.

Pass slot children to DiscussionThread: DiscussionThreadToolbar, DiscussionEmptyView, DiscussionComposerSlot, DiscussionComposerTools, DiscussionComposerHint, and reply section slots such as DiscussionReplyMeta.

Custom toolbar with sample thread

Host-owned toolbar buttons above a short thread with two replies.

Custom slot toolbar
  • AC
    Alex Chen
    ·
    OP

    Welcome to the discussion — customize the toolbar slot above.

    • SR
      Sam Rivera
      ·

      Looks good. The host owns this toolbar region.

()()