Example
```python
import streamlit as st
import streamlit.components.v1 as components
bootstrap 4 collapse example
components.html(
    """
    
            Collapsible Group Item #1
            
            Collapsible Group Item #1 content
          
            Collapsible Group Item #2
            
            Collapsible Group Item #2 content
          
    """,
    height=600,
)
```
Render an iframe URL
components.iframe is similar in features to components.html, with the difference being that components.iframe takes a URL as its input. This is used for situations where you want to include an entire page within a Streamlit app.
Example
```python
import streamlit as st
import streamlit.components.v1 as components
embed streamlit docs in a streamlit app
components.iframe("https://docs.streamlit.io/en/latest")
