# ROMUIFlex

Compose resizable panels using a host-owned controller.

## Public import

```svelte
<script lang="ts">
  import { ROMUIFlex } from "rom-ui/flex";
  import "rom-studio/styles";
</script>
```

## Composition and responsibility

The host supplies data, callbacks and application policy. The component does not provide persistence or authorization.

Public names: `ROMUIFlex`, `FlexView`.

## Declared props

This declaration comes from the installed package. Imported types retain their upstream meaning.

```ts
type Props = {
    children: Snippet;
    label?: string;
    native?: boolean;
    duration?: number;
    class?: string;
  };
```

## Source and version

ROM UI **0.1.0-alpha.7**. [Component source](https://github.com/pmikstacki/rom-ui/blob/v0.1.0-alpha.7/src/lib/flex/ROMUIFlex.svelte).

See [the composition guide](/docs/studio-compositions/) for host integration boundaries.
