- Android
- iOS
- Web
Button
Run an action from a labelled button.
Engine API NButtonnayan-ui/components
Example.tsx
| Name | Type | Default | Details |
|---|---|---|---|
| disabled | boolean | false | Prevents interaction. |
| className | string | Optional | Supported Tailwind-style utilities, resolved entirely in Rust. See the engine README. |
| isOutline | boolean | false | Uses a transparent background with an outline. |
| isLoading | boolean | false | Shows the loading label and disables the button. |
| loadingText | string | Loading… | Label shown while the button is loading. |
| leftIcon | ReactNode | Optional | Content displayed before the button label. |
| rightIcon | ReactNode | Optional | Content displayed after the button label. |
| children | ReactNode | Optional | The button label or content. |
| onPress | (() => void) | Optional | Called when the user activates the button. |
- Button
- Forms
- Actions
- React Button
- Custom Button in React
- Styled Button Component
- React Icon Button
- Loading Button in React
- React Button Component
- React Button Group
- Button with Icon in React
- Disabled Button in React
- Button Styles in React
- Example Button in React
- Rounded Button in React
- Button with Tooltip in React
- Button Animation in React
- React Button OnClick Handler
- Submit Button in React
- Primary Button in React
- Secondary Button in React
- Button Accessibility in React
- Button with Loading Indicator
- Button UI Component
- React Button Tutorial
- Button Design System
- React Button TypeScript
- Button Component Library
- Mobile Button React
- Button Best Practices
- React Button Performance
- CTA Button React
- Action Button Component
- Interactive Button React
- Button UI Library
- React Native Button
- React Native Touchable
- React Native Pressable
- React Native Custom Button
- Mobile Button React Native
- React Native Button Component
- React Native Button Library
- React Native TouchableOpacity
- React Native TouchableHighlight
- React Native Button Styles
- React Native Button Animation
- React Native Button with Icon
- React Native Floating Button
- React Native FAB Button
- Mobile Button Component
- Cross Platform Button
- Expo Button Component
- React Native Button Tutorial
- React Native Button TypeScript
- React Native Button UI