How to make directory file system listing? - reactjs

So, I am trying to make a left panel for listing parent-child directory system in to react project. I am looking for a reference or package if available to start with.
I have a rudimentary approach for this using margin-left for the children. But, hoping there would a far better way to do it.
Following is the mock for left panel:
Using react with react-bootstrap

Have you had a look at NPM?
One of the libraries that comes to mind is this: https://www.npmjs.com/package/react-simple-tree-menu

I used the material's tree component(although I am using react-bootstrap but WTH)
Credit to following user answer:
How to change the collapse/expand icon to right side of TreeView of material?
Following is the codesandbox: https://codesandbox.io/s/muddy-pine-dyy7j
Cheers

Related

Drag-and-drop React UI builder?

I want to build my own web-based version of MS Paint using React. I have the basic javascript canvas code written and now I want to make a nice gui with a menu bar across the top, and a section on the left to select which tool to use, etc.
Can anyone recommend a drag-and-drop software with pre-made components like button, menu bar etc, to make it easy for me to make a professional-looking user interface? Alternatively, some tips on what my workflow should be like would be much appreciated.
Yes you can use BulderX It will give you the option to create UI by drag and drop and it will generate the code automatically.
A few projects listed on Reddit
webiny-js
blocks-ui
openchakra.app
pagedraw.io
craft.js
Using webiny myself at the moment.

Which Carousel Library is best for achieving the following effect (react)?

[1]: https://i.stack.imgur.com/AqE6r.png**strong text**
Does anyone know which carousel library is best for achieving this effect, with the previous and next pictures overflowing onto the screen as shown in the linked picture? Bootstrap 5.1 and react-bootstrap seem incapable of this.
You can do it easily with this library.
https://swiperjs.com/
Swiper Demos (Examples)
https://swiperjs.com/demos#slides-per-view
https://swiperjs.com/demos/110-slides-per-view/core
For the installation on react the documentation is quite good
https://swiperjs.com/react
You can configure the number of slides you want to see on your screen... In your case, it's 3 slides per view.
For the rest you just adapt with the CSS to get the view you want.

React list component (like filemanager)

Help me, please. Which is a good open-source React component for creation list with sorting and folders similar to filemanager?
Like on this screenshot:
https://prnt.sc/yj5rj2
Or maybe, it is easier to write own component? Many datagrid components are too tricky.
You can try Material UI Tree View: https://material-ui.com/components/tree-view/. Take a look at the Gmail clone sample.

Can custom icons be used with Blueprintjs components?

I'm considering using Blueprintjs in an application.
Is it possible to use custom SVG icons in the button, menu and navbar components? All the examples I've seen use the built-in icon set.
The app I'm developing would rely heavily on custom icons so being restricted to the built-in set wouldn't work.
Seems like it would be an obvious thing to be able to do, so I presume I'm just not finding the samples. If anyone could point me to some, I'd appreciate it.
Custom icons are currently unsupported in the core components. You should follow this issue for future updates that might enable support for this kind of use case: https://github.com/palantir/blueprint/issues/365

React-native transform view to fullscreen

I'm trying to do this animation (the pesto bruschetta)
I have a listView with a couple of cards with a specific width/height. and I need to make one fullScreen with additionnal information when I click on it (so with the onPress).
I'm using : react-native: 0.30.0 and react-native-router-flux: 3.33.0 for the routing between Scene/Activity
Anyone whould have an idea of how to do the fullscreen transformation?
Specifically to react-native-router-flux or not. I have tried using LayoutAnimation from react-native, but nothing was working (and the only exmaple i found online wasn't compiling)
read code for react-native-lightbox.

Resources