Single import entrypoint for the conformance-backed reference components.
This module intentionally imports the concrete component modules instead of
wrapping them, so Phoenix keeps each component's own attr / slot metadata for
compile-time checks and HexDocs.
defmodule MyAppWeb.Demo do
use Phoenix.Component
use LiveInteractionContracts.Components
def demo(assigns) do
~H"""
<.popover id="demo" placement="bottom">
<:trigger>Open</:trigger>
<:content>Patch-safe by contract.</:content>
</.popover>
"""
end
endThe imported components are: