ttolbel UI

Component

Button

A pressable action with six variants, five sizes, and a spring-backed tap response that scales down slightly on press and springs back on release.

Standalone

button.tsx
<NativeButton label="Continue" variant="primary" size="lg" />

Example

Below a warning banner, a tinted Retry button handles the recovery action while the banner carries the inline message.

The request was sent but could not be confirmed. Tap below to retry.

button-example.tsx
<NativeInfoBanner
  variant="warning"
  message="The request was sent but could not be confirmed. Tap below to retry."
/>
<NativeButton
  label="Retry"
  variant="tinted"
  size="md"
  loading={isPending}
  onPress={retry}
/>

Capabilities

PropTypeDescription
labelrequiredstring-
variantNativeButtonVariant-
sizeNativeButtonSize-
loadingboolean-
spinnerColorstring-
disabledboolean-
fullWidthboolean-
iconReact.ReactNode-
onPress() => void-
tostring-
type"button" | "submit" | "reset"-
classNamestring-