Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@bagdock/hive-react

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bagdock/hive-react

Bagdock Hive React SDK — embeddable AI chat, booking, and access widgets

Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
18
-25%
Maintainers
1
Weekly downloads
 
Created
Source
  ----++                                ----++                    ---+++     
  ---+++                                ---++                     ---++      
 ----+---     -----     ---------  --------++ ------     -----   ----++----- 
 ---------+ --------++----------++--------+++--------+ --------++---++---++++
 ---+++---++ ++++---++---+++---++---+++---++---+++---++---++---++------++++  
----++ ---++--------++---++----++---++ ---++---++ ---+---++     -------++    
----+----+---+++---++---++----++---++----++---++---+++--++ --------+---++   
---------++--------+++--------+++--------++ -------+++ -------++---++----++  
 +++++++++   +++++++++- +++---++   ++++++++    ++++++    ++++++  ++++  ++++  
                     --------+++                                             
                       +++++++                                               

@bagdock/hive-react

React components for embedding the Bagdock Hive experience — AI chat, unit booking, and gate access widgets with built-in theming.

npm version License: MIT

Install

npm install @bagdock/hive-react @bagdock/hive react react-dom

Quick start

import { HiveProvider, HiveChat, HiveBooking } from '@bagdock/hive-react'

function App() {
  return (
    <HiveProvider apiKey="hk_live_..." operatorId="opreg_wisestorage">
      <HiveChat />
      <HiveBooking />
    </HiveProvider>
  )
}

Components

<HiveProvider>

Wraps your app (or a subtree) to configure the Hive client and apply theming.

PropTypeDescription
apiKeystringYour Bagdock API key
embedTokenstringEmbed token (alternative to apiKey)
baseUrlstringAPI base URL override
operatorIdstringScope to a specific operator
authAuthAdapterConfigPluggable auth config
appearanceHiveAppearanceTheming object

<HiveChat>

Embeddable AI chat widget for answering tenant questions.

<HiveBooking>

Unit booking flow — search, select, and checkout.

<HiveAccess>

Displays gate access codes (PIN, QR, NFC) for a tenant's unit.

Hooks

HookReturnsDescription
useHive()HiveContextValueAccess the Hive context (client, theme)
useHiveClient()BagdockHiveDirect access to the typed HTTP client

Theming

Customize the look with a Stripe/Clerk-style appearance prop:

<HiveProvider
  apiKey="hk_live_..."
  appearance={{
    theme: 'dark',
    variables: {
      colorPrimary: '#6366f1',
      borderRadius: '12px',
      fontFamily: 'Inter, sans-serif',
    },
  }}
>
  <HiveChat />
</HiveProvider>

All variables are exposed as CSS custom properties (--hive-color-primary, etc.) for further customization.

License

MIT

Keywords

bagdock

FAQs

Package last updated on 05 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts