Hide at

From Legal-and-General/canopy · View interactive version

Hide at is an AI agent skill from the GitHub repository Legal-and-General/canopy. Best practices for the Canopy Hide At directive. Trigger when using lgHideAt or LgHideAtDirective to hide elements at specific breakpoints in an Angular project using Canopy.

How to use this skill

Skill file

Canopy Hide At — Best Practices

This skill provides usage guidance for the Canopy lgHideAt directive from @legal-and-general/canopy.

Apply this skill when you need to hide an element at certain breakpoints.

See also: the show-at skill for showing elements at breakpoints.


Import

import { LgHideAtDirective } from '@legal-and-general/canopy';

Basic Usage

<!-- Hide at the lg breakpoint and above -->
<p lgHideAt="lg">Hidden on large screens and above</p>

Inputs

Available breakpoints: sm, md, lg, xl, xxl.

| Input | Type | Default | Required | Description |

|-------|------|---------|----------|-------------|

| lgHideAt | Breakpoints | null | No | The breakpoint at which the element is hidden. |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.