Getting Started
Writing content
API Documentation
Customization
Recipes
API References Develop
@ng-doc/ui-kit / Class

NgDocButtonComponent

NgDocButtonComponent is a reusable button component with customizable properties. It can be used as a regular button, a flat button, or a text button.

Properties

NameTypeDescription
color
NgDocColor

Color of the button. Can be 'primary', 'secondary', etc. Default is 'primary'.

rounded
boolean

Whether the button is rounded or not. Default is false.

size
NgDocSize

Size of the button. Can be 'small', 'medium', or 'large'. Default is 'small'.

Example usage

<button ng-doc-button [size]="'large'" [color]="'secondary'" [rounded]="true">Click me</button>