Button

Accessible React button with variants, sizes, and full keyboard support — install from the VLLNT UI registry with the shadcn CLI. React Native source for Button is included in VLLNT UI 0.4.0 for iOS and Android. It 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:

# React Native is source-only; copy the React Native source above

Source

Stories

Explore every variant and state in the interactive Storybook: