ComponentsActions

Button

Triggers an action. Put txButton on a native button or a.

Features18APIThemingAccessibility

Severity

Eight meanings, from the main action to a destructive one.

Label

Text through label or as content. No text + an icon = square.

The last one is square until clicked

Variants

outlined, text and link for quieter actions.

Real link

Icons

Any side: iconPos left, right, top or bottom.

Brands

Brand logos from @tectra-ng/brand-icons.

Icon only

Square by itself when there is no text. Add an aria-label.

Ripple

Press and hold. Turn on with provideTectra({ ripple: true }).

Loading

Spins, disables and sets aria-busy. Click it.

Disabled

Works on button and on a.

Disabled link

Badge

A counter after the text.

Rounded raised

Round corners and a shadow.

Plain

Grey outlined or text buttons for toolbars.

Fluid

Full width — one button or everything inside <tx-fluid>.

Sizes

Small, medium, large.

Template

Any markup in place of the icon.

Design tokens

Change tokens of one button with [dt].

Pass through

Your classes and styles on inner parts — static or from the button state.

Unstyled

No tectra styles, behaviour stays.