Primary buttons stand out the most and are used for the most important actions.
1<IconButton text="Meaningful action text here" variation="primary" Icon={PlusIcon} />
Secondary buttons are still fairly prominent but are used for less important alternatives to the primary action.
1<IconButton text="Meaningful action text here" variation="secondary" Icon={PlusIcon} />
Interactive buttons can be used to mimic the interactive state of a link.
1<IconButton text="Meaningful action text here" variation="interactive" onClick={() => {}} Icon={PlusIcon} />
Interactive Secondary buttons are text styled buttons with the interactive-secondary colour applied.
1<IconButton text="Meaningful action text here" variation="interactiveSecondary" onClick={() => {}} Icon={PlusIcon} />
No Style buttons can be used where the icon itself becomes the action.
1<IconButton text="Meaningful action text here" variation="noStyle" onClick={() => {}} Icon={PlusIcon} />
1<IconButton text="Meaningful action text here" variation="primary" round size="small" onClick={() => {}} Icon={PlusIcon} />2<IconButton text="Meaningful action text here" variation="primary" round onClick={() => {}} Icon={PlusIcon} />3<IconButton text="Meaningful action text here" variation="primary" round size="large" onClick={() => {}} Icon={PlusIcon} />4<IconButton text="Meaningful action text here" variation="primary" round size="xlarge" onClick={() => {}} Icon={PlusIcon} />
1<IconButton text="Meaningful action text here" variation="primary" size="small" onClick={() => {}} Icon={PlusIcon} />2<IconButton text="Meaningful action text here" variation="primary" onClick={() => {}} Icon={PlusIcon} />3<IconButton text="Meaningful action text here" variation="primary" size="large" onClick={() => {}} Icon={PlusIcon} />4<IconButton text="Meaningful action text here" variation="primary" size="xlarge" onClick={() => {}} Icon={PlusIcon} />56<IconButton text="Meaningful action text here" variation="secondary" size="small" onClick={() => {}} Icon={PlusIcon} />7<IconButton text="Meaningful action text here" variation="secondary" onClick={() => {}} Icon={PlusIcon} />8<IconButton text="Meaningful action text here" variation="secondary" size="large" onClick={() => {}} Icon={PlusIcon} />9<IconButton text="Meaningful action text here" variation="secondary" size="xlarge" onClick={() => {}} Icon={PlusIcon} />1011<IconButtonExample text="Meaningful action text here" variation="interactive" size="small" onClick={() => {}} icon="PlusIcon" />12<IconButtonExample text="Meaningful action text here" variation="interactive" onClick={() => {}} icon="PlusIcon" />13<IconButtonExample text="Meaningful action text here" variation="interactive" size="large" onClick={() => {}} icon="PlusIcon" />14<IconButtonExample text="Meaningful action text here" variation="interactive" size="xlarge" onClick={() => {}} icon="PlusIcon" />1516<IconButtonExample text="Meaningful action text here" variation="interactiveSecondary" size="small" onClick={() => {}} icon="PlusIcon" />17<IconButtonExample text="Meaningful action text here" variation="interactiveSecondary" onClick={() => {}} icon="PlusIcon" />18<IconButtonExample text="Meaningful action text here" variation="interactiveSecondary" size="large" onClick={() => {}} icon="PlusIcon" />19<IconButtonExample text="Meaningful action text here" variation="interactiveSecondary" size="xlarge" onClick={() => {}} icon="PlusIcon" />2021<IconButton text="Meaningful action text here" variation="noStyle" size="small" onClick={() => {}} Icon={PlusIcon} />22<IconButton text="Meaningful action text here" variation="noStyle" onClick={() => {}} Icon={PlusIcon} />23<IconButton text="Meaningful action text here" variation="noStyle" size="large" onClick={() => {}} Icon={PlusIcon} />24<IconButton text="Meaningful action text here" variation="noStyle" size="xlarge" onClick={() => {}} Icon={PlusIcon} />
1<IconButton text="Meaningful action text here" variation="primary" size="small" disabled onClick={() => {}} Icon={PlusIcon} />2<IconButton text="Meaningful action text here" variation="primary" disabled onClick={() => {}} Icon={PlusIcon} />3<IconButton text="Meaningful action text here" variation="primary" size="large" disabled onClick={() => {}} Icon={PlusIcon} />4<IconButton text="Meaningful action text here" variation="primary" size="xlarge" disabled onClick={() => {}} Icon={PlusIcon} />
1<IconButton text="Meaningful action text here" variation="primary" size="small" loading onClick={() => {}} Icon={PlusIcon} />2<IconButton text="Meaningful action text here" variation="primary" loading onClick={() => {}} Icon={PlusIcon} />3<IconButton text="Meaningful action text here" variation="primary" size="large" loading onClick={() => {}} Icon={PlusIcon} />4<IconButton text="Meaningful action text here" variation="primary" size="xlarge" loading onClick={() => {}} Icon={PlusIcon} />