ButtonSize

actual enum ButtonSize : Enum<ButtonSize>

Enum class representing different sizes for a button. Each size has an associated height in dp.

(From Button documentation)

expect enum ButtonSize : Enum<ButtonSize>

Enum class representing different sizes for a button. Each size has an associated height in dp.

(From Button documentation)

actual enum ButtonSize : Enum<ButtonSize>

Enum class representing different sizes for a button. Each size has an associated height in dp.

(From Button documentation)

actual enum ButtonSize : Enum<ButtonSize>

Enum class representing different sizes for a button. Each size has an associated height in dp.

(From Button documentation)

actual enum ButtonSize : Enum<ButtonSize>

Enum class representing different sizes for a button. Each size has an associated height in dp.

(From Button documentation)

Entries

Link copied to clipboard

Use when there is not enough vertical space for the default or field-sized button.

Use when there is not enough vertical space for the default or field-sized button.

Use when there is not enough vertical space for the default or field-sized button.

Use when there is not enough vertical space for the default or field-sized button.

Use when there is not enough vertical space for the default or field-sized button.

Link copied to clipboard

Use when buttons are paired with input fields.

Use when buttons are paired with input fields.

Use when buttons are paired with input fields.

Use when buttons are paired with input fields.

Use when buttons are paired with input fields.

Link copied to clipboard

This is the most common button size.

This is the most common button size.

This is the most common button size.

This is the most common button size.

This is the most common button size.

Link copied to clipboard

The larger expressive type size within this button provides balance when used with 16sp body copy. Used by the IBM.com team in website banners.

The larger expressive type size within this button provides balance when used with 16sp body copy. Used by the IBM.com team in website banners.

The larger expressive type size within this button provides balance when used with 16sp body copy. Used by the IBM.com team in website banners.

The larger expressive type size within this button provides balance when used with 16sp body copy. Used by the IBM.com team in website banners.

The larger expressive type size within this button provides balance when used with 16sp body copy. Used by the IBM.com team in website banners.

Link copied to clipboard

Use when buttons bleed to the edge of a larger component, like side panels or modals.

Use when buttons bleed to the edge of a larger component, like side panels or modals.

Use when buttons bleed to the edge of a larger component, like side panels or modals.

Use when buttons bleed to the edge of a larger component, like side panels or modals.

Use when buttons bleed to the edge of a larger component, like side panels or modals.

Link copied to clipboard

Use when buttons bleed to the edge of a larger component, like side panels or modals.

Use when buttons bleed to the edge of a larger component, like side panels or modals.

Use when buttons bleed to the edge of a larger component, like side panels or modals.

Use when buttons bleed to the edge of a larger component, like side panels or modals.

Use when buttons bleed to the edge of a larger component, like side panels or modals.

Properties

entries
Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Returns a representation of an immutable list of all enum entries, in the order they're declared.

name
Link copied to clipboard
ordinal
Link copied to clipboard

Functions

valueOf
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

values
Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Returns an array containing the constants of this enum type, in the order they're declared.

Returns an array containing the constants of this enum type, in the order they're declared.

Returns an array containing the constants of this enum type, in the order they're declared.

Returns an array containing the constants of this enum type, in the order they're declared.