App UI kits › Sorrel › Dish
Size moves price, kcal and the protein, carbs and fat split together; the button always says what goes in the bag.
Dish is a screen from Sorrel, an app ui kit with 12 screens: A restaurant’s own ordering app where your ticket travels the kitchen pass. Price: $5 for the whole pack.
Built with: linked figures, macro split, allergen chips.
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 | SjPhotos | ||
dish | string | ||
onAdd | (id: string, size: string, qty: number) => void | ||
onCustomise | (id: string) => void |
size(s: 'Regular' | 'Large'): voidqty(n: number): voiddestroy(): voidimport SorrelDish from './SorrelDish';
<SorrelDish />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Restaurant ordering app UI, UK (pounds).