🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

@bolt/components-nav-indicator

Package Overview
Dependencies
Maintainers
5
Versions
309
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bolt/components-nav-indicator

Nav Indicator Sub-Component in Bolt

3.6.0
latest
Source
npm
Version published
Weekly downloads
1
-99.7%
Maintainers
5
Weekly downloads
 
Created
Source

The <bolt-nav-indicator> web component handles the display and animations of the active / inactive ` links contained inside.

As the <bolt-nav-indicator> is a JavaScript and Sass-only web component, no Twig file is actually required. Components wiring up to use the <bolt-nav-indicator> wrap the containing unordered-list of <navlinks> and this component does all the heavy lifting!

<bolt-nav-indicator>
  <ul class="c-bolt-nav-priority__list c-bolt-nav-priority__primary">
    {% for item in links %}
      <li class="c-bolt-nav-priority__item">
        {% include "@bolt-components-navlink/navlink.twig" with item only %}
      </li>
    {% endfor %}
  </ul>
</bolt-nav-indicator>

Keywords

bolt design system

FAQs

Package last updated on 13 May 2021

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