@evomark/vue-forward-slots

Forward slots and attributes to child components
5,234 2
Install
npm install @evomark/vue-forward-slots
Latest Version:7.0.3
Vue:3
License:MIT
Last Updated:Oct 8, 2026
Links: GitHub  ·  npm
Maintainer: craigrileyuk

evoMark company logo

Downloads Version Licence

Vue Forward Slots

Effortlessly forward slots to child components in Vue 3 applications.

Fork Features

Forked from https://github.com/jessegall/vue-forward-slots, this version offers a few additional features:

  • Automatically pass-through attributes to the wrapped component
  • New inherit-attrs prop for the ForwardSlots component, default is true
  • Support RegExp for only and except props or as array items for either
  • Support wildcard matches at the start or end of items, e.g. :only="['item*']" or :except="['*prepend']"
  • Forward directives to single- or multi-root nodes
  • Extensive tests run against the library via Vitest and Vue Test Utils

Original Features

  • Easily forward all slots or specific slots to child components
  • Simple and declarative syntax

For full information on installing and using this package, please visit the evoMark Vue Forward Slots page on our website.

Related Packages

vue-forward-slots

Forward slots to child components

32,780 14
storybook-addon-vue-slots

Vue Slots support for Storybook

491,750 22
storybook-vue-slots

Vue Slots support for Storybook

26,123
vue-cool-select

Vue select with autocomplete and with slots. 2 themes: bootstrap 4, material des...

42,059 240
@skirtle/vue-vnode-utils

Utilities for manipulating Vue 3 VNodes

85,921 36

Version History

Version Released Vue License
7.0.3 ^3.0.0 MIT
7.0.2 ^3.0.0 MIT
7.0.1 ^3.0.0 MIT
7.0.0 ^3.0.0 MIT
6.2.2 ^3.0.0 MIT