Button

Compare Button for React and React Native in VLLNT UI 0.4.0. Explore source, dependencies and native capabilities. Native is source-only; npm publication is pending.

Supported platforms:WebNative
Report a bug

Preview

Switch between light and dark to inspect the embedded Storybook preview.

The Button is the primary interactive control in VLLNT UI — an accessible, keyboard-navigable React component with variants (primary, secondary, outline, ghost, destructive, link) and sizes. It ships as a machine-readable registry entry, so you install the source directly into your app and own it.

Platform comparison

PlatformDependenciesCapabilities
Web@vllnt/ui@^0.3.0Browser rendering, DOM events, and ARIA semantics
Native@vllnt/ui-native, react-nativePortable semantic options and native interaction

Installation

Add Button to your project with the shadcn CLI. The source lands in your codebase, ready to adapt:

pnpm dlx shadcn@latest add https://ui.vllnt.com/r/button.json

Source

Stories

Explore every variant and state in the interactive Storybook: