@kamrade/svelte-dynamic-button
TypeScript icon, indicating that this package has built-in type declarations

0.0.9 • Public • Published

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.

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

Readme

Keywords

Package Sidebar

Install

npm i @kamrade/svelte-dynamic-button

Weekly Downloads

1

Version

0.0.9

License

MIT

Unpacked Size

32.8 kB

Total Files

28

Last publish

Collaborators

  • kamrade