App UI kits › Halation › Curves
A tone curve drawn on the photo’s own histogram: drag or add points per channel, with contrast, fade and matte presets.
Curves is a screen from Halation, an app ui kit with 13 screens: A pro camera and film editor where the histogram, focus peaking and film looks are worked out from the real photo. Price: $5 for the whole pack.
Built with: monotone spline, per channel, presets.
Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.
| Prop | Type | Default | Description |
|---|---|---|---|
dark | boolean | ||
autoplay | boolean | ||
photos | LXPhotos | ||
shot | string | the shot to edit, from the kit's roll | |
onCancel | () => void | ||
onDone | (edit: LXParams & { rotate: number; aspect: string }) => void |
destroy(): voidimport HalationCurves from './HalationCurves';
<HalationCurves />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Camera app.