Record detail
Account facts, contacts, activity and focused editing.
Screen preview
The image below shows the TypeScript screen. Open the web preview to try its controls; it runs the same source included in the starter.

What is custom in this template?
Customer selection, profile editing and activity wiring. Web also builds a simple semantic contacts table and a note form using shared layout styles.
Additional per-screen CSS: none. Keep the supplied shared layout styles described below. Change branding, content and data wiring in your copy.
Web / TypeScript setup
Components and shared dependencies
AppLayout · Badge · Button · Card · Descriptions · Modal · Notification · PageHeader · PageLayout · Sidebar · Timeline
This list includes imports from the shared helpers. AppLayout and PageLayout provide the shell; shared.ts also supplies Card, Button and notification helpers.
Files to copy
Keep these files together in src/templates: detail.ts · data.ts · shared.ts.
- Download the complete TypeScript starter, then run
npm ciandnpm run dev. Open this screen under Screen templates. - For an existing application, install the downloadable
@blukavantui/communitypackage using the installation guide, copy the files above, and use a bundler that handles CSS imports. The screen and shared files already import their component styles; load@blukavantui/community/theme.cssonce in your application shell. - Add
<div id="template-root"></div>to your page, mount the screen, and callscreen.destroy()when its route or framework component unmounts.
import '@blukavantui/community/theme.css'
import { mount } from './templates/detail'
const screen = mount(document.getElementById('template-root')!, {
url: key => '/app/' + key,
galleryUrl: '/templates',
})
// Call screen.destroy() in your route/component cleanup.
| Option | Setup |
|---|---|
env.url(key) | Optional route builder for the six business screens. Defaults to the starter’s #template/key routes. |
env.galleryUrl | Optional destination for the header’s gallery link. |
env.iconBase | Optional navigation-icon folder URL, with a trailing slash. If omitted, the web Sidebar items have no image icons. |
Data and actions to connect
Replace the selected-customer/customer reads and note saves with your route identifier and API. Keep customer updates shared with Records workspace. The current edit and note dialogs persist only in browser storage.
Apply your application’s permissions, server validation and persistence when replacing the sample handlers.
Web CSS and assets
| Layer | Setup |
|---|---|
| Theme | @blukavantui/community/theme.css once in the application shell. |
| Components | Imported by the screen and shared helper files listed above. |
| Shared layout CSS | @blukavantui/community/app-layout.css and @blukavantui/community/page-layout.css supply the layout and form classes. shared.ts applies the optional blu-workspace appearance class. |
| Extra per-screen CSS | None required to reproduce the shipped template. |
Exact web stylesheet imports
These files are supplied by the web package. Keep the imports in the copied screen/shared files; do not import every stylesheet a second time.
@blukavantui/community/theme.css— load once in your shell@blukavantui/community/app-layout.css@blukavantui/community/badge.css@blukavantui/community/button.css@blukavantui/community/card.css@blukavantui/community/descriptions.css@blukavantui/community/modal.css@blukavantui/community/notification.css@blukavantui/community/page-header.css@blukavantui/community/page-layout.css@blukavantui/community/sidebar.css@blukavantui/community/timeline.css
Sample records and navigation data are editable source. If you want the supplied navigation icons, copy the six bluui-template-*.svg files used by the business screens from /bluui/navigation-icons/ and set env.iconBase.
Keep the Light/Dark/System appearance setup, focus behavior and accessible labels when adapting the screen. Custom colors, images and content need their own contrast and content checks.
OutSystems Community setup
Copy TemplateDetail and the private shared TemplateLayout Block from BluKavantUi_Community_Demo. These Reactive Web screens are published with separate Community and Pro producers. This template uses Community Blocks only.
Blocks and producer modules
| Producer module | Required elements |
|---|---|
BluKavantUi_Community_Core | BluUICommunityTheme and shared theme/color dependencies · Button |
BluKavantUi_Community_Data | Descriptions · Timeline |
BluKavantUi_Community_Feedback | Modal |
BluKavantUi_Community_Layout | AppLayout · Card · PageHeader · PageLayout |
- In Manage Dependencies, select the Blocks above,
BluUICommunityTheme, and their public structures, actions and static entities. Let Service Studio resolve the referenced dependencies; keep the library-owned types. - Copy
TemplateDetailandTemplateLayoutinto your consumer module with their widgets, Style classes, locals, Client Actions, event bindings and lifecycle handlers. Replace the sampleBluGridDemoEditoraccess role with your application’s intended access rules. - Set the consumer Theme’s Base Theme and preserve the CSS ownership described below. Keep the existing appearance initialization and required-script dependencies; do not paste component runtime JavaScript or Block CSS into the screen.
- Edit
TemplateLayout’s menu entries and screen navigation actions to point to your copied screens. If you copy one screen, update or remove links to the other samples. - Replace InitializeTemplate, LoadProfile and SaveProfile with your selected-record query and Server Action. Update FollowUpNavigate and ReturnRecordsNavigate. Preserve EditOpenChanged and validation/error feedback when closing or saving the edit dialog.
- Publish your consumer and verify navigation, validation, failed saves, keyboard operation and Light/Dark appearance with your actual content.
Platform differences
Web includes a Badge, a contacts table and an Add note dialog. Native uses Descriptions for contacts and its profile-edit dialog; it does not instantiate the web-only Badge or note UI.
OutSystems CSS and assets
| Layer | Setup |
|---|---|
| Theme | Set your consumer Theme’s Base Theme to BluUICommunityTheme from BluKavantUi_Community_Core. |
| Components | Each referenced Block supplies its own stylesheet and required scripts. |
| Shared layout CSS | AppLayout and PageLayout in BluKavantUi_Community_Layout own these styles. Preserve the layout’s appearance classes and navigation. |
| Extra per-screen CSS | None required. Preserve the widget/container Style classes when copying the screen. |
Copy the referenced Resources or host replacements, then update the /BluKavantUi_Community_Demo/rich/ URLs to your module or asset host. Keep the layout navigation pointed at your copied screens. Copy the screen’s required script: BluKavantTemplateDetailActions.
Keep the Light/Dark/System appearance setup, focus behavior and accessible labels when adapting the screen. Custom colors, images and content need their own contrast and content checks.
Community on Web and OutSystems
Every component used by this template is Community. The Community Web starter includes this screen and its shared files, using @blukavantui/community.
The native TemplateDetail screen is published in BluKavantUi_Community_Demo. Copy its private TemplateLayout layout and preserve producer-owned types, scripts and event mappings. Your application supplies access roles, authentication and persistence.
All nine Community and five Pro native templates are published in the development environment. Community libraries and demos are available on Forge; Pro uses the separate licensed delivery process.