canopy-accordion

Guide Angular developers on Canopy lg-accordion usage for multi-panel layouts.

23|46|Updated Sep 7, 2020
One-click install
npx skills add https://github.com/Legal-and-General/canopy --skill canopy-accordion
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: canopy-accordion
Source: https://github.com/Legal-and-General/canopy/tree/main/skills/best-practice/accordion
Command: npx skills add https://github.com/Legal-and-General/canopy --skill canopy-accordion

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Consistent, accessible, and maintainable guidance for implementing Canopy's lg-accordion in Angular projects, reducing misuses and UX inconsistencies.

Core Features & Use Cases

  • Best-practice guidance for structuring accordion panels, headings, and content in Canopy components.
  • Recommendations for accessibility considerations, state management, and when to prefer alternative UI patterns.
  • Real-world scenarios across Angular projects showing typical panel layouts, headings, and content organization.

Quick Start

Follow these guidelines when implementing the Canopy accordion in your Angular project to ensure consistency and accessibility.

Frequently Asked Questions about canopy-accordion

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

FAQPage Schema
How do I implement an accessible accordion in Angular?

To build an accessible accordion in Angular, follow best-practice guidance for structuring panels and headings. This ensures proper state management and consistent UX by specifying required component inputs and outputs.

What is the best way to structure multi-panel layouts with lg-accordion?

The best way to structure multi-panel layouts with lg-accordion is by applying recommended usage patterns for panel headings and content organization. This approach ensures maintainability and UX consistency across Angular projects.

Can I lazy-load content inside Canopy accordion panels?

Yes, you can lazy-load content inside Canopy accordion panels. Best-practice guidance includes recommendations for lazy-loading content and icon usage to ensure accessibility and consistency within Angular applications.

When should I not use an accordion component for my Angular layout?

You should not use an accordion component when best-practice guidance recommends preferring alternative UI patterns. Evaluating your specific content organization needs helps determine if an accordion limits accessibility or creates UX inconsistencies.