| Table heading | Table heading | Table heading |
|---|---|---|
| Data example | Data example | Data example |
| Data example | Data example | Data example |
| Data example | Date example | Data example |
- Usage
- Styles
- Accessibility
Usage
The table component (text) is used to present structured datasets and comparisons using rows and columns. This should be used when the content needs to be structured in rows and columns to be easily understood or compared.
The table component is accessed via the RTE in the text component.
Common usage includes:
- Specifications and ordering information
- Product comparisons
Dos and don'ts
Do:
- Use to display information in rows and columns
- Use to compare products or technology
- Use heading cell styles to create visual hierarchy
Don’t:
- Use soley for creating a layout, tables are not responsive
- Include large paragraphs or lists in table cells
- Overuse the heading cell style
Styles
Styles are used to visually amplify the Boston Scientific brand. Styles carry different brand or functional treatments that bring a distinctive look to our webpages while also helping to emphasize key information.
The table component does not have any brand treatments, only functional treatments.
Using the functional treatments
The functional treatments for the table component allow for the table to display responsively on all devices and to create space between the table and other elements.
*Note: Spacing on the table component is tight; recommend adding the table component to a container component and using the top margin in the container component instead.
Available treatment types
- Responsive data table - This style must be applied to ensure the table displays properly on all devices
- Top margin - Use this style to create space between the table and other elements
Accessibility
This component passes AAA WCAG standards. However, changes made by the content owner or implementer could impact accessibility compliance. Be sure to follow code standards, usage guidelines, and content guidelines.