--- title: Display Smart Snippets slug: n69a8249 canonical_url: https://docs.coveo.com/en/n69a8249/ collection: build-a-search-ui source_format: adoc --- # Display Smart Snippets To display [Smart Snippets](https://docs.coveo.com/en/l6eb0531/) in a JavaScript Search Framework interface, use the [`SmartSnippet`](https://coveo.github.io/search-ui/components/smartsnippet.html) and [`SmartSnippetSuggestions`](https://coveo.github.io/search-ui/components/smartsnippetsuggestions.html) components. If you're using Atomic or Headless, see instead [Atomic](https://docs.coveo.com/en/l8ve0354#coveo-atomic) or [Headless](https://docs.coveo.com/en/l8ve0354#coveo-headless). > **Notes** > > * The [`SmartSnippet`](https://coveo.github.io/search-ui/components/smartsnippet.html) and [`SmartSnippetSuggestions`](https://coveo.github.io/search-ui/components/smartsnippetsuggestions.html) components must appear below the [`ErrorReport`](https://coveo.github.io/search-ui/components/errorreport.html) and above the [`ResultList`](https://coveo.github.io/search-ui/components/resultlist.html) component in a search interface markup as follows: > > > [.highlight] > ```html // ...