Compose React UI and shared providers
Compose React UI and shared providers
Section titled “Compose React UI and shared providers”Prerequisites
Section titled “Prerequisites”Install the package; feature subpaths are import targets.
bun add @alneas/appkit-reactUse React and React DOM 19 matching the package peer ranges.
Public import
Section titled “Public import”@alneas/appkit-react/ui
Step-by-Step Implementation
Section titled “Step-by-Step Implementation”import {Button} from '@alneas/appkit-react/ui';import '@alneas/appkit-react/styles';export function SaveButton() {return <Button>Save</Button>;}Verification
Section titled “Verification”Type-check this example in your application. See the export reference for narrower entry points and exact optional peers. Package import/type checks do not certify hosted providers.
Troubleshooting / Common Pitfalls
Section titled “Troubleshooting / Common Pitfalls”React 19 primitives, theme providers and hooks. Import CSS explicitly and share host providers. Check accessibility in the consuming application.