Skip to content
Buttons & Actions

UnstyledButton

client29.5 kB
@stellaria/nebula-webUnstyledButtonProps

Preview

Props

2
PropTypeDefault

children

The whole of the button. The component strips the browser's appearance but keeps the keyboard, focus ring and press semantics, so the children carry the entire look — including the visible focus state, which is the one thing that must not be stripped with it.

ReactNode

disabled

Blocks the press and stops the hover and focus state being reported. It is a real `button`, so this also removes it from the tab order — for something that must stay reachable while inert, mark it `aria-disabled` and guard the handler instead.

booleanfalse

Also accepts

On top of its own props, this component forwards these groups.

HTML attributes · 286Press handlers · 6Style props · 128