首页/overlastic
O

overlastic

by @hairyfv1.0.0
0.0(0)

Comprehensive skills for working with Overlastic

OverlasticUI OverlaysModal DialogsFrontend ComponentsUser Interface (UI)GitHub
安装方式
npx skills add hairyf/skills --skill overlastic
compare_arrows

Before / After 效果对比

0

description 文档


name: overlastic description: Comprehensive skills for working with Overlastic metadata: author: Hairyf version: "2026.01.29" source: Internal Documentation

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

forum用户评价 (0)

发表评价

效果
易用性
文档
兼容性

暂无评价,来写第一条吧

统计数据

安装量0
评分0.0 / 5.0
版本1.0.0
更新日期2026年3月16日
对比案例0 组

用户评分

0.0(0)
5
0%
4
0%
3
0%
2
0%
1
0%

为此 Skill 评分

0.0

兼容平台

🔧Claude Code

时间线

创建2026年3月16日
最后更新2026年3月16日