mljr-ui · showcase

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

default
Note

This is an important note that deserves special attention from the reader.

info
Note

This is an important note that deserves special attention from the reader.

success
Note

This is an important note that deserves special attention from the reader.

warning
Note

This is an important note that deserves special attention from the reader.

danger
Note

This is an important note that deserves special attention from the reader.

Props

NameTypeOptionsDefault
variantenum, info, success, warning, dangerinfo
titletextNote