Callout
Left-bordered highlight block for tips, notes, and warnings. Variants match semantic colors.
primitive callout
Controls
variant
title
Current props
variant: ""title: ""
Usage
primitive.Callout(primitive.CalloutProps{
Variant: primitive.CalloutWarning,
Title: "Heads up",
}, g.Text("This action cannot be undone."))All combinations (5)
Enum controls only · bool and text use defaults
Props
| Name | Type | Options | Default |
|---|---|---|---|
variant | enum | , info, success, warning, danger | info |
title | text | — | Note |