---
title: "Can I create a component that renders a Drupal view and exposes a contextual filter to the component form?"
date: "2020-12-18T14:40:29+00:00"
summary: "Create a custom Drupal view component with configurable filters. Expose contextual filters to the component form for dynamic content rendering. Perfect for developers seeking flexible, reusable view integration in Site Studio."
image:
type: "article"
url: "/drupal-starter-kits/add-ons/site-studio/help/65246-can-i-create-component-renders-drupal-view-and-exposes-contextual-filter-component-form"
id: "5bc3f84f-e523-4247-889a-1daec9dc79ce"
---

Yes, this is possible by creating a custom element.

It is possible to create a component that renders a Drupal view which contains contextual filters and expose those filters to the component form. This can be done by creating a custom element. For more information, visit [Creating a Drupal view component with configurable filters](/drupal-starter-kits/add-ons/site-studio/help/96926-creating-drupal-view-component-configurable-filters "Creating a Drupal view component with configurable filters").