Data tables - Components - Material Design (2024)

Data tables may be embedded on a surface, such as a card. They can include:

  • A corresponding visualization
  • The ability to query and manipulate data

Data tables on cards may display navigation and data manipulation tools at the top and bottom.

Supported interactions

Row hover (desktop)
Row selection
Column sorting
Column hover (desktop)
Long header titles
Text editing
Menus

Related components

Cards

Data tables - Components - Material Design (1)

Structure

A data table contains a header row at the top that lists column names, followed by rows for data.

Checkboxes should accompany each row if the user needs to select or manipulate data.

Data tables may include:

  • Three or more columns of data
  • A corresponding visualization
  • The ability for users to query and manipulate data

Data tables - Components - Material Design (2)

Interaction

Display a background in a table row if a user hovers over any part of that row. If there are separate hover states on individual table cells, display both the hover state of the cell and row at the same time.

Hover background

  • Grey 200 (#EEEEEE)

When a row is selected, display a background color on the row.

Selected row background

  • Grey 100 (#F5F5F5)

Checkbox

  • Use secondary app color

Data tables - Components - Material Design (4)

If column sorting is enabled, sort the most important data by default and display a sorted state in the column header. If the user clicks on a column that is already sorted, reverse the sort order and rotate the sort icon.

Sorted column name

  • 12sp Roboto Medium
  • 87% black

Sort icon

  • 16dp container
  • 87% black

Data tables - Components - Material Design (5)

If there is a need to provide definitions to column headers, display a tooltip on hover. If sorting is enabled, display a light sort icon upon hover, which indicates that the column is sortable.

Tooltip

  • Follow the guidelines for Tooltips

Sort icon

  • 16dp container
  • 38% black

Data tables - Components - Material Design (6)

Sometimes, column names don’t fit in a container with the recommended 56dp of padding in between columns. There are two options to handle this:

  1. Display the full column name and enable horizontal scrolling in the table container
  2. Shorten the column name and display it in full on hover

Tables may require basic text editing (e.g. for editing existing text content, or adding comments). Include editable fields within a table and denote them using placeholder text. You can use a simple edit dialog with just a text field, or display a full dialog component on click.

Placeholder text

  • 13sp Roboto Regular
  • 38% black
  • No divider line on text field

Data tables - Components - Material Design (9)


Small edit dialog

  • Align edges of dialog with nearest divider lines, or table edges
  • 24dp of left and right padding
  • Include a single text field, applying the app theme where applicable
  • User confirms text by pressing Enter

Data tables - Components - Material Design (10)

Large edit dialog

  • Align edges of dialog with nearest divider lines, or table edges
  • Follow the dialog guidelines, applying the app theme where applicable
  • User confirms text by clicking the Save button

Data tables - Components - Material Design (11)

Inline edit icon

  • 18dp container
  • 54% black

Data tables - Components - Material Design (12)

Instead of editing text, users may need to select from a predefined list of options. In this scenario, embed a menu component directly in the table.

Inline menu

  • 13sp Roboto Regular
  • 87% black
  • Follow spacing and sizing guidelines for menus

Data tables - Components - Material Design (13)

Data tables - Components - Material Design (14)

Tables within cards

Tables may be embedded within a card, with table navigation and data manipulation tools displayed at the top and bottom.

Data tables - Components - Material Design (15)

Some table cards may require headers with actions instead of titles. In this case you may either:

  • Display persistent actions
  • Display a contextual header that activates when items are selected

Data tables - Components - Material Design (16)

Specs

Data tables - Components - Material Design (17)

  1. 64dp card header height
  2. 56dp height for last row
  3. 48dp data row height

Data tables - Components - Material Design (18)

  1. 24dp of padding around the perimeter of table cards
  2. 32dp in between footer control sets
  3. 40dp in between the footer row count and its label

Data tables - Components - Material Design (19)

  1. Use a minimum of 56dp of padding in between columns. The widest item in the column (including data and column name) should delineate the column border.
  2. Checkbox icons have a width and height of 18dp within a 24dp icon container
Data tables - Components - Material Design (2024)
Top Articles
Rust vs. C++: Differences and use cases | TechTarget
Dropshipping Profit Margin: A Step-By-Step Guide For Beginners
Use Copilot in Microsoft Teams meetings
Pollen Count Centreville Va
Pet For Sale Craigslist
Pangphip Application
Lifebridge Healthstream
The Ivy Los Angeles Dress Code
Chelsea player who left on a free is now worth more than Palmer & Caicedo
Tyrunt
Nation Hearing Near Me
Mr Tire Rockland Maine
Apnetv.con
Crazybowie_15 tit*
City Of Spokane Code Enforcement
Oxford House Peoria Il
Persona 4 Golden Taotie Fusion Calculator
Scholarships | New Mexico State University
Top tips for getting around Buenos Aires
Lesson 8 Skills Practice Solve Two-Step Inequalities Answer Key
Dark Chocolate Cherry Vegan Cinnamon Rolls
1v1.LOL - Play Free Online | Spatial
Www Craigslist Milwaukee Wi
Foxy Brown 2025
20 Different Cat Sounds and What They Mean
Baja Boats For Sale On Craigslist
Surplus property Definition: 397 Samples | Law Insider
Naya Padkar Gujarati News Paper
La Qua Brothers Funeral Home
Roch Hodech Nissan 2023
To Give A Guarantee Promise Figgerits
Viewfinder Mangabuddy
KM to M (Kilometer to Meter) Converter, 1 km is 1000 m
Cox Outage in Bentonville, Arkansas
2020 Can-Am DS 90 X Vs 2020 Honda TRX90X: By the Numbers
Second Chance Apartments, 2nd Chance Apartments Locators for Bad Credit
How Many Dogs Can You Have in Idaho | GetJerry.com
Questions answered? Ducks say so in rivalry rout
O'reilly's Palmyra Missouri
ESA Science & Technology - The remarkable Red Rectangle: A stairway to heaven? [heic0408]
Exam With A Social Studies Section Crossword
Why Are The French So Google Feud Answers
Random Animal Hybrid Generator Wheel
Advance Auto.parts Near Me
Craigslist Woodward
Crystal Glassware Ebay
Paperlessemployee/Dollartree
Spongebob Meme Pic
Electronics coupons, offers & promotions | The Los Angeles Times
Obituaries in Westchester, NY | The Journal News
Selly Medaline
Latest Posts
Article information

Author: Velia Krajcik

Last Updated:

Views: 5956

Rating: 4.3 / 5 (54 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Velia Krajcik

Birthday: 1996-07-27

Address: 520 Balistreri Mount, South Armand, OR 60528

Phone: +466880739437

Job: Future Retail Associate

Hobby: Polo, Scouting, Worldbuilding, Cosplaying, Photography, Rowing, Nordic skating

Introduction: My name is Velia Krajcik, I am a handsome, clean, lucky, gleaming, magnificent, proud, glorious person who loves writing and wants to share my knowledge and understanding with you.