Basic Component
A basic component with Miuix style. Widely used in other extension components.
Parameters
The modifier to be applied to the BasicComponent.
The title of the BasicComponent.
The color of the title.
The summary of the BasicComponent.
The color of the summary.
The Composable content on the start side of the BasicComponent.
The Composable content on the end side of the BasicComponent.
The Composable content at the bottom of the BasicComponent.
The margin inside the BasicComponent.
The callback when the BasicComponent is clicked.
Optional label describing the click action for accessibility services.
The semantic Role of the BasicComponent for accessibility services.
Used to determine whether it is in the pressed state.
Whether the BasicComponent is enabled.
The MutableInteractionSource for the BasicComponent. The value should remain null or non-null for the lifetime of this component; switching across recompositions will allocate a new internal source and lose pending interactions.
A basic component with Miuix style. Widely used in other extension components.
Parameters
The modifier to be applied to the BasicComponent.
The Composable content on the start side of the BasicComponent.
The Composable content on the end side of the BasicComponent.
The Composable content at the bottom of the BasicComponent.
The margin inside the BasicComponent.
The callback when the BasicComponent is clicked.
Optional label describing the click action for accessibility services.
The semantic Role of the BasicComponent for accessibility services.
Used to determine whether it is in the pressed state.
Whether the BasicComponent is enabled.
The MutableInteractionSource for the BasicComponent. The value should remain null or non-null for the lifetime of this component; switching across recompositions will allocate a new internal source and lose pending interactions.
The content of the BasicComponent.