overlastic

overlastic

Comprehensive skills for working with Overlastic

1étoiles
1forks
Mis à jour 2/3/2026
SKILL.md
readonlyread-only
name
overlastic
description

Comprehensive skills for working with Overlastic

version
"2026.01.29"

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

Core References

Topic Description Reference
Constructor Core method for creating overlay constructors core-constructor
Deferred Promise variation with external control methods core-deferred
Global Functions Utilities for mounting elements and name management core-defines
useDisclosure Hook for managing overlay lifecycle and state core-disclosure

Framework References

Topic Description Reference
React Integration Using Overlastic with React components framework-react
Vue Integration Using Overlastic with Vue 3 components framework-vue
Svelte Integration Using Overlastic with Svelte components framework-svelte

Advanced References

Topic Description Reference
Provider Pattern Using OverlaysProvider for context inheritance advanced-provider
Custom Components Integrating existing component libraries advanced-customization
External Control Controlling overlay lifecycle from outside advanced-external-control
Declarative Usage Using overlays in templates/JSX advanced-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

You Might Also Like

Related Skills

verify

verify

243K

Use when you want to validate changes before committing, or when you need to check all React contribution requirements.

facebook avatarfacebook
Obtenir
test

test

243K

Use when you need to run tests for React core. Supports source, www, stable, and experimental channels.

facebook avatarfacebook
Obtenir

Use when feature flag tests fail, flags need updating, understanding @gate pragmas, debugging channel-specific test failures, or adding new flags to React.

facebook avatarfacebook
Obtenir

Use when adding new error messages to React, or seeing "unknown error code" warnings.

facebook avatarfacebook
Obtenir
flow

flow

243K

Use when you need to run Flow type checking, or when seeing Flow type errors in React code.

facebook avatarfacebook
Obtenir
flags

flags

243K

Use when you need to check feature flag states, compare channels, or debug why a feature behaves differently across release channels.

facebook avatarfacebook
Obtenir