---
title: Resources by selector · Cloudflare Style Guide
description: The ResourcesBySelector component allows you to pull in documentation resources based on the pcx_content_type, tags and products frontmatter properties.
source_url:
  html: https://e321df0c.preview.developers.cloudflare.com/style-guide/components/resources-by-selector/index.md
  md: https://e321df0c.preview.developers.cloudflare.com/style-guide/components/resources-by-selector/
---

The `ResourcesBySelector` component allows you to pull in documentation resources based on the `pcx_content_type`, `tags` and `products` frontmatter properties.

## Component

### Inputs

* `types` string\[]

  An array of `pcx_content_type` values to filter by.

* `tags` string\[] optional

  An array of `tags` values to filter by.

  To see a list of the available tags, and which pages are associated with them, refer to [this list](https://developers.cloudflare.com/style-guide/frontmatter/tags/).

* `products` string\[] optional

  An array of `products` values to filter by.
