overlastic

v2026.09.24

Comprehensive skills for working with Overlastic

GitHub
Install command
npx skhub add hairyf/overlastic
Markdown
SKILL.md

Based on Overlastic v0.8.7. A promise-based modal/dialog/popup library supporting React, Vue, and Svelte.

Core References

TopicDescriptionReference
ConstructorCore method for creating overlay constructorscore-constructor
DeferredPromise variation with external control methodscore-deferred
Global FunctionsUtilities for mounting elements and name managementcore-defines
useDisclosureHook for managing overlay lifecycle and statecore-disclosure

Framework References

TopicDescriptionReference
React IntegrationUsing Overlastic with React componentsframework-react
Vue IntegrationUsing Overlastic with Vue 3 componentsframework-vue
Svelte IntegrationUsing Overlastic with Svelte componentsframework-svelte

Advanced References

TopicDescriptionReference
Provider PatternUsing OverlaysProvider for context inheritanceadvanced-provider
Custom ComponentsIntegrating existing component librariesadvanced-customization
External ControlControlling overlay lifecycle from outsideadvanced-external-control
Declarative UsageUsing overlays in templates/JSXadvanced-declarative

Key Concepts

  • Constructor: Receives component, props, and options to mount overlays
  • Deferred: Promise-like object with confirm and cancel methods for external control
  • Mount Options: Configuration for container, ID, index, and deferred instance
  • Lifecycle: Components are destroyed after duration ends when deferred resolves/rejects
  • Imperative Usage: defineOverlay and renderOverlay for callback-based invocation
  • Declarative Usage: Components can be used in templates/JSX with props
  • Provider Pattern: OverlaysProvider for context inheritance
  • Dual Mode Support: Components work in both imperative and declarative modes
Discovery
Tags

No tags published for this skill.

Version
Latest version metadata

Version

v2026.09.24

Published

Sep 24, 2026

Category

Uncategorized

License

MIT

Source path

skills/overlastic

Default branch

main

Latest commit

4f463c7

Tree SHA

73bcd03