PlainButton is an unstyled wrapper component that creates a button element with minimal styling. It's used internally by Pluma to build other button components.
PlainButton is an unstyled interactive primitive used to build other Pluma components such as the Button. Use the PlainButton when an interactive action with additional styling requirements is needed.
If the element will use a semantically recognizable button or hyperlink, use the Button or Link components and their props instead.
PlainButtons offer the flexibility of stylistic customization that can't be found in the Button component. For gradient borders, custom backgrounds, animations, or other treatments, prefer using the PlainButton.
For actions that should be visually recognizable as buttons, use the Button component.
By default, PlainButton renders as a button element. Use it for actions that don't navigate away from the current page.
When given a URL, PlainButton renders as an anchor element. External URLs automatically receive safe attributes.
The base PlainButton uses default styling when no user interaction is detected.
Loading state communicates to the user that some background task is in progress.
Disabled PlainButtons cannot be interacted with. Styles remain similar to the base PlainButton.
If writing PlainButton labels, content should be similar to what's written for the Button component. Adhere to writing labels that clearly describe the action or destination in 1-3 words. For more information, see the Content section of the Button's design documentation.