src/components/Elements/Autocomplete/Autocomplete.jsx
Prop nameTypeDefaultDescription
inputPropsobjectShape
src/components/Elements/Avatar/Avatar.jsx
src/components/Elements/Breadcrumb/Breadcrumb.jsx
Prop nameTypeDefaultDescription
childrennodeRequired
labelstring
maxItemsnumber5
separatorstring>

Collapsed Breadcrumb

src/components/Elements/Button/Button.jsx
Prop nameTypeDefaultDescription
colorstringprimary
isFlexboolfalse
isFullWidthboolfalse
isLoadingboolfalse
outlinedboolfalse
textAlignenumcenter
One of: center, left, right

It's just a button, relax.

Variants

           

Outlined variants

           

Sizes

  

  

  

     

loaders (and other icons)

        

        
src/components/Elements/Checkbox/Checkbox.jsx
Prop nameTypeDefaultDescription
labelstring
src/components/Elements/Dialog/Dialog.jsx
Prop nameTypeDefaultDescription
onRequestClosefuncRequired
childrenobjectnull
isOpenboolfalse
optionsarray[]
subtitlestring
titlestring

Optional CTA's in top right title portion.

Adding some prefix text before CTA options.

src/components/Elements/LinearProgress/LinearProgress.jsx
src/components/Elements/Menu/Menu.jsx
Prop nameTypeDefaultDescription
onClickfuncRequired
onRequestClosefuncRequired
anchorElementElementnull
closeOnClickbooltrue
disableScrollLockbooltrue
fillWidthOfAnchorboolfalse
itemsshape[][]
icon: string
label: node
value: string
maxItemsnumber0
menuItemStylesshapeShape
minWidthstringnull
selectedValuestringnull
sizeenummedium
One of: small, medium

By setting fillWidthOfAnchor, it matches the width of the passed in anchorElement;

Add some padding to menu items.

Menu items can also be a touch smaller with the size attribute. Combined with maxItems, it can simulate a dropdown or select box.

src/components/Elements/Notification/Notification.jsx
Prop nameTypeDefaultDescription
actionnodenull
closeTimingnull
customTimenumber3000
inlineboolfalse
isOpenboolfalse
messagestring
onRequestClosefuncFunction

Notification



src/components/Elements/Pagination/Pagination.jsx
Prop nameTypeDefaultDescription
countnumberRequired

The total number of pages.

boundaryCountnumber1

Number of always visible pages at the beginning and end.

classNamestring

Override or extend the styles applied to the component.

colorenumstandard

The active color.

One of: primary, secondary, standard
hideNextButtonboolfalse

If true, hide the next-page button.

hidePrevButtonboolfalse

If true, hide the previous-page button.

onChangefuncFunction

Callback fired when the page is changed. Signature: function(event: React.ChangeEvent, page: number) => void event: The event source of the callback. page: The page selected.

pagenumber1

The current page.

shapeenumcircular

The shape of the pagination items.

One of: circular, rounded
showFirstButtonboolfalse

If true, show the first-page button.

showLastButtonboolfalse

If true, show the last-page button.

siblingCountnumber1

Number of always visible pages before and after the current page.

sizeenummedium

The size of the component.

One of: small, medium, large
variantenumtext

The variant to use.

One of: outlined, text
src/components/Elements/Radio/Radio.jsx
Prop nameTypeDefaultDescription
labelstring
src/components/Elements/SuggestionsWrapper/SuggestionsWrapper.jsx
Prop nameTypeDefaultDescription
onSelectfuncRequired
optionsshape[]Required
label: string
value: string
addOptionPrefixstringAdd
freeSoloboolfalse
inputComponentobjectnull
inputComponentPropsobjectShape
listboxComponentelementTypeul
onAddOptionfuncFunction
onInputChangefuncFunction
selectedOptionshapenull
label: string
value: string
showAddOptionboolfalse

A wrapper for text inputs to provide autocomplete suggestions.

Created specifically for the Event selection input on Enwoven.

Use the updated text field.

Explore virtualization

src/components/Elements/Switch/Switch.jsx
Prop nameTypeDefaultDescription
labelstring
src/components/Elements/Tabs/Tabs.jsx
Prop nameTypeDefaultDescription
onChangefuncnull
optionsshape[][]
label: string
value: custom
orientationenumdefault
One of: default, vertical
valuenumbernull
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris porta lacus quis eros interdum, in feugiat tortor luctus. Ut congue felis enim, a consectetur sapien ullamcorper ac. Vivamus interdum dui vitae nisl posuere, vel tempor urna bibendum. Donec at ullamcorper mauris. Donec ornare sit amet turpis in malesuada. Sed egestas enim eu nunc congue, et aliquet ipsum vulputate. Cras purus turpis, ullamcorper ac porttitor et, semper sit amet ligula. Suspendisse in dui arcu. Praesent quis ligula non elit fringilla varius id quis odio. Integer quis dolor rutrum, placerat dolor nec, fermentum odio. Maecenas sagittis ornare egestas. Maecenas libero quam, feugiat non placerat ut, cursus eget elit.

