svelte-component-lib

0.0.2 • Public • Published

Main information

Svelte UI lib components

Installation

npm install

Components available

Button

Properties:

  • label {String}: empty by default
  • primary {Boolean}: "false" by default
  • size {String}: "medium" as default, accepts "large" or "small"
<Button />

Input

Properties:

  • placeholder {String}: empty by default
  • label {String}: empty by default
  • disabled {Boolean}: "false" by default
<Input />

Toggle

Properties:

  • label {String}: empty by default
  • isToggled {Boolean}: "false" by default
  • style {String}: empty by default, custom class accepted
<Toggle />

Readme

Keywords

none

Package Sidebar

Install

npm i svelte-component-lib

Weekly Downloads

0

Version

0.0.2

License

ISC

Unpacked Size

41.8 kB

Total Files

14

Last publish

Collaborators

  • ruzamca