# 2. Component types

A Component type is a template for a single block, that can be displayed by the CMS.

[![image.png](https://docs.tsnocode.com/uploads/images/gallery/2026-10/scaled-1680-/8lhaanc6Wqcutnqk-image.png)](https://docs.tsnocode.com/uploads/images/gallery/2026-10/8lhaanc6Wqcutnqk-image.png)

A component type is composed of 4 attributes:

**The name**  
Just the name shown in the dropdown, when selecting a component type for a page component.

**The tags**  
A list of system names for the fields that are used in the template.  
To disable caching of a component type, remove CACHEOUTPUT from the tags, and the field won't be available on those page components.

**The preview image**  
A sample image, that will be shown when selecting the component type for a page component.

**The template**  
Either:  
An ID of an HTML template, defined as a template in the designer.  
The raw HTML template.