pib-components-dx-base 0.0.0-upstream-snapshot.2026-09-19.1

temporary fork for Politik im Blick - Dioxus components
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
The AspectRatio component is used to maintain a specific aspect ratio for its children. This is particularly useful for responsive designs where you want to ensure that an element retains its proportions regardless of the screen size.

## Component Structure

```rust
AspectRatio {
    // The aspect ratio to maintain (width / height)
    ratio: 4. / 3.,
    // The children of the AspectRatio component will be rendered within it.
    {children}
}
```