Button
This documentation provides a comprehensive reference for the Button
component, guiding you through its configuration options.
Button Parameters #
Name | Type | Default | Required | Description | Added Version |
---|---|---|---|---|---|
ChildContent | RenderFragment | null | Gets or sets the child content. | 1.0.0 | |
Class | string | null | Gets or sets the CSS class name(s) to apply to the component. | 1.0.0 | |
Color | ButtonColor | None | Gets or sets the color. | 1.0.0 | |
Href | string | null | Gets or sets the href. | 1.0.0 | |
Id | string | null | Gets or sets the ID. If not set, a unique ID will be generated. | 1.0.0 | |
IsDarkVersion | bool | False | If true, the dark version of the button will be enabled. | 1.0.0 | |
IsDisabled | bool | False | If true, the button will be disabled. | 1.0.0 | |
IsFullWidth | bool | False | If true, the button will be expanded to the full width of its container. | 1.0.0 | |
IsInverted | bool | False | If true, the inverted variant will be enabled. | 1.0.0 | |
IsLightVersion | bool | False | If true, the light version of the button will be enabled. | 1.0.0 | |
IsLoading | bool | False | If true, the button will be loading. | 1.0.0 | |
IsOutlined | bool | False | If true, the outlined variant will be enabled. | 1.0.0 | |
IsResponsive | bool | False | If true, the button will be responsive. | 1.0.0 | |
IsRounded | bool | False | If true, the rounded variant will be enabled. | 1.0.0 | |
IsSkeleton | bool | False | If true, the skeleton variant will be enabled. | 1.0.0 | |
Size | ButtonSize | None | Gets or sets the size. | 1.0.0 | |
Style | string | null | Gets or sets the CSS style string that defines the inline styles for the component. | 1.0.0 | |
Type | ButtonType | Button | Gets or sets the button type. | 1.0.0 |
Buttons Parameters #
Name | Type | Default | Required | Description | Added Version |
---|---|---|---|---|---|
ChildContent | RenderFragment | null | Gets or sets the child content. | 1.0.0 | |
Class | string | null | Gets or sets the CSS class name(s) to apply to the component. | 1.0.0 | |
Id | string | null | Gets or sets the ID. If not set, a unique ID will be generated. | 1.0.0 | |
Size | ButtonSize | None | Gets or sets the size. | 1.0.0 | |
Style | string | null | Gets or sets the CSS style string that defines the inline styles for the component. | 1.0.0 |