Built-in Astral HEEx components available to pages, layouts, and Markdown.
Summary
Functions
Render an optimized image wrapped in a semantic figure.
Render an optimized build-time image.
Render a client-side island mounted by Volt-managed framework code.
Render optimized responsive image sources with a fallback image.
Render a React client-side island.
Render a Solid client-side island.
Render a Svelte client-side island.
Render a Vue client-side island.
Functions
Render an optimized image wrapped in a semantic figure.
Attributes
src(:any) (required)alt(:string) (required)caption(:any) - Defaults tonil.width(:any) - Defaults tonil.height(:any) - Defaults tonil.format(:any) - Defaults tonil.quality(:integer) - Defaults tonil.fit(:atom) - Defaults to:contain.loading(:string) - Defaults to"lazy".decoding(:string) - Defaults to"async".image_attrs(:map) - Defaults to%{}.- Global attributes are accepted.
Slots
inner_block
Render an optimized build-time image.
Attributes
src(:any) (required)alt(:string) (required)width(:any) - Defaults tonil.height(:any) - Defaults tonil.format(:any) - Defaults tonil.quality(:integer) - Defaults tonil.fit(:atom) - Defaults to:contain.loading(:string) - Defaults to"lazy".decoding(:string) - Defaults to"async".- Global attributes are accepted.
Render a client-side island mounted by Volt-managed framework code.
Attributes
component(:string) (required)adapter(:atom) (required)client(:atom) - Defaults to:load.media(:string) - Defaults tonil.props(:any) - Defaults to%{}.id(:string) - Defaults tonil.- Global attributes are accepted.
Render optimized responsive image sources with a fallback image.
Attributes
src(:any) (required)alt(:string) (required)width(:any) - Defaults tonil.height(:any) - Defaults tonil.widths(:list) - Defaults tonil.formats(:list) - Defaults tonil.fallback_format(:any) - Defaults tonil.quality(:integer) - Defaults tonil.fit(:atom) - Defaults to:contain.sizes(:string) - Defaults tonil.loading(:string) - Defaults to"lazy".decoding(:string) - Defaults to"async".picture_attrs(:map) - Defaults to%{}.- Global attributes are accepted.
Render a React client-side island.
Attributes
component(:string) (required)client(:atom) - Defaults to:load.media(:string) - Defaults tonil.props(:any) - Defaults to%{}.id(:string) - Defaults tonil.- Global attributes are accepted.
Render a Solid client-side island.
Attributes
component(:string) (required)client(:atom) - Defaults to:load.media(:string) - Defaults tonil.props(:any) - Defaults to%{}.id(:string) - Defaults tonil.- Global attributes are accepted.
Render a Svelte client-side island.
Attributes
component(:string) (required)client(:atom) - Defaults to:load.media(:string) - Defaults tonil.props(:any) - Defaults to%{}.id(:string) - Defaults tonil.- Global attributes are accepted.
Render a Vue client-side island.
Attributes
component(:string) (required)client(:atom) - Defaults to:load.media(:string) - Defaults tonil.props(:any) - Defaults to%{}.id(:string) - Defaults tonil.- Global attributes are accepted.