fractalsvelte mascot fractalsvelte fractalsvelte

Svelte 5 component · machines-ui · Frame

FrameBody

The content region inside a graph frame, with optional compact spacing for dense layouts.

Install

FrameBody is a Svelte 5 ASCII frame body component in @fractaldesign/machines-ui. It works in SvelteKit and in any Svelte 5 app.

pnpm add @fractaldesign/machines-ui

Import

import
import '@fractaldesign/machines-ui/style.css';
import { FrameBody } from '@fractaldesign/machines-ui';

Usage

Example
<Frame title="BODY">
  <FrameBody>
    <p>Row one</p>
    <p>Row two</p>
  </FrameBody>
</Frame>

Props

NameTypeDefault
class string ''
tight boolean Compact padding for dense graphs like Table and Invoice.false
children Snippet Content rendered inside the component.—

Snippets

NameTypeDefault
default unknown —