Socket
Socket
Sign inDemoInstall

@gemeente-denhaag/anchor-collapse

Package Overview
Dependencies
0
Maintainers
2
Versions
248
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @gemeente-denhaag/anchor-collapse

An anchor collapse component


Version published
Weekly downloads
117
increased by105.26%
Maintainers
2
Created
Weekly downloads
 

Readme

Source

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

Last updated on 25 Apr 2024

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc