Opinionated React Native and React Native Web UI kit built on @ankhorage/surface.
Use ZoraProvider once at the application root, place AppShell inside it,
and use AppBar as the default header slot for a simple app frame.
Source: examples/basic-app/App.tsx
import {
AppBar,
AppShell,
Screen,
ScreenSection,
Text,
ZoraProvider,
type ZoraTheme,
} from '@ankhorage/zora';
const basicTheme: ZoraTheme = {
id: 'basic-app',
name: 'Basic app',
appCategory: 'developer_tools',
primaryColor: '#0b6e99',
harmony: 'analogous',
};
export default function BasicApp() {
return (
<ZoraProvider initialMode="light" theme={basicTheme}>
<AppShell header={<AppBar title="Dashboard" subtitle="Welcome to ZORA" />}>
<Screen>
<ScreenSection>
<Text variant="lead">Build your app content inside the shell.</Text>
</ScreenSection>
</Screen>
</AppShell>
</ZoraProvider>
);
}- Interactive documentation app
- Public API reference
- Component registry
- Architecture overview
- Module relationships
- Export graph
- createZoraThemeConfig sequence
- resolveAvatarInitials sequence
- resolveOAuthProviderIcon sequence
- resolveOAuthProviderLabel sequence
- SelectableItem sequence
- SelectionProvider sequence
- useFormController sequence
- useZoraTheme sequence
- validateField sequence
- validateFields sequence
- ZoraProvider sequence