# ash_sdui v0.2.0 - Table of Contents

> Server-Driven UI for Phoenix LiveView applications backed by Ash resources.

## Pages

- [AshSDUI](readme.md)
- [Build Your First Generated Screen](build_your_first_generated_screen.md)
- [How to Author Generated Screens](author_generated_screens.md)
- [How to Customize Generated Forms](customize_generated_forms.md)
- [How to Use Queries and Filters in Generated Views](use_queries_and_filters.md)
- [How to Add Live Bindings](add_live_bindings.md)
- [How to Render Generated Views in Storybook](render_generated_views_in_storybook.md)
- [How to Use layout: :sdui Recipes](use_layout_sdui_recipes.md)
- [How to Build Nested Layouts](build_nested_layouts.md)
- [How to Work with SDUI Layouts](work_with_sdui_layouts.md)
- [Public API Map](public_api.md)
- [Runtime Contract](runtime_contract.md)
- [Runtime Model](runtime_model.md)
- [Authoring Model](authoring_model.md)
- [When AshSDUI Pays Off](when_to_use_ash_sdui.md)
- [Demo and Storybook](demo_and_storybook.md)

## Modules

- [AshSDUI](AshSDUI.md): Server-Driven UI for Phoenix LiveView applications backed by Ash resources.
- [AshSDUI.Binding](AshSDUI.Binding.md): Generic data binding model for views.
- [AshSDUI.Cache](AshSDUI.Cache.md): ETS-backed cache for UI graph trees. Subscribes to UINode change notifications
and evicts affected graphs on any create/update/destroy event.

- [AshSDUI.Calculations.ResolveSubject](AshSDUI.Calculations.ResolveSubject.md): Utility module for resolving {subject_resource, subject_id} into a live Ash record.

- [AshSDUI.Component](AshSDUI.Component.md): Macro for declaring an SDUI component.
- [AshSDUI.Components.ActivityFeed](AshSDUI.Components.ActivityFeed.md): Generic feed/timeline renderer for append-only runtime data.

- [AshSDUI.Components.EmptyState](AshSDUI.Components.EmptyState.md): DaisyUI empty state used by generated collection views.

- [AshSDUI.Components.FieldInput](AshSDUI.Components.FieldInput.md): DaisyUI-backed input renderer for metadata-driven AshSDUI forms.

- [AshSDUI.Components.FieldValue](AshSDUI.Components.FieldValue.md): Small display formatter for generated resource detail and collection views.

- [AshSDUI.Components.GenericView](AshSDUI.Components.GenericView.md): Minimal shell component used by the generic recipe.
- [AshSDUI.Components.IntentBar](AshSDUI.Components.IntentBar.md): DaisyUI-backed intent bar for `ui_intent` metadata.

- [AshSDUI.Components.MetricGrid](AshSDUI.Components.MetricGrid.md): Generic metrics panel for small refreshable dashboards.

- [AshSDUI.Components.NestedForm](AshSDUI.Components.NestedForm.md): Recursive renderer for metadata-driven nested AshPhoenix forms.

- [AshSDUI.Components.RecordDetail](AshSDUI.Components.RecordDetail.md): DaisyUI-backed generated detail view for a single record.

- [AshSDUI.Components.RecordForm](AshSDUI.Components.RecordForm.md): DaisyUI-backed form generated from `AshSDUI.Form.fields/2` metadata.

- [AshSDUI.Components.RecordList](AshSDUI.Components.RecordList.md): DaisyUI-backed generated list view for Ash records.

- [AshSDUI.Components.SelectionBar](AshSDUI.Components.SelectionBar.md): Generic selection summary and action tray.

- [AshSDUI.Components.StatusBadge](AshSDUI.Components.StatusBadge.md): Generic status badge with a small set of semantic variants.

- [AshSDUI.Components.StreamList](AshSDUI.Components.StreamList.md): Generic live collection renderer for append/merge/remove runtime bindings.

