
Product
Socket for Jira Is Now Available
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.
@contentful/experiences-components-react
Advanced tools
A basic set of components to use with Studio Experiences
defineComponents function. Components that are registered through the defineComponents function will be displayed in the Components tab in the Experiences UI.basic/built-in components as they see fit. The main purpose is to restrict or ensure that Experiences editors use the correct components for their Experiences. Additionally, the built-in components IDs are prefixed with contentful- to prevent id clashing where a customer would override Contentful's built-in component in cases where the IDs match. This means the user will have to intentionally id their custom component with the contentful- prefix to override the provided built-in component such as contentful-button.builtInStyles defined like builtInStyles: ['cfMargin'] will provide the editor with UI margin editing in their Experience with predefined default values for margin which is currently 0px. However, let's say the user would like to define their button margin with 4px whenever a button is dropped onto the canvas, they can then define a variable instead like below. This will still provide the editor with the margin UI editing in their experience with the values being defaulted to 4px instead of 0px. variables: {
cfMargin: {
displayName: 'Margin',
type: 'Text',
group: 'style',
description: 'The margin of the button.',
defaultValue: '4px',
},
}
FAQs
A basic set of components to use with Studio Experiences
The npm package @contentful/experiences-components-react receives a total of 13,653 weekly downloads. As such, @contentful/experiences-components-react popularity was classified as popular.
We found that @contentful/experiences-components-react demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.