Skip to content
overlastic logo

Overlastic

overlastic

Comprehensive skills for working with Overlastic

hairyf/skills587installs25stars

SKILL.md

Full skill instructions

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

More skills from hairyf

valtio logo
hairyf/skills

valtio

valtio

25 672
View
vitest logo
hairyf/skills

vitest

vitest

25 519
View
unjs logo
hairyf/skills

unjs

unjs

25 472
View
hairy logo
hairyf/skills

hairy

hairy

25 400
View
undocs logo
hairyf/skills

undocs

undocs

25 389
View
tsdown logo
hairyf/skills

tsdown

tsdown

25 376
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View