# Tiny Components - Sidebar Form Created with [Riot.js](https://riot.js.org) Handle Form in a Sidebar. Styles for Sidebar based on [Plain-UI](https://plain-ui.com). ## Changelog 0.1.0 Init 1.0.0 Remove "SidebarForm" and build a more basic Solution, that is also easier to adept ## Install ``` npm install @tiny-components\sidebar-form --save ``` ## How to use Create your own Component and add sidebarHeader & sidebarFooter, ```js
``` You have to add the Mixin "sidebarFormMixin.js". ```js export default () => { return { ...sidebar, // adding basic funtion for sidebar ``` Add Function to handle the submit. ```js handleSubmit(event) { event.preventDefault() this.state.isLoading = true this.update() ... ``` You can find a full Example in src/ and a running version under example/.