New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@gemeente-denhaag/anchor-collapse

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gemeente-denhaag/anchor-collapse

An anchor collapse component


Version published
Weekly downloads
88
increased by11.39%
Maintainers
2
Weekly downloads
 
Created

Anchor collapse

The anchor collapse for mobile devices, used in combination with the anchor navigation.

When to use

Used in combination with the anchor-navigation, on mobile a collapse is shown. On desktop just the regular content.

Anatomy

The anchor collapse consists of:

  1. Section: Wrapper to scroll-to;
  2. Label/Summary: Same as the Heading 2;
  3. Content/Details: Content of the block;

(Interactive) states

The anchor collapse has the following states active, hover and focus.

Design Properties

Typography

  • Label inactive: TheSans/lg/700
  • Label active: TheSans/lg/700

Color

  • Label inactive: text color Grey/5
  • Label active: text color Green/3
  • Label focus: text color Green/3
  • Label hover: text color Green/3

Accessibility

[technical requirements]

FAQs

Package last updated on 06 Jul 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts