React components

Drop-in UI for Swedish company data.

Pre-wired React components for the common views — conversational chat, company profiles, financial tables, ownership charts. Typed props, your theme, your data.

$ npm install @regna-verkt/widgets
Conversational

Ask the data in natural language.

<ChatBot />

Inline chat panel

Renders a full conversation UI with streaming responses, tool-call visibility, and typed message history. Connects to /v1/chat with your API key.

<ChatBot apiKey={key} initialPrompt="Ask something..." />
<FloatingChatBot />

Floating chat bubble

Bottom-right floating bubble that expands to a chat panel. Ideal for support-style deployment without committing screen real estate.

<FloatingChatBot apiKey={key} defaultOpen={false} />
Data

Read-only views of company data.

<CompanyCard />

Compact company summary — name, org number, industry, key financials.

<FinancialsTable />

Multi-year financials table — revenue, operating result, equity, YoY delta.

<OwnershipChart />

Shareholder pie chart + top-N list, reconciled from filings.

<HealthScore />

Liquidity + solvency score with trend arrow. Business tier.

<CompanyValuation />

Peer-basket EV/Revenue estimate with method + confidence. Business tier.

<NewsFeed />

Chronological press releases + corporate events, deduped across sources.

<SimilarCompanies />

Peer suggestions by SNI + size + region. Click-through to profiles.

Included with Pro and Business.

Components ship MIT-licensed under @regna-verkt/widgets. The API tier gates what each component can render.