Button
Buttons are the primary interactive elements used to prompt user action—anything from saving data, submitting forms, canceling operations, navigating users, or triggering workflows. At Rootflo, buttons must clearly communicate intent, maintain visual consistency, and adapt to different contexts.
button.[type].[state].[size]
button.primary.default.large
colour.button.[type].[state].[element].[value]
colour.button.primary.default.background.blue700
typography.button.[type].[state].[value]
typography.button.primary.default.blue700
button.[shape].[spacing-type].[button-size].[value]
button.rectangle.corner-radius.large.16
Primary buttons are the most prominent and are used for high-emphasis actions. They draw the user’s attention and guide them toward completing key tasks.
For supporting actions that are important but not the main focus, e.g. Back, View Details.
For supporting actions that are important but not the main focus, e.g. Back, View Details.