App UI kits › Portion › Insights
Patterns written as sentences from the same numbers the charts draw; switch the period and bars morph while every sentence rewrites.
Insights is a screen from Portion, an app ui kit with 11 screens: A calorie tracker where you resize the food on your real plate. Price: $5 for the whole pack.
Built with: generated sentences, spoken charts, period morph.
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 | ||
onPeriod | (p: 'now' | 'before') => void |
period(p: 'now' | 'before'): voiddestroy(): voidimport PortionInsights from './PortionInsights';
<PortionInsights />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Calorie tracker app UI.