canopy-tabs

Guide Angular developers to implement accessible Canopy tab interfaces with LgTabsComponent and LgTabNavBarComponent.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Best-practice guidance for implementing Canopy Tabs in Angular projects to ensure accessible, consistent tabbed interfaces across components.

Core Features & Use Cases

  • Guidance on when to use LgTabsComponent, LgTabNavBarComponent, and LgTabNavBarLinkDirective for both router-based navigation and content-based tab sets.
  • Patterns for accessible labeling, keyboard navigation, and focus management to improve usability.
  • Use cases across dashboards, settings panels, and multi-tab workflows to maintain UX consistency.

Quick Start

Apply Canopy Tabs best practices to implement accessible, consistent tab interfaces in your Angular project.

Frequently Asked Questions about canopy-tabs

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

FAQPage Schema
How do I implement accessible tabs in an Angular design system?

To implement accessible tabs in an Angular design system, use Canopy components like LgTabsComponent and LgTabNavBarComponent. They provide built-in patterns for accessible labeling, keyboard navigation, and focus management to ensure usability across your application's interfaces.

When should I use LgTabsComponent versus LgTabNavBarComponent for tab navigation?

Use LgTabsComponent for content-based tab sections and LgTabNavBarComponent for router-based tab navigation. Choosing the correct Canopy component ensures consistent UX and proper API usage across dashboards, settings panels, and multi-tab workflows.

What's the best way to add keyboard navigation to Angular tab components?

The best way to add keyboard navigation to Angular tabs is by following Canopy UI guidelines using LgTabsComponent. It delivers focus management and navigable tab sets out of the box, satisfying functional accessibility requirements for keyboard users.

Does Canopy support router-based tab navigation in Angular applications?

Yes, Canopy supports router-based tab navigation in Angular applications using LgTabNavBarComponent and LgTabNavBarLinkDirective. This approach creates navigable tab sets that maintain accessibility and consistent design system patterns across your project.

How do I ensure consistent UI guidelines for tabbed interfaces across dashboards?

To ensure consistent UI guidelines for tabbed interfaces across dashboards, apply Canopy Tabs best practices. Using LgTabsComponent enforces accessible labeling and consistent API usage, maintaining UX consistency across all multi-tab workflows and settings panels.