App UI kits › Dosette › Add a medicine

Add a medicine

Matches appear as you type; a medicine in an allergy group stops with a clear warning before it is added.

Add a medicine is a screen from Dosette, an app ui kit with 11 screens: A medicine reminder built like the pill box on the kitchen table, for older hands and eyes first. Price: $2 for the whole pack.

Built with: type-ahead, allergy stop, honest camera.

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.

Add a medicine props

PropTypeDefaultDescription
darkboolean
autoplayboolean
photosDzPhotos
largeboolean
allergiesstring[]Allergy groups to warn about.
onAdd(med: { name: string; times: string[]; withFood: boolean }) => void

Methods on the ref

Use it in React

import DosetteAdd from './DosetteAdd';

<DosetteAdd />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Dosette

Good for: Medication reminder app UI.