# Category rows

This demo uses a custom layout mode, `categoryRows` that arranges elements into rows based on their category. The layout mode logic relies on sorting to define rows.

### Filters

- show all
- metal
- transition
- post-transition
- nonmetal
- inner-transition
- alkali and alkaline-earth
- not transition
- metal but not transition

### Etc

- Toggle variable sizes
- Insert new elements

12

### Mg

## Magnesium

24.305

92

### U

## Uranium

238.02891

64

### Gd

## Gadolinium

157.25

39

### Y

## Yttrium

88.90585

5

### B

## Boron

10.811

26

### Fe

## Iron

55.845

95

### Am

## Americium

(243)

30

### Zn

## Zinc

65.38

61

### Pm

## Promethium

(145)

49

### In

## Indium

114.818

33

### As

## Arsenic

74.9216

68

### Er

## Erbium

167.259

34

### Se

## Selenium

78.96

38

### Sr

## Strontium

87.62

40

### Zr

## Zirconium

91.224

85

### At

## Astatine

(210)

41

### Nb

## Niobium

92.90638

8

### O

## Oxygen

15.9994

97

### Bk

## Berkelium

(247)

9

### F

## Fluorine

18.9984032

98

### Cf

## Californium

(251)

10

### Ne

## Neon

20.1797

15

### P

## Phosphorus

30.973762

100

### Fm

## Fermium

(257)

16

### S

## Sulfur

32.065

20

### Ca

## Calcium

40.078

6

### C

## Carbon

12.0107

37

### Rb

## Rubidium

85.4678

115

### Uup

## Ununpentium

(288)

21

### Sc

## Scandium

44.955912

31

### Ga

## Gallium

69.723

81

### Tl

## Thallium

204.3833

14

### Si

## Silicon

28.0855

48

### Cd

## Cadmium

112.411

22

### Ti

## Titanium

47.867

4

### Be

## Beryllium

9.012182

23

### V

## Vanadium

50.9415

32

### Ge

## Germanium

72.64

55

### Cs

## Caesium

132.9054519

67

### Ho

## Holmium

164.93032

56

### Ba

## Barium

137.327

72

### Hf

## Hafnium

178.49

2

### He

## Helium

4.002602

24

### Cr

## Chromium

51.9961

42

### Mo

## Molybdenum

95.96

71

### Lu

## Lutetium

174.9668

3

### Li

## Lithium

6.941

78

### Pt

## Platinum

195.084

118

### Uuo

## Ununoctium

(294)

80

### Hg

## Mercury

200.59

43

### Tc

## Technetium

(98)

96

### Cm

## Curium

(247)

47

### Ag

## Silver

107.8682

51

### Sb

## Antimony

121.76

70

### Yb

## Ytterbium

173.054

54

### Xe

## Xenon

131.293

57

### La

## Lanthanum

138.90547

73

### Ta

## Tantalum

180.94788

52

### Te

## Tellurium

127.6

74

### W

## Tungsten

183.84