canopy-forms-filter-buttons

Document Canopy filter button patterns for Angular single and multi-select controls.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Best practices for implementing Canopy filter buttons in Angular projects to ensure accessible, consistent single and multi-select controls.

Core Features & Use Cases

  • Guidance for using Canopy filter buttons inside a lg-filter-container for both single (Select One) and multiple (Select Multiple) scenarios.
  • Examples show implementing single selection with lg-radio-group and multiple selection with lg-checkbox-group and lg-toggle.
  • Helps ensure consistent labeling, spacing, and interaction patterns across Canopy-based UIs.

Quick Start

Follow the example usage to implement filter buttons within your Angular Canopy UI.

Frequently Asked Questions about canopy-forms-filter-buttons

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

FAQPage Schema
How do I implement accessible filter buttons in Angular?

Accessible filter buttons in Angular are implemented using Canopy components within an lg-filter-container to ensure consistent labeling and interaction patterns for single and multi-select controls.

What is the best way to create a single-select filter control in a Canopy UI?

The best way to create a single-select filter control in a Canopy UI is using the lg-radio-group component inside an lg-filter-container to apply accessible single-selection patterns for data-filter scenarios.

How do I build a multi-select filter button group with Canopy?

Multi-select filter button groups in Canopy are built using lg-checkbox-group and lg-toggle components inside an lg-filter-container to deliver accessible multiple-selection controls for Angular projects.

Do I need specific dependencies to use Canopy filter components in Angular?

Yes, using Canopy filter components requires Angular integration with Canopy components, along with recommended import paths, to ensure the lg-filter-container and selection controls function correctly.

Why use an lg-filter-container for data filtering in Angular applications?

An lg-filter-container is used for data filtering in Angular to group lg-radio-group and lg-checkbox-group components, ensuring consistent spacing, labeling, and accessible interaction patterns across Canopy-based UIs.