0.1.3 • Published 3 years ago
@simplr-wc/button v0.1.3
Simplr Button
Usage
Import
import '@simplr-wc/button';
Use
<simplr-button label="Button"></simplr-button>
Properties
Property | Attribute | Type | Default | Description |
---|---|---|---|---|
color | color | string | "" | Custom color for the button |
dense | dense | boolean | false | Is the button using the dense style |
disabled | disabled | boolean | false | Is the button disabled |
icon | icon | string | "" | Icon shown next to the label. |
label | label | string | "" | Label of the button. |
labelColor | labelColor | string | "" | Custom color for the button label |
outlined | outlined | boolean | false | Is the button using the outlined style |
primary | primary | boolean | false | Is the button using the primary style |
raised | raised | boolean | false | Is the button using the raised style |
secondary | secondary | boolean | false | Is the button using the secondary style |
trailingIcon | trailingIcon | boolean | false | Is the icon trailing the label. |
unelevated | unelevated | boolean | false | Is the button using the unelevated style |