Flex

left
center
right
import { Flex } from "rfui";

#Basic

left
center
right
<Flex class="gap-8">
  <div>left</div>
  <div>center</div>
  <div>right</div>
</Flex>

#Props

PropRequiredDefaultType and notes
children-
ComponentChild
...rest--
Omit<ComponentProps<"div">, "size">
See the docs for rest parameters. For Flex, you could pass anything you normally would pass to <div> because the return value looks something like this:
<div class={containerClass} {...restWithoutClass}>
  {children}
</div>