0.0.1002 • Published 6 months ago

sn-button-x v0.0.1002

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

SnButton

Angular v17 standalone button component easy to use. It is a part of SnUI Library.

Importing to Project

  • Run npm i sn-button-x to add it in your project.
  • Add to imports array as follows
@Component({
  selector: 'app-root',
  standalone: true,
  imports: [CommonModule, SnButtonComponent],
  templateUrl: './app.component.html',
  styleUrl: './app.component.scss',
})
  • use <sn-button>Submit</sn-button> element to render a button

Supported properties

AttributeSupported Type
typestring ex. submit\|reset
disabledboolean
roundedboolean
filledboolean
raisedboolean
iconstring ex. coffee
schemestring ex. primary\|warn\|danger\|success

based on scheme , rounded,filled and raised attribute respective button styles are rendered icon attribute supports font awesome icons

Further help

Get in touch with me email: nakate.swapnil7@gmail.com | twitter: @SwapnilNakate7

0.0.1002

6 months ago

0.0.1001

6 months ago

0.0.1

6 months ago