Web + OutSystemsCommunityWeb ≥ 1.0.0Minimum supported stable Web library version: @blukavantui/community 1.0.0. This is component availability; newer features and examples may require a later release.
A clear page title, supporting context, and relevant actions.
Shared browser preview
Playground and Examples use the shared browser runtime. For Service Studio inputs and event wiring, use Implementation and API.
Follow the setup steps, connect your application state, and verify each feature. Use the Code tab for the complete working Web example.
Web / TypeScript
01
Mount once, update state, clean up
Provide a real <div id="example"></div> in your view. Use the Code tab example's options and data as a starting point, then call this adapter with that host. Import the shared theme once per application and the component stylesheet with the component. Keep the returned instance for updates; call destroy() from your router/framework cleanup before removing the host.
Typed mounting and cleanup adapter
TypeScript
import { createPageHeader } from '@blukavantui/community/page-header'
import '@blukavantui/community/theme.css'
import '@blukavantui/community/page-header.css'
type Options = NonNullable<Parameters<typeof createPageHeader>[1]>
export function mount(host: HTMLElement, options: Options) {
// Configure callbacks in options.Events (see the complete example).
const instance = createPageHeader(host, options)
return {
instance,
update: (patch: Partial<Options>) => instance.update(patch),
destroy: () => instance.destroy(),
}
}
This helper takes your real options and callbacks; it does not fetch records or invent a backend. The Code tab’s working example supplies a usable data shape. Use stable record keys when updates refer to existing items.
02
Connect the features you need
Separate page identity from controls
TitleDescriptionHeadingLevelActionsBreadcrumbs
Use Title for the page identity and choose a heading level once. Build your Buttons and Breadcrumbs separately and pass their elements into the matching slots. Keep save/loading logic in the owning page rather than the header.
Verify: Check heading order and that keyboard access reaches all actions.
03
Before shipping
Use representative real data, including empty, loading and failed requests.
Test keyboard interaction, Light and Dark appearance, and a narrow screen with your longest labels.
Navigate away and back; confirm cleanup, expected state restoration and no duplicated callbacks.
OutSystems / Service Studio
01
Reference the native producer
In Manage Dependencies, select PageHeader from BluKavantUi_Community_Layout, together with the structures and public actions used by its API. Refresh existing references before publishing your consumer. Inherit the shared Community theme in your application's theme.
02
Place the Block in your screen
Service Studio widget tree
ExampleScreen — Screen (your application)
└─ ExistingLayout — referenced Layout Block instance (child of ExampleScreen)
└─ Content — existing slot on ExistingLayout
└─ ComponentRegion — Container (child of that slot)
└─ MainComponent — BluKavantUi_Community_Layout.PageHeader Block instance (child of ComponentRegion)
Reuse your screen’s existing Layout and its content slot; do not add a second layout. If your Layout names that slot differently, use its actual content slot. ComponentRegion is a new Container; MainComponent is a referenced Block instance.
Populate these existing slots on MainComponent with your own widgets. Do not create new Placeholder widgets to stand in for a referenced Block's slots.
Existing slot
Content responsibility
BreadcrumbTrail
Place consumer-owned widgets here.
Actions
Place consumer-owned widgets here.
03
Create and bind screen state
Create local variables on ExampleScreen for the values your application changes. Use the exact native types below; lists are typed OutSystems Lists, while inputs ending in Json are Text containing the documented JSON. Bind each MainComponent.Input to its matching StateInput local. Constants can instead use the default directly. Fill required data from your Aggregate or Data Action before enabling interaction.
MainComponent input
Screen local / native type
Initial value
Purpose
Title
StateTitle · Text
Required: supply your value. Default: ""
Main heading for the page.
Description
StateDescription · Text
""
Supporting text beneath the title.
All native input defaults
Input
Type
Default
Required
Title
Text
""
Yes
Description
Text
""
No
SectionLabel
Text
""
No
ShowBreadcrumbs
Boolean
False
No
ShowActions
Boolean
False
No
ExtendedClass
Text
""
No
04
Create the event handlers and map every argument
For each event you use, create the named screen Client Action below. Add its listed input parameters with the exact types. Select that action on MainComponent's event property, then enter each mapping explicitly. Event arguments and screen locals are different scopes.
This Block has no events to wire. The consuming screen controls its values and child content.
05
Verify in your consumer
Publish the consumer, supply representative data, trigger each connected event and inspect the mapped arguments. Check a failed request, a retry and leaving/reopening the screen. The table describes the native contract; the Web recipes can contain capabilities with different native names or availability. Use these native names and the API tab as the authority for Service Studio.
TYPESCRIPT / BROWSER
TypeScript example
Use the source below in your application. Try the interactive component in Playground or Examples.
Component sizeCommunity v1.2.0 · minified + gzip
JavaScript
0.9 KiB
Component CSS
1.4 KiB
Shared theme CSS
5.5 KiBonce per application
Size details
The JavaScript figure includes this component’s required helpers. CSS includes its styling dependencies. Each entry is bundled separately for ES2022, minified, then compressed with gzip level 9. Your bundler may share helpers across components. Images, fonts, examples and application code are excluded.
Before compression: JavaScript 2.0 KiB; component CSS 4.9 KiB. These figures describe browser assets, not the complete package download.
Community components use @blukavantui/community. The ten Pro components use the separate @blukavantui/pro add-on alongside Community. Your application handles persistence and authentication through its typed callbacks. Choose the matching edition when installing the example.
OUTSYSTEMS / SERVICE STUDIO
Build with native Blocks
Configure the referenced Block in Service Studio using typed inputs, screen state and Client Actions. The Implementation tab includes the widget tree and exact event argument mappings.
Pass options as the second argument. Keep the returned instance to update options or dispose it when its view is removed.
v1.1.0
import { createPageHeader } from '@blukavantui/community/page-header'; import '@blukavantui/community/page-header.css';Load @blukavantui/community/theme.css once in your app shell.
Reference for @blukavantui/community 1.1.0. Required and optional follow the shipped TypeScript declarations; optional does not imply a particular default. Pass typed arrays and objects directly where shown.
Options
7
Name
Type / requirement
Usage
Title
stringRequired
The displayed title.
Description
stringOptional
Supporting text beneath the title.
SectionLabel
stringOptional
HeadingLevel
1 | 2 | 3Optional
Heading level to fit the surrounding document hierarchy.
Use the page header to orient people before they act. Add a short description, a section label, and only actions that affect this page.
Keyboard design guidance
Use one main heading per page. Actions remain labelled and keyboard accessible. Breadcrumbs provide a separate navigation landmark.
See the support status above for review coverage and any limitations.
In your application
Provide useful labels, preserve visible focus, and test the component with your actual content. Use text alongside status colors and check contrast in each state.