Creating a vertical divider

I am creating a custom table using rows and columns. I have been user the divider element to separate rows, but there doesn’t seem to be an equivalent vertical divider.

I started by making a copy the horizontal divider class and modifying it to make it vertical, but it seems to depend on some panel internals, and I’m not sure how to make the class as an element outside of the panel library itself.

Is there a workaround for creating a vertical divider?


I have made some progress:

 pn.layout.Divider(stylesheets=["hr{height: 100vh;background-color:grey;}"])

but setting height to 100% results in no line, rather than a line that fills the container. 100vh is too big.