SDK
Autional ships npm packages under the @autional scope: a React SDK, per-service API clients, an onboarding CLI, and design-system / engineering config packages.
React
npm install @autional/react
Provider component that injects authentication context into your app:
import { AutionalProvider } from '@autional/react';
const config = { appId: 'my-app', issuer: 'https://api.autional.com' };
function App() {
return (
<AutionalProvider config={config}>
<YourApp />
</AutionalProvider>
);
}Onboarding CLI
Interactively create and onboard a new project:
npx @autional/onboard
Core Packages
| Package | Description |
|---|---|
| @autional/react | React SDK: auth hooks and components |
| @autional/onboard | Onboarding CLI: create and onboard React / Vue / Next.js projects |
| @autional/ui | React component library |
| @autional/tokens | Design tokens (CSS variables) |
| @autional/tailwind-preset | Tailwind preset (brand theme) |
| @autional/shared | Shared utilities: API client, auth, types, and hooks |
| @autional/eslint-config | Shared ESLint config |
| @autional/tsconfig | Shared TypeScript config |
Browse the full SDK catalog at www.autional.com/sdk, or the source on the autional org on GitHub.