UNPKG

wix-style-react

Version:
13 lines (10 loc) 495 B
Button supports 8 skin styles: - `standard` is for general actions. - `inverted` is for grey background. - `light` – general action on dark backgrounds. - `destructive` – damaging actions like delete. - `premium` – action that links to upgrade the service plan. - `dark` and `transparent` – general action on coloured backgrounds. - `premium-light` is for dark background. - `ai` is for AI features. Action can be `primary` or `secondary`. There should be one primary action per page.