vendix-frontend-modal

Standardize Angular modals with app-modal wrapper and two-way isOpen binding.

5|Updated Aug 23, 2025
One-click install
npx skills add https://github.com/Rzyfront/Vendix --skill vendix-frontend-modal
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vendix-frontend-modal
Source: https://github.com/Rzyfront/Vendix/tree/main/skills/vendix-frontend-modal
Command: npx skills add https://github.com/Rzyfront/Vendix --skill vendix-frontend-modal

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill defines a robust pattern for implementing modals in the Vendix frontend, promoting consistency, accessibility, and predictable state management.

Core Features & Use Cases

  • Modal-First Architecture: Build modals using the app-modal wrapper and enforce a single-view approach for CRUD workflows.
  • System Components Only: Inside modals, always use system components (app-input, app-selector, app-textarea) to avoid custom HTML controls and event conflicts.
  • Two-Way State Binding: Use isOpen and isOpenChange to control visibility and prevent common Angular change-detection errors.

Quick Start

Use the vendix-frontend-modal pattern to create a new modal for a component by reusing the app-modal wrapper and wiring isOpen/isOpenChange for two-way binding.

Frequently Asked Questions about vendix-frontend-modal

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is the best way to implement Angular modals for CRUD workflows in an admin dashboard?

A modal-first architecture standardizes Angular modals by enforcing a single-view approach for creation, editing, and viewing within admin dashboards. This pattern uses an app-modal wrapper to ensure consistent CRUD workflows across product UIs.

How do I prevent Angular change-detection errors when managing modal visibility?

To prevent Angular change-detection errors with modal visibility, use two-way state binding via isOpen and isOpenChange properties. This ensures predictable state management and reliable visibility control.

Which UI components should I use inside frontend modals to avoid event conflicts?

Inside frontend modals, you should use system components like app-input, app-selector, and app-textarea exclusively. Avoiding custom HTML controls prevents event conflicts and promotes UI consistency.

How do I customize the footer of an app-modal wrapper in Angular?

You can customize the footer of an app-modal wrapper using slot-based customization. This allows you to inject specific action buttons or content into the modal footer without altering the core wrapper logic.

When should I use a modal-first pattern instead of page navigation for product UIs?

Use a modal-first pattern for product UIs when you need to maintain a single-view architecture for CRUD operations. It is ideal for admin dashboards requiring consistent data creation, editing, and viewing without full page reloads.