Loading indicator
Compact indicator
Loading account balances
open System
open FSharp.ViewEngine
open Acme.Components.Primitives
open Acme.Components.Application
open type Html
open type Svg
open type Datastar
let smallLoadingIndicator =
LoadingIndicator.create "Loading account balances"
|> LoadingIndicator.withSize ControlSize.Small
|> LoadingIndicator.renderWith visible label
Refreshing transactions
open System
open FSharp.ViewEngine
open Acme.Components.Primitives
open Acme.Components.Application
open type Html
open type Svg
open type Datastar
let visibleLoadingIndicator =
LoadingIndicator.create "Refreshing transactions"
|> LoadingIndicator.withSize ControlSize.Large
|> LoadingIndicator.withVisibleLabel
|> LoadingIndicator.render