Skip to main content

Callout

An independently installable component. Its content and surrounding layout remain consumer-owned.

Supporting information

Note

Use ordinary HTML for the content. This label introduces supporting information.

On this page
dotnet fve add callout --config src/Acme.Components/fve.json
open FSharp.ViewEngine
open Acme.Components
open type Html

let callout = Callout.create "Note" [p { "Use ordinary HTML for the content. This label introduces supporting information." }] |> Callout.render
type CalloutConfig

module Callout =
    val create : label:string -> content:HtmlElement list -> CalloutConfig
    val render : callout:CalloutConfig -> HtmlElement