Government of Nova Scotia UI Pattern Library
Tables
Tables
Consider the type of data you are working with when selecting which table to use. Complicated data tables should make use of the "scope" property as illustrated in Accessible Data Table. Using scope is very helpful for users trying to navigate a complicated table with a screen reader.
Table patterns
Accessible Data Table
Name
Age
Location
Sandy
26
Halifax
Don
42
Pugwash
Liana
37
Glace Bay
Bordered Data Table
Table Header
Table Header
Table Header
Content
Content
Content
Content
Content
Content
Content
Content
Content
Activity
Option A
Option B
Driving
Walking
Swimming
Flying
Condensed Data Table
Table Header
Table Header
Table Header
Content
Content
Content
Content
Content
Content
Content
Content
Content
Numerical Data Table
Name
Width
Height
Depth
Chestnut storage box
26"
34"
45"
Birch storage box
23"
43"
77"
Oak storage box
53"
44"
27"
Maple storage box
23"
52"
54"
Responsive Data Table
Table Header
Table Header
Table Header
Content
Content
Content
Content
Content
Content
Content
Content
Content
Striped Data Table
Table Header
Table Header
Table Header
Content
Content
Content
Content
Content
Content
Content
Content
Content
Simple Data Table
Table Header
Table Header
Table Header
Content
Content
Content
Content
Content
Content
Content
Content
Content