Components that host other components
Give a component areas that editors fill.
Read the guideComponents · data binding
Presentation components render what an editor sets: text, links, buttons, images. Data-providing components have no look of their own. They fetch documents, assets or rows and hand each one to the components inside them, which bind its fields by name.
Two kinds
Most pages mix both. A Document List fetches the news, and a Heading, an Image and a Link inside it show each story.
They render markup from the properties an editor sets, and bind any of them to data.
They render no look of their own. They fetch items and put each one in the data binding for the components placed inside them.
What it does
A data provider's Design picks a ready look. The Iteration design repeats components you place instead.
In the Iteration design, a Wrap grid, a List or the Standard iterator repeats the item template per item.
{title}, {_Published:d. MMMM yyyy}, {price??On request}: a field, a .NET format or a fallback text.
{_PageTitle}, a query string value as {_qs_category}, or a site-wide value as {_global_phone}.
Linked documents only go inside a Document or Document List. The designer offers it only there.
AgentHint says what a component is for, so the AI assistant and coding agents place it right.
How it works
01
A Document List queries a model, with its filters and paging.
Document List02
Each document's fields go into a data binding context of its own.
DataBindingContext03
An iteration component renders the item template once per document.
Wrap grid04
A Heading in the template shows {title}. An Image takes the field its Data binding key names.
{title}05
The server binds the text as it renders, so the HTML it sends holds the values.
For developers
Make a child of the surrounding data binding context, add your values and cascade it to an area. Whatever editors place in that area binds them, with no code of its own.
Supply data, or render it, from your own code:
DataBindingContext: the values components bind, in Veva.Core.Domain.DataBindingIIterationComponent: renders the items an Iterator hands itITabularDataProvider: the rows of a Data TableIDocumentProvider: decides which document a Document shows@attribute [VevaComponent("3e7d2a91-5c4b-4f0e-8a6d-1b2c3d4e5f60")]
@attribute [DisplayName("Opening hours")]
@attribute [Category("Data")]
@attribute [AgentHint("Today's opening hours. Put components in its 'template' area and bind {Opens:HH:mm} and {Closes:HH:mm}.")]
@attribute [ContentArea("template", "Shows the opening hours.")]
<CascadingValue Name="DataBindingContext" Value="@Hours()">
<AreaContent Name="template" />
</CascadingValue>
@code {
[CascadingParameter(Name = "DataBindingContext")]
public DataBindingContext Parent { get; set; }
private DataBindingContext Hours() =>
Parent.CreateChildContext()
.AddItem("Opens", new TimeOnly(9, 0))
.AddItem("Closes", new TimeOnly(17, 0));
}
Keep reading
Give a component areas that editors fill.
Read the guideProperties editors set, bound to document fields.
Read the guideWrite a component and register it in a module.
Read the guideModules
The ones marked Built in come with Veva.Web.Essentials. Add the others as packages, restart, and set them up in the site's settings.
Veva.Web The host: BuildVeva(), the module loader, components, themes and data binding.
dotnet add package Veva.WebVeva.Modules.Assets The media library, with files at /library addresses and images resized, cropped and sharpened on request. Adds the Image, Images, Video and Audio components.
dotnet add package Veva.Modules.AssetsVeva.Modules.StandardViewComponents 48 components, from Heading, Paragraph and Link to Tabs, Data Table, Navigation menu and Bread crumbs, and styling options such as margin and padding.
dotnet add package Veva.Modules.StandardViewComponentsVeva.Modules.Documents Models and their documents, in the Documents section. Adds the Document List, Document, Linked documents and Document Form components.
dotnet add package Veva.Modules.DocumentsVeva.Modules.MarkdownParsing.MarkdigParser Renders the Markdown in Paragraph text with Markdig, with syntax highlighting in code blocks.
dotnet add package Veva.Modules.MarkdownParsing.MarkdigParserVeva.Modules.DataSources Shows data from other systems on your pages. Add .HTTP, .SQL or .WebScraping for the source you read.
dotnet add package Veva.Modules.DataSourcesVeva.Modules.Components.YouTube A YouTube video component. Paste a YouTube address into the Add Content dialog to insert one.
dotnet add package Veva.Modules.Components.YouTubeVeva.Modules.Components.Vimeo A Vimeo video component. Paste a Vimeo address into the Add Content dialog to insert one.
dotnet add package Veva.Modules.Components.VimeoVeva.Modules.Components.GoogleMaps A Google Maps component. Paste a map into the Add Content dialog to insert one.
dotnet add package Veva.Modules.Components.GoogleMapsVeva.Modules.Infogram Browse your Infogram account in the Add Content dialog and embed a chart with a click.
dotnet add package Veva.Modules.InfogramVeva.Modules.ReadSpeaker A Listen button that reads the page, or a part of it, aloud through ReadSpeaker. Set your ReadSpeaker customer ID in the website settings.
dotnet add package Veva.Modules.ReadSpeakerVeva.Modules.FontAwesome Font Awesome icons for the Icon component and the icon picker.
dotnet add package Veva.Modules.FontAwesomeVeva.Modules.FontAwesomePro Font Awesome Pro icons for the Icon component and the icon picker, in place of the free set.
dotnet add package Veva.Modules.FontAwesomeProVeva.Modules.AnimateCSS A component modifier that puts an Animate.css animation on any component.
dotnet add package Veva.Modules.AnimateCSSVeva.Modules.Components.Swiper Sliders and carousels, built on the Swiper library.
dotnet add package Veva.Modules.Components.SwiperVeva.Modules.ChartJS Chart components, such as a bar chart and a line chart, built on Chart.js.
dotnet add package Veva.Modules.ChartJSVeva.Modules.Hypen A component modifier that hyphenates text in the browser, with Icelandic and English patterns.
dotnet add package Veva.Modules.HypenMore of Veva
Each one is made of modules. Reference a package, restart, and its components are in the editor.
Compose pages from components, then preview and publish
OpenStructured content you list, filter and serve anywhere
OpenDocument forms that save, generic forms that filter or post
OpenForm answers made into a PDF, downloaded or sent to be signed
OpenOne media library, with images sized on request
OpenCrawl, index and search the whole site
OpenThe admin's AI assistant, and the MCP server coding agents connect to
OpenBuildVeva(), modules, components, themes and hooks
OpenPlain .NET Blazor: three render modes, standard components
OpenData sources, sign-in, mail, analytics and media
OpenEvery module: what comes with Essentials, and the add-ons
Open