FrameBody
The content region inside a graph frame, with optional compact spacing for dense layouts.
Install
pnpm add @fractaldesign/machines-ui import '@fractaldesign/machines-ui/style.css';
import { FrameBody } from '@fractaldesign/machines-ui';Preview
Row one
Row two
Row three
<Frame title="BODY">
<FrameBody>
<p>Row one</p>
<p>Row two</p>
</FrameBody>
</Frame>Row one
Row two
Row three
<FrameBody tight>…</FrameBody>Props
| Prop | Type | Default | Description |
|---|---|---|---|
| class | string | '' | |
| tight | boolean | false | Compact padding for dense graphs like Table and Invoice. |
API
- snippet children Content rendered inside the component.
- class forwarded to the outer element
Related
Used by
- Agni
- Aum
- Boot
- Cron
- Damru
- Deps
- Diya
- Fire
- Flame
- FlowPlayer
- Ganga
- Hash
- Japa
- Life
- Mandala
- Mandel
- Pulse
- Rain
- Scatter
- Scope
- Sequence
- Spinners
- State
- Stream
- Surya
- Terminal
- Ticker
- Typewriter
- Workflow
- Activity
- Bars
- Bullet
- Calendar
- Cells
- Compare
- Countdown
- Diff
- Flow
- Funnel
- Gantt
- Heatmap
- Invoice
- Kpi
- Latency
- Meter
- Plot
- Quota
- Rank
- Slo
- Slope
- Spark
- Spec
- Stack
- Stat
- Table
- Timeline
- Timer
- Tree
- Uptime
- Waffle
- Waterfall
src/lib/components/frame/FrameBody.svelte