Svelte-Transition

A Svelte component to transition elements via CSS classes

Examples: Basic Nested

Convert TailwindUI Comments

<!-- Modal panel, show/hide based on modal state. -->
<Transition
  enter="ease-out duration-300"
  enterFrom="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"
  enterTo="opacity-100 translate-y-0 sm:scale-100"
  leave="ease-in duration-200"
>
</Transition>