renderless-svelte

A collection of renderless Svelte components

Usage no npm install needed!

<script type="module">
  import renderlessSvelte from 'https://cdn.skypack.dev/renderless-svelte';
</script>

README

Renderless Svelte Components

What are renderless components ?

Renderless components are components that do not render anything by themselves, instead to encapsulate common behaviour and leave the actual output up to the consumer. In Svelte we achieve this through the use of slots.

Components

Accordion

Carousel

Modal

Notifications

TabControl

Tooltip