This repository is a quick prototype of the svelte-headless-ui
library. Here's the documentation.
Go to /dialog
to see the dialog example.
Notes:
fixed inset-0
is necessary on bothDialog
andDialogOverlay
DialogTitle
andDialogDescription
are not required.- The
transform
class on theDialog
contents is necessary to center the dialog.
Go to /popover
to see the popover example.
Go to /tabs
to see the tabs example.
Notes:
TabPanel
is not required to show content. Instead I use a slot and navigate to a subpage.