Skip to content

Svelte + Floating UI integration guide #3598

@endigo9740

Description

@endigo9740

Describe the feature in detail (code, mocks, or screenshots encouraged)

With the Floating UI Svelte project now on hold, I'd like to offer an alternative.

While the Skeleton React Popover guide makes use of Floating UI React, we'll need to make use of the core Floating UI library to provide a similar experience for Svelte users. This guide will demonstrate this process, while being fully tailored towards Skeleton's design system features.

At minimum this should demonstrate examples for the following:

  • Popovers
  • Tooltips
  • Modals (and Drawers)
  • Comboboxes

But may be expanded to cover any number of use cases, including but not limited to:

  • Toasts
  • Context Menus
  • ...and more...

Ideally each example is implemented as a component, as this is typically what folks are going to want.

What type of pull request would this be?

Guide

Provide relevant links or additional information.

In addition to the integration process, I'd like to make use of the new Svelte 5 Attachments feature:

NOTE: this will require Svelte 5.29 or higher

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationfeature requestRequest a feature or introduce and update to the project.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions