oks-ui

Actions

A pressable element with variants, colors, sizes, loading state, and ripple feedback.

Playground

Props

17 props across 5 groups

Visual style, semantic color, sizing, and elevation.

Props

children

ReactNode

Default:

Button label/content.

startContent

ReactNode

Default:

Content rendered before the label.

endContent

ReactNode

Default:

Content rendered after the label.

spinner

ReactNode

Default: built-in spinner

Overrides the default loading spinner.

spinnerPlacement

"start" | "end"

Default: start

Where the loading spinner renders relative to the label.