@ngx-bio-components/badge
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

@ngx-bio-components/badge

API reference for Bio badge

import { BioBadgeModule } from '@ngx-bio-components/badge';
<bio-badge [size]="size" [shape]="shape" [color]="color" [border]="border">
    <svg class="h-1.5 w-1.5 fill-indigo-500" viewBox="0 0 6 6" aria-hidden="true">
        <circle cx="3" cy="3" r="3" />
    </svg>
    Badge
</bio-badge>

Type aliases

BioBadgeSize

Allowed size options for bioBadgeSize

type BioBadgeSize = 'normal' | 'small';

BioBadgeShape

Allowed shape options for bioBadgeShape

type BioBadgeShape = 'flat' | 'pill';

BioBadgeColor

Allowed color options for bioBadgeColor

type BioBadgeColor = 'gray' | 'red' | 'yellow' | 'green' | 'blue' | 'indigo' | 'purple' | 'pink';

BioBadgeBorder

Allowed border options for bioBadgeBorder

type BioBadgeBorder = boolean;
Name Description
@Input('biBadgeSize')
size: BioBadgeSize
The size of the badge. Can be normal or small.
@Input('bioBadgeShape')
shape: BioBadgeShape
The shape of the badge. Can be flat or pill.
@Input('bioBadgeColor')
color: BioBadgeColor
The color of the badge. Can be gray, red, yellow, green, blue, indigo, purple or pink.
@Input('bioBadgeBorder')
border: boolean
The border of the badge. Can be true or false.

Package Sidebar

Install

npm i @ngx-bio-components/badge

Weekly Downloads

1

Version

0.1.1

License

MIT

Unpacked Size

64 kB

Total Files

13

Last publish

Collaborators

  • umutyerebakmaz