@kamrade/svelte-dynamic-button
Version:
A simple button template that supports a flexible set of themes, variants, sizes and shapes. You can find usage examples (MagicButton and SimpleButton components) in the repository.
27 lines (20 loc) • 683 B
Markdown
# Basic extensible button component.
A simple button template that supports a flexible set of themes, variants, sizes and shapes.
You can find usage examples (MagicButton and SimpleButton components) in the repository.
```bash
npm i -S @kamrade/svelte-dynamic-button
```
### ToDo List
- [x] --hoverBorderColor
- [x] --activeBorderColor
- [x] --hoverColor (text)
- [x] --activeColor (text)
- [x] --disabledColor
- [x] --disabledBackgroundColor
- [x] --disabledBorderColor
- [x] Better preloader
- [x] Custom preloader
- [ ] Better way to provide Custom Preloader
- [ ] Check both way to provide props
- [ ] InlineFlex button content
- [ ] LineHeight for prefix and suffix icons