Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@contentful/f36-table

Package Overview
Dependencies
Maintainers
100
Versions
342
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contentful/f36-table

Forma 36: Table component

  • 4.0.1-next-v4-6330.2234
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
24K
decreased by-15.59%
Maintainers
100
Weekly downloads
 
Created
Source

title: 'Table' type: 'component' status: 'stable' slug: /components/table/ github: 'https://github.com/contentful/forma-36/tree/master/packages/forma-36-react-components/src/components/Table' storybook: 'https://f36-storybook.contentful.com/?path=/info/components-table--default'

Use tables to present large amounts of data, and data which has multiple properties attached to it.

Table of contents

How to use Table

  • Make sure Tables span the full width of the container they're in
  • Make sure a table has a header describing the content of its respective columns
  • Ordered columns by relevance from left to right. Images, if present, have a higher priority, and should be placed in the first column. Checkboxes naturally have the highest priority.

Code examples

<Table>
  <TableHead>
    <TableRow>
      <TableCell>Name</TableCell>
      <TableCell>Email</TableCell>
      <TableCell>Organization role</TableCell>
      <TableCell>Last activity</TableCell>
    </TableRow>
  </TableHead>
  <TableBody>
    <TableRow>
      <TableCell>Claus Mitchell</TableCell>
      <TableCell>claus.mitchell@contentful.com</TableCell>
      <TableCell>CEO</TableCell>
      <TableCell>August 29, 2018</TableCell>
    </TableRow>
    <TableRow>
      <TableCell>Johannes Ramos</TableCell>
      <TableCell>johannes.ramos@contentful.com</TableCell>
      <TableCell>CTO</TableCell>
      <TableCell>July 27, 2019</TableCell>
    </TableRow>
    <TableRow>
      <TableCell>Alex Kalinoski</TableCell>
      <TableCell>alex.kalinoski@contentful.com</TableCell>
      <TableCell>CDO</TableCell>
      <TableCell>June 13, 2019</TableCell>
    </TableRow>
  </TableBody>
</Table>

Content recommendations

  • Keep headers short
  • Headers should be informative and descriptive
  • Content in the table should be concise and scannable

FAQs

Package last updated on 17 Aug 2021

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc