Component

Button

Main action button with variants, sizes, loading state and icons.

Button as rendered in the Native-UI Storybook

What it does

  • 5 variants
  • 3 sizes (sm/md/lg)
  • Loading state
  • Haptic press

Import

import { Button } from '@polprog/native-ui';

The same module is available as a direct import:

import { Button } from '@polprog/native-ui/components/Button';

Open in Storybook View source

Related components

← All components

Expo React Native 0.84+ iOS Android TypeScript Accessible