- [AshSDUI.Context](AshSDUI.Context.md): Runtime presentation context used while resolving SDUI views.
- [AshSDUI.ContextDumper](AshSDUI.ContextDumper.md): Generates a markdown or JSON snapshot of registered SDUI components, layouts, and annotated resources.
- [AshSDUI.Form](AshSDUI.Form.md): Introspection helpers for building forms from SDUI metadata and Ash actions.

- [AshSDUI.Intent](AshSDUI.Intent.md): Generic user intent model for views.
- [AshSDUI.Layout](AshSDUI.Layout.md): Unified API for named UI layouts.
- [AshSDUI.Layout.Builder](AshSDUI.Layout.Builder.md): Small helpers for building and registering code-defined layouts.
- [AshSDUI.Layout.Node](AshSDUI.Layout.Node.md): Definition-time layout node used by `AshSDUI.Layout` and
`AshSDUI.Layout.Builder`.
- [AshSDUI.Layout.Persistence](AshSDUI.Layout.Persistence.md): Compatibility wrapper for persisted layouts.
- [AshSDUI.LayoutRecipe](AshSDUI.LayoutRecipe.md): Behaviour for converting resolved views into SDUI layout trees.
- [AshSDUI.LayoutRecipe.Registry](AshSDUI.LayoutRecipe.Registry.md): Registry for layout recipe modules.
- [AshSDUI.LiveResource](AshSDUI.LiveResource.md): Generic LiveView engine for AshSDUI generated views.
- [AshSDUI.LiveScreen](AshSDUI.LiveScreen.md): Helpers for LiveViews that rebuild ephemeral layouts and their rendered trees.

- [AshSDUI.Mock](AshSDUI.Mock.md): Utilities for building test fixtures and mock trees without manual TreeNode construction.
- [AshSDUI.Query](AshSDUI.Query.md): Generic query-state model used by views and bindings.
- [AshSDUI.Recipes.GenericResource](AshSDUI.Recipes.GenericResource.md): Built-in generic recipe for Ash-backed views.
- [AshSDUI.Renderer](AshSDUI.Renderer.md): Converts a UI graph (from DB records or code-based layouts) into a nested
tree of `%AshSDUI.Renderer.TreeNode{}` structs ready for rendering.
- [AshSDUI.Renderer.TreeNode](AshSDUI.Renderer.TreeNode.md): Render-ready node produced by `AshSDUI.Renderer`.
- [AshSDUI.Resource](AshSDUI.Resource.md): Spark DSL extension for annotating Ash resources with compact UI metadata.
- [AshSDUI.Resource.Info](AshSDUI.Resource.Info.md): Introspection API for `AshSDUI.Resource` DSL entities.

- [AshSDUI.Resource.Standalone](AshSDUI.Resource.Standalone.md): Parent DSL for standalone SDUI resource annotation modules.
- [AshSDUI.Runtime.BindingSet](AshSDUI.Runtime.BindingSet.md): Shared helpers for looking up primary and selected binding values.

- [AshSDUI.Runtime.Meta](AshSDUI.Runtime.Meta.md): Shared helpers for the persisted node runtime metadata envelope.

- [AshSDUI.Runtime.Normalize](AshSDUI.Runtime.Normalize.md): Small normalization helpers shared across the runtime.

- [AshSDUI.Runtime.RecipeOverrides](AshSDUI.Runtime.RecipeOverrides.md): Shared normalization and lookup helpers for recipe override metadata.

- [AshSDUI.Runtime.State](AshSDUI.Runtime.State.md): Shared runtime state helpers for SDUI views and components.

- [AshSDUI.Storybook](AshSDUI.Storybook.md): Storybook integration for AshSDUI components.
- [AshSDUI.UINode](AshSDUI.UINode.md): Core Ash Resource representing a single node in the UI graph.
- [AshSDUI.UINode.Version](AshSDUI.UINode.Version.md): 
- [AshSDUI.View](AshSDUI.View.md): Generic intermediate representation for an Ash-backed UI view.

## Mix Tasks

- [mix ash_sdui.dump_context](Mix.Tasks.AshSdui.DumpContext.md): Dumps the SDUI context (components, layouts, resources) to stdout.

