Actions

Button

Available forNativeWeb

variant default/secondary/outline/ghost/link/destructive · size sm/default/lg/icon · children are <Text>/<Icon>

The native kit's real component, live in its web build at phone width. Follows this site's theme.

Usage

Children are Text and Icon, never a bare string. One primary button per screen.

API

<Button variant? size? disabled?><Text>…</Text></Button>

Get it

Already in every copy of the native kit:

import { Button } from '@/components/ui/button';

Details

Exports
Button
Packages
class-variance-authority@^0.7.1
Installs with
@kit-native/lib-utils, @kit-native/text
Also searched as
cta, primary, secondary, outline, ghost, link, destructive, loading

Agents: the whole registry is at /llms.txt.