RK

Search products

Search plugins, packages and apps, or jump to a section.

NativePHP UI

shadcn/ui - styled native components for NativePHP Mobile SuperNative screens.

NativePHP Plugin
iOSAndroid
v1.2.15.0(1)16 downloads

NativePHP UI

shadcn/ui for NativePHP Mobile SuperNative screens.

Write <ui:button>, <ui:card>, <ui:tabs> in your NativeComponent views and get shadcn's look — its colors, spacing, radii and dark mode — rendered as real SwiftUI and Jetpack Compose views, not HTML in a web view.

<ui:page>
    <ui:card>
        <ui:card-header>
            <ui:card-title>Create project</ui:card-title>
            <ui:card-description>Deploy your new project in one click.</ui:card-description>
        </ui:card-header>
        <ui:card-content>
            <ui:field label="Name">
                <ui:input native:model="name" placeholder="Name of your project" />
            </ui:field>
            <ui:switch native:model="private">Private repository</ui:switch>
        </ui:card-content>
        <ui:card-footer>
            <ui:button variant="outline" @press="cancel">Cancel</ui:button>
            <ui:button class="flex-1" :loading="$deploying" @press="deploy">Deploy</ui:button>
        </ui:card-footer>
    </ui:card>
</ui:page>
  • 81 components, 162 tags: everything from buttons and forms to menus, native lists with swipe actions, data tables, line, area, bar and donut charts, chat UI and toasts
  • shadcn base colors (neutral, zinc, slate, stone, gray) and accent themes
  • Automatic light / dark mode and a configurable radius
  • Two-way binding with native:model
  • Pure PHP on top of NativePHP's EDGE elements: no native code, no rebuild for updates

Documentation

Full documentation: nativephp-ui.codingwithrk.com

Requirements

  • NativePHP Mobile v4.7+ with SuperNative (NativeComponent) screens
  • nativephp/mobile-ui 0.9 or newer (installed automatically)
  • Android 8.0 (API 26)+, iOS 18.2+

Installation

Purchase a license on the CodingwithRK Marketplace, add the marketplace repository it gives you to your composer.json, then:

composer require codingwithrk/nativephp-ui
php artisan native:plugin:register codingwithrk/nativephp-ui

AI skill (Claude Code & Codex)

The package ships an agent skill that teaches AI coding agents to build screens with these components. Laravel Boost (php artisan boost:install) installs it automatically, or run:

php artisan nativephp-ui:skill

License

Commercial. See LICENSE. © CodingwithRK.

We only use essential cookies to keep you signed in, remember your cart and protect forms. No tracking or ads. Learn more