Same as the first, vertical orientation:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris porta lacus quis eros interdum, in feugiat tortor luctus. Ut congue felis enim, a consectetur sapien ullamcorper ac. Vivamus interdum dui vitae nisl posuere, vel tempor urna bibendum. Donec at ullamcorper mauris. Donec ornare sit amet turpis in malesuada. Sed egestas enim eu nunc congue, et aliquet ipsum vulputate. Cras purus turpis, ullamcorper ac porttitor et, semper sit amet ligula. Suspendisse in dui arcu. Praesent quis ligula non elit fringilla varius id quis odio. Integer quis dolor rutrum, placerat dolor nec, fermentum odio. Maecenas sagittis ornare egestas. Maecenas libero quam, feugiat non placerat ut, cursus eget elit.

Tabs can also be controlled by specifying both value and onChange props.

              
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris porta lacus quis eros interdum, in feugiat tortor luctus. Ut congue felis enim, a consectetur sapien ullamcorper ac. Vivamus interdum dui vitae nisl posuere, vel tempor urna bibendum. Donec at ullamcorper mauris. Donec ornare sit amet turpis in malesuada. Sed egestas enim eu nunc congue, et aliquet ipsum vulputate. Cras purus turpis, ullamcorper ac porttitor et, semper sit amet ligula. Suspendisse in dui arcu. Praesent quis ligula non elit fringilla varius id quis odio. Integer quis dolor rutrum, placerat dolor nec, fermentum odio. Maecenas sagittis ornare egestas. Maecenas libero quam, feugiat non placerat ut, cursus eget elit.
src/components/Elements/TextInput/TextInput.jsx
Prop nameTypeDefaultDescription
classNamestring
isLoadingboolfalse
itemsshape[][]
label: node
value: string
showCheckboxesboolfalse

putting something here would help, thanks



No, I don't like this



I am loading, thanks



One

Select something.

TextInput as multi-select.

Two
src/components/Elements/Tooltip/Tooltip.jsx
Prop nameTypeDefaultDescription
titlestringRequired
src/components/Elements/TreeView/TreeView.jsx

Trees are nice, you should try them some time!

  • Your Collections
  • Favorites
  • Archive
src/components/Components/ActionBar/ActionBar.jsx
Prop nameTypeDefaultDescription
itemsshape[][]
icon: string
label: node
value: string
maxItemsnumber3
moreIconunionfa-ellipsis-h
One of type: string, object
moreTextstringMore
moreTextOnLeftboolfalse
onClickfuncFunction
textAlignenumcenter
One of: left, right, center
View
src/components/Components/DataTable/DataTable.jsx

A forever work in progress.

ID
First name
Age
1
Jon
35
2
Cersei
42
3
Jaime
45
4
Arya
16
5
Daenerys
6
This is a really long field
150
7
Ferrara
44
8
Rossini
36
9
Harvey
65
Total Rows: 9
src/components/Components/DateInput/DateInput.jsx
Prop nameTypeDefaultDescription
defaultAutoTextstring
defaultAutoValuestring
initialValuestring
onChangefuncFunction
textFieldPropsobjectShape

The same DateInput, except with clickable link for default value

... with label:

src/components/Components/Drawer/Drawer.jsx
Prop nameTypeDefaultDescription
isOpenboolRequired
onRequestClosefuncRequired

Check your Drawers. Currently:

  • This doesn't work inline. The Drawer wants to take over the entire window height.
  • this is despite placing it iniside an element with position: relative set.
src/components/Components/DropdownFilter.jsx
Prop nameTypeDefaultDescription
onChangefuncRequired
focusIconstringfa-search
initialIconstringfa-ellipsis-h
initialTitlestringMore options
optionsshape[][]
name: string
value: string
group: string
icon: node
src/components/Components/NavBar/NavBar.jsx
Prop nameTypeDefaultDescription
backgroundColorstringwhite
childrenobjectnull
compactOnScrollboolfalse
elevationnumber4
leftChildrenobjectnull
logoIconstring
logoImageUrlstring
logoNamestring
menuItemsshape[][]
icon: string
label: node
value: string
onClickLogofuncnull
onClickMenuItemfuncFunction
onClickNotificationsIconfuncnull
onClickSearchIconfuncnull
onScrollProps{}
positionenumfixed
One of: absolute, fixed, relative, static, sticky
profileImageUrlstring
profileNamestring
rightChildrenobjectnull
searchItemsshape[][]
icon: string
label: node
value: string
showBottomBorderboolfalse
showNotificationBadgeboolfalse
sizeenumdefault
One of: default, compact
transparentBackgroundfalse

