4.3.0 • Published 7 years ago

m-dash-ui v4.3.0

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

m-dash-ui

Purpose

m-dash-ui is a UI library from Mudano built with React. Its objective is to be an aggregate of beatiful and useful general components to be re-used across teams to build new features. Each component should cover most of the general use-cases and avoid getting into specifics of the features it's being used on.

Documentation

Avatar

A simple user avatar component, with support for showing name initials.

Props

proprequirednesstypedescription
namerequiredstringName of the user
urloptionalstringUrl or base64 for the image
base64optionalbooleanWhether url is base64 or not
showLabeloptionalbooleanWhether to show a label with the user's name below the avatar
sizeoptionalstringCan be either nothing, sm, md or lg. Default size is 42px, sm is 22px, md is 32px and lg is 64px
renderTooltipoptionalfunctionA function that returns jsx or a component with the content of a tooltip
styleoptionalobjectAn object with valid custom css for the avatar
classNameoptionalstringA custom class for the avatar wrapper
onMouseLeaveoptionalfunctionFunction to be called when mouse leaves the avatar
onMouseEnteroptionalfunctionFunction to be called when mouse enters the avatar
onClickoptionalfunctionFunction to be called the avatar is clicked

Iso

Isotope grid component

Props

proprequirednesstypedescription
datarequiredarrayArray of items to be rendered on the grid
itemToKeyrequiredfunctionFunction that transforms each item on a key that's passed to react, so the component doesn't need to infer anything about the items structure
renderItemoptionalfunctionRecommended way of customizing the items rendering. The function receives the following signature: ({ item, removeItem })
compoptionalfunctionUnrecommended way of customizing the items rendering. The component receives the item data spread into its props and a removeMe props for removing the item
verticaloptionalbooleanTransforms the grid view into a vertical list
filteroptionalstringString following the isotope format for filtering the rendered items
itemClassNameoptionalstringCSS class to be passed to the items wrapper
classNameoptionalstringCSS class to be passed to the grid wrapper
4.3.0

7 years ago

4.2.1

7 years ago

4.2.0

7 years ago

4.2.0-beta.1

7 years ago

4.1.1

7 years ago

4.1.1-beta.6

7 years ago

4.1.1-beta.5

7 years ago

4.1.1-beta.4

7 years ago

4.1.1-beta.3

7 years ago

4.1.1-beta.2

7 years ago

4.1.1-beta.1

7 years ago

4.1.0

7 years ago

4.1.0-beta.30

7 years ago

4.1.0-beta.29

7 years ago

4.1.0-beta.28

7 years ago

4.1.0-beta.27

7 years ago

4.1.0-beta.26

7 years ago

4.1.0-beta.25

7 years ago

4.1.0-beta.24

7 years ago

4.1.0-beta.23

7 years ago

4.1.0-beta.22

7 years ago

4.1.0-beta.21

7 years ago

4.1.0-beta.20

7 years ago

4.1.0-beta.19

7 years ago

4.1.0-beta.18

7 years ago

4.1.0-beta.17

7 years ago

4.1.0-beta.16

7 years ago

4.1.0-beta.15

7 years ago

4.1.0-beta.14

7 years ago

4.1.0-beta.13

7 years ago

4.1.0-beta.12

7 years ago

4.1.0-beta.11

7 years ago

4.1.0-beta.10

7 years ago

4.1.0-beta.9

7 years ago

4.1.0-beta.8

7 years ago

4.1.0-beta.7

7 years ago

4.1.0-beta.6

7 years ago

4.1.0-beta.5

7 years ago

4.1.0-beta.4

7 years ago

4.1.0-beta.3

7 years ago

4.1.0-beta.2

7 years ago

4.1.0-beta.1

7 years ago

4.1.0-beta.0

7 years ago

4.0.2

7 years ago

4.0.1

7 years ago

4.0.1-0

7 years ago

4.0.0-beta.2

7 years ago

4.0.0-beta.1

7 years ago

4.0.0-beta.0

7 years ago

3.0.18

7 years ago

3.0.17

7 years ago

3.0.16

7 years ago

3.0.15

7 years ago

3.0.14

7 years ago

3.0.13

7 years ago

3.0.11

7 years ago

3.0.10

7 years ago

3.0.9

7 years ago

3.0.8

7 years ago

3.0.7

7 years ago

3.0.6

7 years ago

3.0.5

7 years ago

3.0.4

7 years ago

3.0.4-0

7 years ago

3.0.3

7 years ago

3.0.2

7 years ago

3.0.2-0

7 years ago

3.0.1-0

7 years ago

3.0.0-1

7 years ago

2.0.3

7 years ago

2.0.2

7 years ago

2.0.1

