README
vf-collapse Component
Collapse and expand components are useful in a variety of utilitarian situations to show and hide information
- These will likely be similar in functionality to the Bootstrap collapse component
- We may use the
<detail>
element
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.