@visual-framework/vf-collapse

vf-collapse component

Usage no npm install needed!

<script type="module">
  import visualFrameworkVfCollapse from 'https://cdn.skypack.dev/@visual-framework/vf-collapse';
</script>

README

vf-collapse Component

npm version

Collapse and expand components are useful in a variety of utilitarian situations to show and hide information

This is a draft component, it is not yet functional. Background on the implementation, goals and work plan can be found in the issue.

Install

This repository is distributed with [npm][npm]. After [installing npm][install-npm], you can install vf-collapse with this command.

$ yarn add --dev @visual-framework/vf-collapse

Usage

The source files included are written in [Sass][sass] (scss) You can simply point your sass include-path at your node_modules directory and import it like this.

@import "@visual-framework/vf-collapse/index.scss";

Make sure you import Sass requirements along with the modules.