Documentation

website.component.loading

<article>

(<article> & [{:keys [lines avatar?], :or {lines 4, avatar? true}}])

Reusable title, author and paragraph skeleton for article-shaped content.

<avatar>

(<avatar> & [options])

<box>

(<box> & [options])

<h1>

(<h1> & [options])

<h2>

(<h2> & [options])

<lines>

(<lines> & [{:keys [count], :or {count 3}, :as options}])

<placeholder>

(<placeholder> {:keys [loading-tag loading-props loading-prefab classes props], :or {loading-tag :div}})

A component-shaped loading root, with optional skeleton styling and no spinner.

<query-fallback>

(<query-fallback> opts & [placeholder])

Use the shared component fallback after a real managed-query failure.

<rendered>

(<rendered> {:keys [form class]})

Render the ordinary component tree as an inert, CSS-shaped skeleton. Sample arguments supply text lengths when content is not available yet.

<span>

(<span> & [options])

<spinner>

(<spinner>)

render-context