crs-dropdown-container
v0.0.13
Published
```html npm install --save crs-dropdown-container ```
Downloads
11
Readme
CRS dropdown container
Install
npm install --save crs-dropdown-container
Introduction
This is a simple container component that exists in two parts.
- Dropdown input
- Container
Both you can add custom UI too.
<crs-dropdown-container>
<div slot="label">
<span>My Label</span>
</div>
<div slot="content">
<div>Content 1</div>
<div>Content 2</div>
</div>
</crs-dropdown-container>
Interaction
Clicking on the the input will drop down the container.
Custom styles
The following css variables can be used to update coloring:
- --tool-background, affects the background
- --border, affects the border color
- --primary, affects icon color, should be primary color of app