frame/accent-callout
A left-accent-bar callout using edges="left" to stroke one edge while keeping its corner arcs, thickened and recolored via the frame's stroke custom properties.
import type { CSSProperties } from 'react';
import { Frame } from 'ui-lab-components/frame';
import { Icon } from 'ui-lab-components/icon';
const CALLOUT_STYLE = {
'--fill': 'var(--background-900)',
'--stroke-color': 'var(--accent-500)',
'--frame-stroke-width': '3px',
'--frame-radius': '10px',
} as CSSProperties;
export default function Example() {
return (
<div>
<Frame edges="left" strokeAlign="inside" style={CALLOUT_STYLE}>
<div className="flex items-start gap-3 py-4 pl-5 pr-4">
<Icon id="bulb" size={16} className="mt-0.5 shrink-0 text-accent-400" />
<div>
<p className="text-sm font-semibold text-foreground-50">Good to know</p>
<p className="mt-1 text-sm leading-relaxed text-foreground-300">
Pick a single edge and it still keeps its corner arcs — so a left
accent bar reads as part of the card, not a rectangle glued to its
side.
</p>
</div>
</div>
</Frame>
</div>
);
}