@dreamlake/viz
v0.33.9
Published
DreamLake visualization library
Keywords
Readme
@dreamlake/viz
Visualization components for multimodal data — file previews, episode timelines, and chart renderers.
Install
npm install @dreamlake/viz @dreamlake/uikit@^0.2.11Components
File Preview
- ImageView — Image display with zoom
- VideoView — Video playback
- AudioView — Audio waveform player
- JsonTreeView — Interactive JSON tree
- JsonlView — JSONL log viewer
- TableView — Tabular data display
- TextView — Plain text / code viewer
- KeyValueView — Key-value pair display
- FilePreview — Auto-detecting file preview (dispatches to the right view)
Episode Views
- EpisodeTimeline — Multi-track timeline with scrubber
- EpisodeVideoStack — Synchronized multi-camera video
- EpisodeLineChart — Time-series line chart
Utilities
- TimelineClock — Shared playback clock hook
- useActivateOnVisible — Intersection observer hook
Documentation
License
MIT
Bundlers and styles
The npm package ships ESM and TypeScript declarations. Import @dreamlake/viz/styles.css into a Tailwind v4 stylesheet and register node_modules/@dreamlake/viz/src as a Tailwind source so the component utilities are generated. React, React DOM and @dreamlake/uikit (^0.2.11) are peer dependencies. Parallel coordinates reuse UIKit’s focused /list selection and virtualization entry.
The workspace keeps source exports for local development; pnpm --filter @dreamlake/viz pack builds and rewrites the published entrypoints to dist. pnpm publish:viz publishes the prepared version.