7 years ago

1.2.116

7 years ago

1.2.115

7 years ago

1.2.114

7 years ago

1.2.113

7 years ago

1.2.112

7 years ago

1.2.111

7 years ago

1.2.110

7 years ago

1.2.108

7 years ago

1.2.107

7 years ago

1.2.106

7 years ago

1.2.105

7 years ago

1.2.104

7 years ago

1.2.103

7 years ago

1.2.102

7 years ago

1.2.101

7 years ago

1.2.100

7 years ago

1.2.98

7 years ago

1.2.97

7 years ago

1.2.96

7 years ago

1.2.95

7 years ago

1.2.94

7 years ago

1.2.93

7 years ago

1.2.92

7 years ago

1.2.91

7 years ago

1.2.90

7 years ago

1.2.89

7 years ago

1.2.88

7 years ago

1.2.87

7 years ago

1.2.86

7 years ago

1.2.85

7 years ago

1.2.84

7 years ago

1.2.83

7 years ago

1.2.82

7 years ago

1.2.81

7 years ago

1.2.80

7 years ago

1.2.79

7 years ago

1.2.78

7 years ago

1.2.77

7 years ago

1.2.76

7 years ago

1.2.75

7 years ago

1.2.74

7 years ago

1.2.73

7 years ago

1.2.72

7 years ago

1.2.71

7 years ago

1.2.70

7 years ago

1.2.69

7 years ago

1.2.68

7 years ago

1.2.67

7 years ago

1.2.66

7 years ago

1.2.65

7 years ago

1.2.64

7 years ago

1.2.63

7 years ago

1.2.62

7 years ago

1.2.61

7 years ago

1.2.60

7 years ago

1.2.59

7 years ago

1.2.58

7 years ago

1.2.57

7 years ago

1.2.56

7 years ago

1.2.55

7 years ago

1.2.54

7 years ago

1.2.52

7 years ago

1.2.51

7 years ago

1.2.50

7 years ago

1.2.49

7 years ago

1.2.48

7 years ago

1.2.47

7 years ago

1.2.46

7 years ago

1.2.45

7 years ago

1.2.44

7 years ago

1.2.43

7 years ago

1.2.42

7 years ago

1.2.41

7 years ago

1.2.40

7 years ago

1.2.39

7 years ago

1.2.38

7 years ago

1.2.37

7 years ago

1.2.36

7 years ago

1.2.35

7 years ago

1.2.34

7 years ago

1.2.33

7 years ago

1.2.32

7 years ago

1.2.31

7 years ago

1.2.30

7 years ago

1.2.29

7 years ago

1.2.28

7 years ago

1.2.27

7 years ago

1.2.26

7 years ago

1.2.25

7 years ago

1.2.24

7 years ago

1.2.23

7 years ago

1.2.22

7 years ago

1.2.21

7 years ago

1.2.20

7 years ago

1.2.19

7 years ago

1.2.18

7 years ago

1.2.17

7 years ago

1.2.16

7 years ago

1.2.15

7 years ago

1.2.14

7 years ago

1.2.13

7 years ago

1.2.12

7 years ago

1.2.11

7 years ago

1.2.10

7 years ago

1.2.9

7 years ago

1.2.8

7 years ago

1.2.7

7 years ago

1.2.6

7 years ago

1.2.5

7 years ago

1.2.4

7 years ago

1.2.3

7 years ago

1.2.2

7 years ago

1.2.1

7 years ago

1.1.45

7 years ago

1.1.44

7 years ago

1.1.43

7 years ago

1.2.0

7 years ago

1.1.42

7 years ago

1.1.41

7 years ago

1.1.40

7 years ago

1.1.39

7 years ago

1.1.38

7 years ago

1.1.37

7 years ago

1.1.36

7 years ago

1.1.35

7 years ago

1.1.34

7 years ago

1.1.33

7 years ago

1.1.32

7 years ago

1.1.31

7 years ago

1.1.30

7 years ago

1.1.29

7 years ago

1.1.28

7 years ago

1.1.27

7 years ago

1.1.26

7 years ago

1.1.25

7 years ago

1.1.24

7 years ago

1.1.23

7 years ago

1.1.22

7 years ago

1.1.21

7 years ago

1.1.20

7 years ago

1.1.19

7 years ago

1.1.18

7 years ago

1.1.17

7 years ago

1.1.16

7 years ago

1.1.15

7 years ago

1.1.14

7 years ago

1.1.13

7 years ago

1.1.12

7 years ago

1.1.11

7 years ago

1.1.10

7 years ago

1.1.9

7 years ago

1.1.8

7 years ago

1.1.7

7 years ago

1.1.6

7 years ago

1.1.5

7 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago