atomic-result

This is for:

Developer
In this article

The atomic-result component is used internally by the atomic-result-list component.

Properties

Property Attribute Description Type Default

classes

classes

Classes that will be added to the result element.

string

content (required)

The result content to display.

ParentNode

density

density

How large or small results should be.

"comfortable" | "compact" | "normal"

'normal'

display

display

How results should be displayed.

"grid" | "list" | "table"

'list'

engine (required)

The headless search engine.

SearchEngine<{}>

image

DEPRECATED use imageSize instead.

image

"icon" | "large" | "none" | "small"

'icon'

imageSize

image-size

How large or small the visual section of results should be.

This may be overwritten if an image size is defined in the result content.

"icon" | "large" | "none" | "small" | undefined

result (required)

The result item.

FoldedResult | Result