Welcome to the new Box Support website. Check out all the details here on what’s changed.

Comments

3 comments

  • Kourtney

    Hello Alvin, 

    Customization of this nature would require using our UI element instead of a WebApp generated embed widget. 

    You can find more info: https://developer.box.com/guides/embed/ui-elements/preview/

    Here's an example on a content preview: https://codepen.io/box-platform/pen/OeavRB

    Best, 

    Kourtney - Box Technical Support Engineer

    0
    Comment actions Permalink
  • Alvin S. Chacko

    The UI preview docs is really confusing. It says here that `The content Content Preview element is currently not available via NPM.` Im trying to achieve this is react how else can I do it. I do see a demo for content preview but looks like there is a lot of setup required for that. i wish there was a tutorial or proper docs to setup content preview and use in something like npm

    0
    Comment actions Permalink
  • Alvin S. Chacko

    I was following this but some dependency doesnt match and it throws an error saying not valid import in the box-ui-elements module which I dont know how to resolve

    https://github.com/box/box-content-preview-demo

    0
    Comment actions Permalink

Please sign in to leave a comment.