Default, logged in

Jerry Sayaphet

Logo as Icon

Jerry Sayaphet

Compact

Enwoven

Jerry Sayaphet

Sticky

Customized

leftChildren and rightChildren props allow left and right side to have custom contents.

  

Background color option.

  

Cool beans

src/components/Components/RichTextInput/RichTextInput.jsx
Prop nameTypeDefaultDescription
allowClearTextbooltrue
allowLinkNewWindowboolfalse
allowMentionsboolfalse
buttonListenum[][ 'bold', 'italic', 'underline', 'hyperlink', 'headline', 'blockquote', 'unordered-list', 'ordered-list', ]
disabledboolfalse
errorboolfalse
heightunion100%
One of type: number, string
helpTextstring
initialValueunion

Changing initialValue will reset the state, useful for reuse

One of type: object, string
initialValueRawobjectnull
isLoadingboolfalse
labelstring
limitnumber0
mentionOnAddfuncFunction
mentionOnClickfuncnull
mentionSearchChangefuncFunction
mentionSuggestionsarray[]
onChangefuncFunction
onSavefuncFunction
placeholderstringClick here to enter text
statusTextstring
transparentboolfalse
widthunion100%
One of type: number, string

Label, HelpText, and Placeholder Text:

Here is some text
This is the help text

Size

... and some other stuff. The underlining and html tags are to test xss issues with input text parsing.

Thanks a lot!




underline me please, thanks
<u>hello there</u><script>alert('wat');</script>"
  • list one
  • list two

  • three
  • four

This is another paragraph. Thanks!
Thanks a lot!
  1. one
  2. two
  3. three

Space me out, thanks!

block this, yass.

and this two
one more for good luck

yeah.

ok

More Examples

Saving text:

Click here to enter text

Help me, I'm stuck

Circular progress spinner

Click here to enter text

Option to have links open in new window:

Markdown Example:

Markdown as provided as initialValue and rendered in text editor!!!!!
This is the help text

Transparent

Setting transparent will make the text input transparent with white text.

Transparent

Transparent

Transparent

Transparent

Transparent

Disabled

This text cannot be changed
You can include helpText

Error

Click here to enter text

You can include helpText

Raw input

Raw data input from the text editor itself can be provied to a new instance of the editor via initialValueRaw

Thanks a lot!




underline me please, thanks
<u>hello there</u><script>alert('wat');</script>"
  • list one
  • list two

  • three
  • four

This is another paragraph. Thanks!
Thanks a lot!
  1. one
  2. two
  3. three

Space me out, thanks!

block this, yass.

and this two
one more for good luck

yeah.

ok

Mentions

Click here to enter text
src/components/Components/Table/Table.jsx
Prop nameTypeDefaultDescription
columnsarray[]
labelstring
rowsarray[]
IDFirst nameAge
1Jon35
2Cersei42
3Jaime45
4Arya16
5Daenerys44
6This is a really long field150
7Ferrara44
8Rossini36
9Harvey65
src/components/Components/TagInput/TagInput.jsx
Prop nameTypeDefaultDescription
disabledboolfalse
isLoadingboolfalse
labelstring
onChangefuncFunction
onInputChangefuncFunction
optionsshape[][]
label: string
value: any
placeholderstringTag input...
preferInlineLabelboolfalse
tagsshape[][]
label: string
value: any
variantenumoutlined
One of: outlined, standard, filled

Tags

futzing that label

Another tag input, with inline label.

disabled states


src/components/Layouts/Grid/Grid.jsx
Prop nameTypeDefaultDescription
childrenany
forceColumnCountnumbernull

this is a grid, thank you.

Edit

0 views

Custom text block
Edit

0 views

Edit

0 views

Images and titles only

0 views

images only.

src/components/Layouts/GridItem/GridItem.jsx
Prop nameTypeDefaultDescription
actionBarPropsshapeShape
moreIcon: string
moreText: string
childrenanynull
colsnumber4
hasLayerboolfalse
iconstring
imageHrefstringnull
imageUrlstring
itemsshape[][]
icon: string
label: node
value: string
maxItemsnumber3
mediaChildrenanynull
mediaPropsobjectnull
onImageClickfuncFunction

Callback function when someone clicks on the grid item image.

onItemClickfuncFunction

Callback function when someone clicks on an item in the bottom of the grid item

onTitleClickfuncFunction
overlayTextstring
postFixanynull
selectedboolfalse
showActionBarbooltrue
showTitleTextbooltrue
titleTextstring
xsnumber12

What the cheese hole

Edit
Edit

postFix elements

postFix prop allows adding additional bits after each grid item.