Internal Components
This directory contains reusable components that can be used throughout the SignalWire documentation.
Card
A versatile UI element that can display content in a structured format with optional title, icon, and image.
CodeGroup
Display multiple code blocks in a tabbed interface, making it easy to showcase different implementations.
Accordion
Create collapsible content sections that can be expanded and collapsed by the user.
Slideshow
Display a series of images or content in a carousel format.
ReleaseCard
Showcase release information in a structured and visually appealing way.
Frame
Create bordered containers for content with optional styling options.
Icons
A collection of icons available for use throughout the documentation.
Usage
To use these components in your documentation:
- Import the component from its source
- Use the component with the appropriate props
- Refer to the component's documentation page for detailed usage examples
For example:
import { Card } from "@site/src/components/Extras/Card";
<Card
title="My Card"
description="This is a card component"
/>
Contributing
When adding new components:
- Create the component in the appropriate directory
- Add comprehensive documentation
- Include usage examples
- Add the component to this directory page