I’m working with Figma Sites and its built-in CMS, and I’d like to suggest a feature that would significantly improve the developer experience when using code layers / React components.
Feature request
Provide an official React hook (or similar API) to access CMS data from code, for example:
const teams = useCollection('teams');or
const { data, loading, error } = useCollection('teams');Why this would be valuable
-
Many developers want to build custom React components (carousels, filters, tabs, animations) that rely on CMS data.
-
Today, CMS data is accessible only through visual bindings, not programmatically.
-
A hook like
useCollectionwould:-
Bridge the gap between design-driven CMS and code-driven components
-
Reduce the need for manual exports or external APIs
-
Make Figma Sites more attractive for hybrid designer/developer workflows
-
Since Figma Sites already supports React code layers, an official CMS hook would feel like a natural next step.
