Doug Docs

UI Overview

@caffeinebounce/ui is the broadest package in the workspace. It combines primitives, product layouts, navigation, form flows, data-table utilities, and marketing blocks used across Doug's app surfaces.

Install

yarn add @caffeinebounce/ui

Best-fit use cases

  • Shared product shells and authenticated layouts
  • Marketing pages that should still feel aligned with product UI
  • Reusable tables, finance controls, and multi-step form patterns
  • Shared theme-aware building blocks such as navigation, cards, dialogs, and feedback affordances

Curated demos

Core primitives
Buttons
Inputs
Feedback
Keyboard
ShortcutCmd K

Ready state

Primitive controls stay visually aligned with shared feedback states, shortcuts, and form inputs.

Mini product shell

Portal Shell

Navigation primitives

Overview
Finance
Customers
Settings

Quarterly review workspace

Composed from cards, badges, buttons, and form inputs

Ready
Actionable summary
Use shared blocks to keep important flows consistent.

Why this matters

The package gives product teams one visual language for shells, navigation, forms, and high-signal dashboard surfaces.

Root

@caffeinebounce/ui

View source

Notable exports

ClarityAnalyticsPropsGoogleAnalyticsPropsDeviceInfoMFAChallengePropsMFAFactorMFARecoveryPropsRecoveryMethodSignOutButtonPropsCohortCardPropsCohortEligibilityColumnDataTypeColumnSummaryConfig

Build targets

  • ./dist/index.d.ts
  • ./dist/index.js
  • ./dist/index.mjs

Blog

@caffeinebounce/ui/blog

View source

Blog components: cards, post layout, MDX renderers, and table of contents.

Notable exports

This entrypoint mostly re-exports grouped modules.

Wildcard re-exports

../blocks/blog

Build targets

  • ./dist/blog.d.ts
  • ./dist/blog.js
  • ./dist/blog.mjs

Charts

@caffeinebounce/ui/charts

View source

Chart components powered by Recharts.

Notable exports

This entrypoint mostly re-exports grouped modules.

Wildcard re-exports

../components/ui/chart

Build targets

  • ./dist/charts.d.ts
  • ./dist/charts.js
  • ./dist/charts.mjs

Data Table

@caffeinebounce/ui/data-table

View source

DataTable components for building complex data grids.

Notable exports

This entrypoint mostly re-exports grouped modules.

Wildcard re-exports

../blocks/data-table

Build targets

  • ./dist/data-table.d.ts
  • ./dist/data-table.js
  • ./dist/data-table.mjs

Editor

@caffeinebounce/ui/editor

View source

Visual editor components powered by GrapesJS Studio SDK.

Notable exports

This entrypoint mostly re-exports grouped modules.

Wildcard re-exports

../blocks/editor

Build targets

  • ./dist/editor.d.ts
  • ./dist/editor.js
  • ./dist/editor.mjs

Forms

@caffeinebounce/ui/forms

View source

Form components including FormWizard for multi-step forms.

Notable exports

This entrypoint mostly re-exports grouped modules.

Wildcard re-exports

../blocks/forms

Build targets

  • ./dist/forms.d.ts
  • ./dist/forms.js
  • ./dist/forms.mjs

Hooks

@caffeinebounce/ui/hooks

View source

Custom React hooks for common UI patterns.

Notable exports

This entrypoint mostly re-exports grouped modules.

Wildcard re-exports

../hooks

Build targets

  • ./dist/hooks.d.ts
  • ./dist/hooks.js
  • ./dist/hooks.mjs

Layouts

@caffeinebounce/ui/layouts

View source

Layout components for building page structures.

Notable exports

This entrypoint mostly re-exports grouped modules.

Wildcard re-exports

../blocks/layouts

Build targets

  • ./dist/layouts.d.ts
  • ./dist/layouts.js
  • ./dist/layouts.mjs

Marketing

@caffeinebounce/ui/marketing

View source

Marketing page components like HeroSection, BenefitsSection, etc.

Notable exports

This entrypoint mostly re-exports grouped modules.

Wildcard re-exports

../blocks/marketing

Build targets

  • ./dist/marketing.d.ts
  • ./dist/marketing.js
  • ./dist/marketing.mjs

Navigation

@caffeinebounce/ui/navigation

View source

Navigation components like Navbar, Footer, and EntitySwitcher.

Notable exports

This entrypoint mostly re-exports grouped modules.

Wildcard re-exports

../blocks/navigation

Build targets

  • ./dist/navigation.d.ts
  • ./dist/navigation.js
  • ./dist/navigation.mjs

Portal

@caffeinebounce/ui/portal

View source

Portal components: deal cards, layouts, and auth screens for the investor portal.

Notable exports

This entrypoint mostly re-exports grouped modules.

Wildcard re-exports

../blocks/portal

Build targets

  • ./dist/portal.d.ts
  • ./dist/portal.js
  • ./dist/portal.mjs

Settings

@caffeinebounce/ui/settings

View source

Settings page components for building settings interfaces.

Notable exports

This entrypoint mostly re-exports grouped modules.

Wildcard re-exports

../blocks/settings

Build targets

  • ./dist/settings.d.ts
  • ./dist/settings.js
  • ./dist/settings.mjs

Styles

@caffeinebounce/ui/styles.css

View source

Notable exports

This entrypoint mostly re-exports grouped modules.

Build targets

  • ./dist/styles.css

On this page