Skip to content

Limits and budgets

Bundle

Browser bundle~24 KB gzipped, Preact included
Enforced cap60 KB gzipped, with a 36 KB target that warns
ESM entrySmaller — Preact is left to your bundler
Runtime dependenciesOne: preact
FormatsESM (., ./extract) and IIFE (./iife, global NamakinaLandingPage)

Browser support

Chrome 87+, Edge 88+, Firefox 78+, Safari 14+ — the ES2020 baseline. No polyfills are bundled.

Two features degrade rather than fail:

  • IntersectionObserver absent → lp_view fires immediately instead of on visibility.
  • inert absent (below Chrome 102 / Safari 15.5 / Firefox 112) → the panel does not trap focus behind it. Everything else about the panel works.

Timeouts and strikes

Hitting any of these restores your untouched form.

BudgetValueWhat it bounds
connectMs8 sWaiting for the message stream to connect.
greetingMs12 sWaiting for the agent's first turn.
failedPostStrikes2Consecutive failed posts before standing down.
turnSettleMs1.5 sSilence after a frame with no chunk metadata before the turn is complete.
turnTailMs15 sLongest wait for the tail of a chunked turn.
viewThreshold0.5Share of the form on screen before lp_view.
hostInputMs400 msSettle after a visitor or password-manager write to one of your fields.
rescanMs250 msSettle after the page mutates before the root is scanned again.

Wire limits

Hard caps enforced when a snapshot or a set of actions is parsed. Over-long text is truncated; a structurally invalid snapshot is rejected and a malformed action is dropped.

The form

Fields per form40
Options per field50
Landing page id100 chars
Field label120
Field value500
Field / form context300
Goal500
Help line200
Disclosure text2 000
Validation message200
Pattern200
Input mask64
SDK version string32

A turn

Actions per turn8
Stage blocks per turn1
Ask prompt300
Offer cards6
URL2 000

A stage block

Stage id60 chars
Heading / title80
Intro200
Cards4
Card description / "why it fits"200 each
Facts per card4, each 60 chars
Stage actions3, each labelled up to 40
Sheet steps6, each 200
Receipt rows6 — label 40, value 60
Compliance note300
Blocks remembered per session20 shown, 20 choices

Chips become a select

A choice with more than 8 options is drawn as a <select> rather than as chips.

Proprietary. All rights reserved.