An open API service indexing awesome lists of open source software.

https://github.com/nickrigby/silc-nav

Lightweight, responsive navigation component for silc framework
https://github.com/nickrigby/silc-nav

nav silc-framework typescript

Last synced: 2 months ago
JSON representation

Lightweight, responsive navigation component for silc framework

Awesome Lists containing this project

README

        

# silc nav [![Build Status](https://travis-ci.org/nickrigby/silc-nav.svg?branch=master)](https://travis-ci.org/nickrigby/silc-nav) [![npm version](https://badge.fury.io/js/silc-nav.svg)](https://badge.fury.io/js/silc-nav)
The nav component is an ultra-lightweight web component for the [silc framework](https://github.com/nickrigby/silc). The nav is collapsed by default — to work on smaller screens — with the ability to expand to a horizontal navigation with drop-downs.

## HTML
```html

```

### BEM classes
BEM classes are added via JavaScript to ease integrations with third-party systems, and to enforce semantic markup. Classes are as follows:

```html

    ...

  • ...

  • ...
    ```

    ## Styling
    As with all silc components, no deliberate style has been added. However, through a SASS fallback system, a number of [SASS variables](src/scss/_variables.scss) are available to easily apply design without having to write your own selectors.