Button Module

The ButtonModule provide a set of button types with a unified appearance and behavior.

Based on the need @evalink/cause provide three different type of buttons. All of them can be used either on a button or a html element.

...
import { CauseButtonModule } from '@evalink/cause';

@Component({
    declarations: [
        AppComponent
    ]
    imports: [
        ...
        CauseButtonModule,
        ...
    ]
    ...
})
export class AppModule {}

The CauseButton is the default type of button to use in the project. Use it as a default button in your design.

The CauseSmallButton has the same appearance as the CauseButton with less padding. Use it in situation where you need to save space. For example navigations.

The CauseIconButton wraps the button around an icon. Use it in situation where you just want to put a icon into button without text.

Last updated

Was this helpful?