Button
Restyle native <button> elements as a Galactik button — six variants, four sizes, icon-only mode — with no wrapper component and no change to native button behavior.
Button is a directive on the native button selector, not a wrapped component: importing it into a
component's imports restyles every <button> that component's own template renders directly, while leaving
type, disabled, form association and keyboard behavior exactly as the platform provides them.
Minimal example
How it works
Because there is no dedicated tag, ButtonComponent only activates on <button> elements the importing
component's own template renders — a nested child component must import it itself too, exactly like any other
Angular directive.
Recipes
Variants, sizes and icon-only
Options
Prop
Type
This component has no outputs of its own — use the native (click) and other native button/keyboard events
directly.