0.0.20 • Published 7 months ago

@ngx-bio-components/button v0.0.20

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

@ngx-bio-components/button

BioButton buttons are native <button> elements enhanced with Tailwind Design styling.

Native <button> elements are always used in order to provide the most straightforward and accessible experience for users. A <button> element should be used whenever some action is performed.

There are several button variants, each applied as an attribute:

Color Types

Buttons can be colored in terms of the current theme using the color property to set the background color to primary, secondary, or white.

Size Types

Buttons can be sized in terms of the current theme using the size property to set the button size to xs, sm, md, lg and xl.

Accessibility

@ngx-bio-components/button uses native <button> element to ensure an accessible experience by default. A <button> element should be used for any interaction that performs an action on the current page. All standard accessibility best practices for buttons apply to BioButton.

import { BioButtonModule } from '@ngx-bio-components/button';

Directives

BioButton

Selectors: button[bio-button], button[bio-circular-button], button[bio-round-button]

Exported as: bioButton

<button bio-button [color]="color" [size]="size" [disabled]="disabled" [type]="type">Button</button>
0.0.20

7 months ago

0.0.19

10 months ago

0.0.18

11 months ago

0.0.15

1 year ago

0.0.16

1 year ago

0.0.17

1 year ago

0.0.10

2 years ago

0.0.11

2 years ago

0.0.12

2 years ago

0.0.13

2 years ago

0.0.14

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago