# react-components **Repository Path**: mirrors_cucumber/react-components ## Basic Information - **Project Name**: react-components - **Description**: React components for Cucumber - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-04-13 - **Last Updated**: 2026-05-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # @cucumber/react-components > A set of React components for rendering Gherkin documents and Cucumber results. Preview and examples: https://react-components-9pg.pages.dev/ ![Examples Tables](screenshots/examples-tables.png) ## Usage - This package is distributed in ES module format only. - React 18 or above is required. The source code for the screenshot above is: ```jsx import { EnvelopesProvider, FilteredDocuments } from '@cucumber/react-components' ``` `envelopes` should be an array of [Cucumber Messages](https://github.com/cucumber/messages) that came from a test run. You can obtain these from most Cucumber implementations by using a "Message" formatter. ## Attachments Attachments from test runs are shown with their corresponding steps. The baseline behavior for attachments is a download button. However, we have some special handling for common MIME types to make them more useful without leaving the report: - `image/*` - images are rendered with an `` tag - `video/*` - videos are rendered with a `