# Details
## Examples
### Default
```html
Click to expand details
This is the content inside the details component. It can contain any HTML content.
```
### Box
```html
Click to expand details
This is the content inside the details component. It can contain any HTML content.
```
### Open
```html
This details is open by default
This content is visible because the details component is open.
You can still toggle it by clicking the summary.
```
### CaretPosition
```html
The caret is at the start and closed
The caret is at the start and open
The caret is at the end and closed
The caret is at the end and open
```
### HoverState
```html
CaretPosition.render()
```
### FocusVisibleState
```html
CaretPosition.render()
```