Value tags
Allowlisted env, config, and route lookups that resolve against the live app.
These are components, not Blade echoes. They never run unless the key is listed in vellum.components.allowlist. An empty list (the default) refuses every key.
'components' => [
'allowlist' => [
'env' => ['APP_NAME'],
'config' => ['vellum.name'],
'route' => ['vellum.docs.index'],
],
],
<x-vellum::env key="APP_NAME" />
<x-vellum::config key="vellum.name" />
<x-vellum::route key="vellum.docs.index" />
Attributes are strings only. There is no :bound syntax.
On a live docs site, top-level value tags resolve at request time (cached with the page fragment). vellum:export renders them into the static HTML so the snapshot matches the values at export time.
Unknown keys throw locally and during vellum:build. In production the page fails and the exception is logged.
Use these when the docs should show a real app value (the site name, a named route, an environment flag you have already allowlisted). Put secrets in the allowlist only if you accept them appearing in HTML and in the static export.