← Docs

Embedding the widget

Two placements, one bundle, and the five values it reads from your page.

The widget is one script, and the same three lines for every install. How it shows, what it opens on, which board it shows and how its button looks are all set on the Widget screen and reach every page the tag is on as soon as they are saved. Paste it once.

Overriding the saved choices on one page

Most sites never need this. For a page that should differ from what the Widget screen says — the board inline on your docs while the rest of your site has a button — add an attribute to that page's tag. An attribute wins over the saved value for that tag only.

  • data-nolby-placement="inline" draws the board where the tag sits, at the width of what holds it; "launcher" adds the button in the corner instead.
  • data-nolby-view="roadmap" or "changelog" opens on that surface rather than the feed.
  • data-nolby-board="your-board" pins the tag to one board, so the panel shows no board switcher.

Theming

The widget reads its colours from CSS custom properties on your page, so it inherits your palette rather than arriving with ours. Set --nolby-primary and it will use it.

These are a published contract: we will not rename them, and the Install screen shows the current values so you can check what the widget is reading before you ship.