Pipeline
- Docsusage, props, keywords
- Demosrc/demo.tsx
- Buildshadcn add → vite
- Capturelight, dark, motion
- IndexBM25 + vectors
Public log. Prompts, raw model errors and costs stay on the admin side.
Log
Demo source
src/demo.tsx · from an earlier run
import { Button } from '@/components/ui/button'import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from '@/components/ui/card'import { Checkbox } from '@/components/ui/checkbox'import { Input } from '@/components/ui/input'import { Label } from '@/components/ui/label'import { CustomPricingCheckedControl, CustomPricingProvider, CustomPricingQuantityControl, CustomPricingTotalControl,} from '@/components/systaliko-ui/custom-pricing'export default function CustomPricingDemo() { return ( <CustomPricingProvider> <Card className='w-full max-w-sm'> <CardHeader> <CardTitle>Team plan</CardTitle> <CardDescription>Choose how many seats you need.</CardDescription> </CardHeader> <CardContent className='grid gap-4'> <CustomPricingQuantityControl id='seats' unitPrice={10} defaultValue={3} render={({ quantity, handleChange }) => ( <div className='grid gap-2'> <Label htmlFor='seats'>Seats ($10 each)</Label> <Input id='seats' type='number' min={1} value={quantity} onChange={(e) => handleChange([Number(e.target.value)])} /> </div> )} /> <CustomPricingCheckedControl id='priority-support' price={25} type='checkbox' render={({ checked, toggleChecked }) => ( <div className='flex items-center gap-2'> <Checkbox id='priority-support' checked={checked} onCheckedChange={() => toggleChecked('priority-support')} /> <Label htmlFor='priority-support'>Priority support (+$25)</Label> </div> )} /> <div className='flex items-center justify-between border-t pt-4'> <span className='text-muted-foreground text-sm'>Total per month</span> <CustomPricingTotalControl render={({ total }) => <span className='text-2xl font-semibold'>${total}</span>} /> </div> </CardContent> <CardFooter> <Button className='w-full'>Subscribe</Button> </CardFooter> </Card> </CustomPricingProvider> )}