# content (/themes/sdk/reference/content)

```ts
import { … } from '@poltura/theme-sdk/content';
```

## [Hooks](/themes/sdk/reference/content/hooks) [#hooks]

| Name | What it is |
| --- | --- |
| [`useArticle`](/themes/sdk/reference/content/hooks#usearticle) | The blog post of the post page the component sits on. |
| [`useLegalPage`](/themes/sdk/reference/content/hooks#uselegalpage) | The legal document of the legal page the component sits on. |
| [`useFaq`](/themes/sdk/reference/content/hooks#usefaq) | The FAQ groups of the FAQ page the component sits on. |
| [`useContactPage`](/themes/sdk/reference/content/hooks#usecontactpage) | The contact page's heading, wording and the store's contact details, company, bank account and social profiles. |
| [`useBlog`](/themes/sdk/reference/content/hooks#useblog) | The blog posts of the blog page the component sits on: the landing page or a category's. |
| [`useGuides`](/themes/sdk/reference/content/hooks#useguides) | The guides of the help centre page the component sits on: every category, or one category's guides. |
| [`useGuide`](/themes/sdk/reference/content/hooks#useguide) | The guide of the guide page the component sits on. |
| [`useBanners`](/themes/sdk/reference/content/hooks#usebanners) | The merchant's enabled banners in priority order, in the page language. |
| [`useCountdown`](/themes/sdk/reference/content/hooks#usecountdown) | Counts down to a moment, re-rendering every second until it passes. |

## [Parts](/themes/sdk/reference/content/parts-1) [#parts]

| Name | What it is |
| --- | --- |
| [`Markdown`](/themes/sdk/reference/content/parts-1#markdown) | Merchant Markdown drawn as the store's typography, with headings, tables, images and alignment. |
| [`RichText`](/themes/sdk/reference/content/parts-1#richtext) | Merchant rich text, such as a product or category description, drawn as the store's typography. |
| [`ArticleCard`](/themes/sdk/reference/content/parts-1#articlecard) | A blog post card: cover image, category, date, title, excerpt and the read link. |
| [`FaqAccordion`](/themes/sdk/reference/content/parts-1#faqaccordion) | Questions that open one at a time to show their Markdown answers. |
| [`Countdown`](/themes/sdk/reference/content/parts-1#countdown) | A ticking `hh:mm:ss` timer with a clock icon, for sales and offers. |
| [`ContentBadge`](/themes/sdk/reference/content/parts-1#contentbadge) | A small rounded label, such as a category on a cover image; nothing without an icon or label. |
| [`ArticleDownloads`](/themes/sdk/reference/content/parts-1#articledownloads) | The downloads box of a guide: each file or link with its icon, version, platform and size. |
| [`DownloadButton`](/themes/sdk/reference/content/parts-1#downloadbutton) | One guide file, link or purchase file as a download button. |
| [`FileDownloads`](/themes/sdk/reference/content/parts-1#filedownloads) | Every file and link of a guide and the product's purchase files as download buttons; nothing when there are none. |
| [`ContactInfoCard`](/themes/sdk/reference/content/parts-1#contactinfocard) | One contact channel as a card: icon, name, what it is for and the link to it. |
| [`ContactSocialCard`](/themes/sdk/reference/content/parts-1#contactsocialcard) | The store's social profiles as a card of icon tiles; nothing without profiles. |
| [`CompanyInfo`](/themes/sdk/reference/content/parts-2#companyinfo) | The company's registered details and bank account side by side, labelled in the page language. |

## [Constants](/themes/sdk/reference/content/constants) [#constants]

| Name | What it is |
| --- | --- |
| [`contactRegions`](/themes/sdk/reference/content/constants#contactregions) | The contact template's regions, where merchants place blocks. |

## [Types](/themes/sdk/reference/content/types-1) [#types]

| Name | What it is |
| --- | --- |
| [`Article`](/themes/sdk/reference/content/types-1#article) | The blog post a post page shows, with its body and related posts. |
| [`ArticleCategory`](/themes/sdk/reference/content/types-1#articlecategory) | A blog category. |
| [`ArticlePage`](/themes/sdk/reference/content/types-1#articlepage) | One page of blog posts: the blog's landing page or a category's. |
| [`ArticleSummary`](/themes/sdk/reference/content/types-1#articlesummary) | A blog post as cards and lists show it, without its body. |
| [`ContactPageTexts`](/themes/sdk/reference/content/types-1#contactpagetexts) | The fixed wording of the contact page, in the page language. |
| [`ContactPageView`](/themes/sdk/reference/content/types-1#contactpageview) | Everything the contact page shows: the store's contact details, company, bank account and social links. |
| [`ContentHeading`](/themes/sdk/reference/content/types-1#contentheading) | A heading inside a long text, listed in the "On this page" box. |
| [`FaqGroup`](/themes/sdk/reference/content/types-1#faqgroup) | A group of FAQ items under one heading. |
| [`FaqItem`](/themes/sdk/reference/content/types-1#faqitem) | One question and its answer on the FAQ page. |
| [`Guide`](/themes/sdk/reference/content/types-1#guide) | A how-to guide the merchant wrote, shown on its own page and on the products it belongs to. |
| [`GuideAttachment`](/themes/sdk/reference/content/types-1#guideattachment) | A file or link attached to a guide, such as a manual or a driver. |
| [`GuideAttachmentKind`](/themes/sdk/reference/content/types-1#guideattachmentkind) | Whether a guide attachment is a file to download or a link to follow. |
| [`GuideCategory`](/themes/sdk/reference/content/types-1#guidecategory) | A guide category of the help centre. |
| [`GuidePage`](/themes/sdk/reference/content/types-1#guidepage) | The guide a guide page shows, with its category, headings and related guides. |
| [`GuidesView`](/themes/sdk/reference/content/types-1#guidesview) | The guides a help centre page lists: every category on the landing page, or one category's guides. |
| [`LegalFeedSection`](/themes/sdk/reference/content/types-2#legalfeedsection) | A section the store's product feeds add to a legal document, such as the data shared with a price comparison site. |
| [`LegalPage`](/themes/sdk/reference/content/types-2#legalpage) | The legal document a legal page shows, such as the terms of service or the privacy policy. |
| [`LegalPageTexts`](/themes/sdk/reference/content/types-2#legalpagetexts) | The fixed wording of a legal page. |
| [`LegalVersion`](/themes/sdk/reference/content/types-2#legalversion) | An earlier version of a legal document, still readable on its own address. |
| [`ProductFile`](/themes/sdk/reference/content/types-2#productfile) | A file the product's buyers download after purchase; before purchase it is listed without a link. |
| [`RichTextValue`](/themes/sdk/reference/content/types-2#richtextvalue) | Merchant-written rich text, already sanitised by the host; render it with `RichText`. |
| [`MarkdownProps`](/themes/sdk/reference/content/types-2#markdownprops) | Props of [`Markdown`](/themes/sdk/reference/content/parts-1#markdown). |
| [`RichTextProps`](/themes/sdk/reference/content/types-2#richtextprops) | Props of [`RichText`](/themes/sdk/reference/content/parts-1#richtext). |
| [`ArticleCardProps`](/themes/sdk/reference/content/types-2#articlecardprops) | Props of [`ArticleCard`](/themes/sdk/reference/content/parts-1#articlecard). |
| [`FaqAccordionProps`](/themes/sdk/reference/content/types-2#faqaccordionprops) | Props of [`FaqAccordion`](/themes/sdk/reference/content/parts-1#faqaccordion). |
| [`BannerTemplate`](/themes/sdk/reference/content/types-2#bannertemplate) | Which ready-made design a banner started from. |
| [`BannerLayout`](/themes/sdk/reference/content/types-2#bannerlayout) | How a banner shows: a bar, a dialog, a panel sliding in, or the whole screen. |
| [`BannerPosition`](/themes/sdk/reference/content/types-2#bannerposition) | Where on the screen a banner sits. |
| [`BannerAction`](/themes/sdk/reference/content/types-2#banneraction) | What a banner button does when pressed. |
| [`BannerButton`](/themes/sdk/reference/content/types-2#bannerbutton) | A button of a banner. |
| [`BannerColors`](/themes/sdk/reference/content/types-2#bannercolors) | The colours a banner draws with, each a CSS colour or empty for the theme's own. |
| [`Banner`](/themes/sdk/reference/content/types-2#banner) | A banner the merchant set up, such as an announcement or a discount offer, in the page language. |
| [`CountdownTime`](/themes/sdk/reference/content/types-2#countdowntime) | Time left until a moment, ticking every second. |
| [`CountdownProps`](/themes/sdk/reference/content/types-2#countdownprops) | Props of [`Countdown`](/themes/sdk/reference/content/parts-1#countdown). |
| [`ContentBadgeProps`](/themes/sdk/reference/content/types-2#contentbadgeprops) | Props of [`ContentBadge`](/themes/sdk/reference/content/parts-1#contentbadge). |
| [`ArticleDownloadsProps`](/themes/sdk/reference/content/types-3#articledownloadsprops) | Props of [`ArticleDownloads`](/themes/sdk/reference/content/parts-1#articledownloads). |
| [`DownloadButtonProps`](/themes/sdk/reference/content/types-3#downloadbuttonprops) | Props of [`DownloadButton`](/themes/sdk/reference/content/parts-1#downloadbutton). |
| [`FileDownloadsProps`](/themes/sdk/reference/content/types-3#filedownloadsprops) | Props of [`FileDownloads`](/themes/sdk/reference/content/parts-1#filedownloads). |
| [`ContactInfoCardProps`](/themes/sdk/reference/content/types-3#contactinfocardprops) | Props of [`ContactInfoCard`](/themes/sdk/reference/content/parts-1#contactinfocard). |
| [`ContactSocialCardProps`](/themes/sdk/reference/content/types-3#contactsocialcardprops) | Props of [`ContactSocialCard`](/themes/sdk/reference/content/parts-1#contactsocialcard). |
| [`CompanyInfoProps`](/themes/sdk/reference/content/types-3#companyinfoprops) | Props of [`CompanyInfo`](/themes/sdk/reference/content/parts-2#companyinfo). |

<AnchorRedirect to={{"hooks":"/themes/sdk/reference/content/hooks","usearticle":"/themes/sdk/reference/content/hooks","uselegalpage":"/themes/sdk/reference/content/hooks","usefaq":"/themes/sdk/reference/content/hooks","usecontactpage":"/themes/sdk/reference/content/hooks","useblog":"/themes/sdk/reference/content/hooks","useguides":"/themes/sdk/reference/content/hooks","useguide":"/themes/sdk/reference/content/hooks","usebanners":"/themes/sdk/reference/content/hooks","usecountdown":"/themes/sdk/reference/content/hooks","parts":"/themes/sdk/reference/content/parts-1","markdown":"/themes/sdk/reference/content/parts-1","richtext":"/themes/sdk/reference/content/parts-1","articlecard":"/themes/sdk/reference/content/parts-1","faqaccordion":"/themes/sdk/reference/content/parts-1","countdown":"/themes/sdk/reference/content/parts-1","contentbadge":"/themes/sdk/reference/content/parts-1","articledownloads":"/themes/sdk/reference/content/parts-1","downloadbutton":"/themes/sdk/reference/content/parts-1","filedownloads":"/themes/sdk/reference/content/parts-1","contactinfocard":"/themes/sdk/reference/content/parts-1","contactsocialcard":"/themes/sdk/reference/content/parts-1","companyinfo":"/themes/sdk/reference/content/parts-2","constants":"/themes/sdk/reference/content/constants","contactregions":"/themes/sdk/reference/content/constants","types":"/themes/sdk/reference/content/types-1","article":"/themes/sdk/reference/content/types-1","articlecategory":"/themes/sdk/reference/content/types-1","articlepage":"/themes/sdk/reference/content/types-1","articlesummary":"/themes/sdk/reference/content/types-1","contactpagetexts":"/themes/sdk/reference/content/types-1","contactpageview":"/themes/sdk/reference/content/types-1","contentheading":"/themes/sdk/reference/content/types-1","faqgroup":"/themes/sdk/reference/content/types-1","faqitem":"/themes/sdk/reference/content/types-1","guide":"/themes/sdk/reference/content/types-1","guideattachment":"/themes/sdk/reference/content/types-1","guideattachmentkind":"/themes/sdk/reference/content/types-1","guidecategory":"/themes/sdk/reference/content/types-1","guidepage":"/themes/sdk/reference/content/types-1","guidesview":"/themes/sdk/reference/content/types-1","legalfeedsection":"/themes/sdk/reference/content/types-2","legalpage":"/themes/sdk/reference/content/types-2","legalpagetexts":"/themes/sdk/reference/content/types-2","legalversion":"/themes/sdk/reference/content/types-2","productfile":"/themes/sdk/reference/content/types-2","richtextvalue":"/themes/sdk/reference/content/types-2","markdownprops":"/themes/sdk/reference/content/types-2","richtextprops":"/themes/sdk/reference/content/types-2","articlecardprops":"/themes/sdk/reference/content/types-2","faqaccordionprops":"/themes/sdk/reference/content/types-2","bannertemplate":"/themes/sdk/reference/content/types-2","bannerlayout":"/themes/sdk/reference/content/types-2","bannerposition":"/themes/sdk/reference/content/types-2","banneraction":"/themes/sdk/reference/content/types-2","bannerbutton":"/themes/sdk/reference/content/types-2","bannercolors":"/themes/sdk/reference/content/types-2","banner":"/themes/sdk/reference/content/types-2","countdowntime":"/themes/sdk/reference/content/types-2","countdownprops":"/themes/sdk/reference/content/types-2","contentbadgeprops":"/themes/sdk/reference/content/types-2","articledownloadsprops":"/themes/sdk/reference/content/types-3","downloadbuttonprops":"/themes/sdk/reference/content/types-3","filedownloadsprops":"/themes/sdk/reference/content/types-3","contactinfocardprops":"/themes/sdk/reference/content/types-3","contactsocialcardprops":"/themes/sdk/reference/content/types-3","companyinfoprops":"/themes/sdk/reference/content/types-3"}} />
