Examples
Basic
Simple title + body text — the most common shape.
With content
Drop the title / bodyText props and use the
content slot for richer markup — body + footer with an action link.
Basic without title
Body text only.
With actions
A hint carrying an actions area (pf-m-no-offset) — here a working kebab menu.
Documentation
Hint props
Parameters accepted by
{#include components/feedback/hint ... /}. Model mode: pass
hint=<Hint> built in Java instead — the Java tab on each example shows the
builder.
| Name | Type | Description |
|---|---|---|
* id
|
String | DOM id. |
title
|
String |
Hint title — rendered in the __title div.
|
bodyText
|
String | Body text — convenience for the simple title + paragraph shape. |
slot content
|
Qute block | For richer hints — body, footer, actions inside the hint container. |
Usage
Hint vs. Alert. Hint is calm and informational — onboarding, pro tips, secondary guidance. Alert is reactive — success/warning/danger after an action.