Button
Native actions with a clear prominence, size and interaction state.
Preview
Use Button
Button is a named export of @flood-md/react. Connect the package once, then import what you use.
Design notes
- Button defaults to type="button". Set submit or reset deliberately inside forms.
- Loading disables activation and sets aria-busy. The host owns completion announcements.
- Prefer subtle for standalone secondary actions; ghost belongs in a clear parent context.
- Buttons use content width, including inside Stack. Opt into a full-width action with style={{ inlineSize: "100%" }} only when the composition calls for it.
API reference
View TypeScript source