ข้ามไปยังเนื้อหา

Clinic Yarrow

v1.0

A calm teal glass dental clinic app for iOS and Android: book a visit on one screen, see your smile score and tooth chart, keep records, bills and daily care.

$199

มีในตัว

สิ่งที่คุณได้รับ
  • สว่างและมืดใช้สีของธีมคุณ
  • โทรศัพท์และแท็บเล็ตหน้าจอที่สร้างมารองรับ
  • แพ็กเกจ…
  • ขนาดโค้ด…
  • ประหยัดแบตเตอรี่30 fps หยุดพักเมื่อนิ่ง
  • หยุดเมื่อซ่อนอยู่นอกหน้าจอหรืออยู่แท็บอื่น
  • ลดการเคลื่อนไหวสงบสำหรับผู้ที่ตั้งค่าไว้

ตรวจสอบทุกครั้งที่มีการเปลี่ยนแปลง

ตรวจสอบความปลอดภัย 3 ธ.ค.
  • ตรวจสอบไทป์TypeScript แบบ strict
  • Lint และฟอร์แมตESLint · Prettier
  • ทดสอบและบิลด์ภาพหน้าจอโหมดสว่างและมืด
  • ตรวจสอบความปลอดภัยไม่มีคำเตือนระดับสูงหรือวิกฤต
  • อายุแพ็กเกจทุกเวอร์ชันเผยแพร่มาแล้วอย่างน้อย 7 วัน
  • CPU ขณะว่างต่ำกว่าครึ่งคอร์ขณะพัก ≤ 30 fps

โค้ด

clinic-yarrowReact Native
  • README.mdHow to run it, change it and ship it.
  • app.config.tsThe app's name, ids and platform settings.
  • package.jsonThe app's packages: Expo, React Native.
  • package-lock.jsonThe exact package versions npm ci installs.
  • tsconfig.jsonTypeScript settings: strict, typed routes.
  • .npmrcnpm settings: exact versions, no install scripts.
  • .gitignoreWhat git leaves out: packages, builds, keys.
  • images.d.tsLets TypeScript import the photos in assets/photos (Metro turns each into an image source).
  • appThe screens, one file per route (Expo Router).
    • (tabs)The screens, one file per route (Expo Router).
      • _layout.tsxThe five places, with the tooth nav (components/tooth-nav.tsx): a floating glass pill at the bottom of a phone, an upright one at the side of a tablet.
      • home.tsxHome: the greeting, search, the next appointment, quick actions, the health score, today's care, popular treatments, your dentists, the family's other visits, bills to pay and the tip of the day.
      • profile.tsxProfile: your photo card with three numbers, then health (records, insurance, payments, bills), visits (history, a reminder switch), the family, support and settings, and Sign out behind a confirm.
      • records.tsxRecords: the latest X-ray up top, a search, kind chips and every record for the family, newest first.
      • smile.tsxMy smile: the dental health score in its ring with the three quick facts from the pin, then Overview (dentist's notes, what needs care, the report and daily care), Teeth (the tappable chart) and Progress (the weekly score).
      • visits.tsxVisits: Upcoming, Past and Cancelled on a gliding switch, chips for whose visits, and the list grouped by month.
    • billThe screens, one file per route (Expo Router).
      • [id].tsxA bill: the treatment, what your plan pays and what you pay, the card it goes on (Change picks another), and Pay.
    • bookedThe screens, one file per route (Expo Router).
      • [id].tsxBooked: the success screen after Confirm.
    • cardThe screens, one file per route (Expo Router).
      • [id].tsxA payment card, new ("new") or to edit: a live preview in teal, then the number (grouped as you type), name, expiry, CVC and a label.
    • chatThe screens, one file per route (Expo Router).
      • [id].tsxA chat: messages as bubbles (yours in teal on the right, theirs on glass on the left) and a capsule to write in.
    • dentistThe screens, one file per route (Expo Router).
      • [id].tsxA dentist: the photo on glass with name, title and three numbers, about, languages and school, the days they see patients, their clinic, the treatments they give and reviews.
    • guideThe screens, one file per route (Expo Router).
      • [id].tsxAn emergency guide: how urgent, the summary, numbered steps on an accent timeline, what to avoid, and the urgent line or a visit.
    • rateThe screens, one file per route (Expo Router).
      • [id].tsxRate a visit (a sheet-style modal): the dentist's photo, five big stars, tags to tap and a few words.
    • recordThe screens, one file per route (Expo Router).
      • [id].tsxA record: an X-ray shows its film with the teeth it is about in the accent; every record shows who it is for, by whom, the date, the summary and its teeth (tap one to open it).
    • reminderThe screens, one file per route (Expo Router).
      • [id].tsxA reminder, new ("new") or to edit: its name, type, time (round buttons step it by 15 minutes), the days it repeats and Save.
    • toothThe screens, one file per route (Expo Router).
      • [id].tsxA tooth: the chart with this tooth picked (tap another to move), its name and condition, the dentist's note and its history on an accent timeline.
    • treatmentThe screens, one file per route (Expo Router).
      • [id].tsxA treatment: its cut-out or photo on a glass halo, the price, time and cover, what it is, how it goes (an accent timeline), the price list, questions that open, who does it and what patients say.
    • visitThe screens, one file per route (Expo Router).
      • [id].tsxA visit: what, for whom, with whom, when and where on glass, then what fits its state.
    • _layout.tsxThe root: loads the heading font, waits for the kept Light / Dark pick, follows the theme and stacks the screens.
    • account.tsxPersonal details: your photo, then name, email, phone, date of birth and allergies.
    • bills.tsxBills: To pay (with the total due up top) or Paid, each bill a glass row with what you pay and when; tap to open and pay.
    • book.tsxBook appointment, as in the pin: what and for whom, the month calendar, the free times that day, the doctor with Change, a note, and Confirm.
    • care.tsxDaily care: today's habits to tick (each a glass row with its icon tile and a round check), the streak, the last two weeks as a grid of teal dots, a way to the reminders and tips with real photos.
    • dentists.tsxDentists: everyone at the clinics, All or Saved, filtered by what they focus on.
    • emergency.tsxDental emergency: a calm line, the urgent line to call, then a guide for each thing that can happen (those to act on now marked in the error red, the only red tiles in the app), and an urgent visit to book.
    • forgot.tsxForgot password, in three steps: the email (only an account on this phone gets a code), the 4-digit code (any four digits in the demo) and the new password.
    • help.tsxFAQ & support: search the questions, topic chips, answers that open in place, and the ways to reach the clinic (call, email, the front desk chat) with its hours.
    • index.tsxThe welcome, as in the pin: a glossy 3D tooth on a glass halo, then the two-line headline with its second line in teal, a line under it, the teal Get started capsule with its arrow and "Sign in".
    • insurance.tsxInsurance: the member card in teal (share the member ID), this year's maximum used, the deductible, what each kind of care is covered at, and the claims with their state.
    • messages.tsxMessages: one row per thread (a dentist's photo or the desk's tile), the last message and when.
    • notifications.tsxNotifications: New and Earlier, each with its icon tile, a teal dot while unread, and a remove button (with Undo).
    • payments.tsxPayment methods: each saved card as a small teal-glass card (the default one marked), tap to edit, make it the default, or remove it (confirm, then Undo).
    • reminders.tsxReminders: each one with its time, days and a switch; tap to edit, the plus to add.
    • report.tsxThe health report: the score ring, the five parts it is made of on meters, the 14-week trend and how to raise it.
    • search.tsxSearch: a field that searches as you type through treatments, dentists and help questions.
    • settings.tsxSettings: appearance (System, Light, Dark), which notifications come, Face ID and the password, your details, about, and Sign out behind a confirm.
    • sign-in.tsxSign in: email and password with errors under each field, the password's show / hide eye, a demo card that fills the form in, Forgot password and the way to sign up.
    • sign-up.tsxSign up: name, email and password with errors under each field.
    • treatments.tsxTreatments: every treatment the clinic gives, filtered by category chips and a search field.
  • componentsThe parts the screens are built from.
    • artThe drawings, as code: no image files.
      • tooth.tsxA drawn glass tooth with a four-point glint: the fallback in a photo slot whose file is missing, and the art of an empty state.
      • xray.tsxA drawn panoramic X-ray: both rows of teeth as pale shapes with roots on a deep teal film, the teeth a record is about glowing in the accent.
    • auth-frame.tsxThe frame of the account screens (sign in, sign up, reset): Back and the logo on top, a title and a line, then the form on glass.
    • backdrop.tsxThe ground behind the screens, as in the pin: a mint wash at the top, a warm peach bloom low on the right (by day), a cooler mint bloom on the left, flat and still.
    • bars.tsxA small bar chart for a run of values (the weekly health score): earlier bars in the quiet second color, the latest in teal with its value on top.
    • book-parts.tsxThe parts of the booking screen: the times free on a day (as in the pin, glass capsules with the picked one in teal), a summary row with Change, and the sheets that pick a treatment or a doctor.
    • build.tsxA part coming in (MOTION in constants/motion.ts): from its first frame it waits at its moment's pose (a block a little low and soft, a glint tiny, a sheet lower down), then moves to its place at its turn.
    • button.tsxA button: the main action as a teal glass capsule (with a round arrow chip at its end when it moves you on), a soft teal one, an outlined one, plain words or the danger one.
    • calendar.tsxA month on glass, as in the pin: the month with round arrows, the week days and the dates; the picked day sits in a teal disc, days with a visit carry a small teal dot, and days that can't be picked (past, closed) are faint.
    • cards.tsxThe cards the lists are made of: a treatment (its picture on a glass tile, the name, a line, the price and a round teal arrow, as in the pin), a dentist and a visit row with its date block.
    • controls.tsxThe controls: glass chips to filter, a segmented switch whose teal pill glides to the picked part, an on/off toggle and a radio dot.
    • empty.tsxWhat a list shows when it has nothing: the drawn glass tooth, a line that says why and, when there's a way forward, a button.
    • field.tsxA labelled text field with one designed focus state on every platform: the border takes the brand color (same width, so nothing shifts), an error line under it in the error color, an optional icon, and a show / hide eye on passwords.
    • glass.tsxA frosted glass panel, the app's card: a soft blur of the backdrop behind a milky tint, a bright rim and a wide shadow in the ground's hue.
    • glint.tsxThe success mark: a teal disc with a check, a soft halo and three four-point glints that pop in one after another around it (booked, paid, a care day complete).
    • hero-cut.tsxA 3D cut-out (a glossy tooth, veneers, an implant) standing on a round glass halo with a thin orbit ring and a few glints, as in the pin's hero.
    • home-more.tsxHome's other blocks: today's care, the family's other visits, the bills waiting and the tip of the day.
    • home-parts.tsxHome's blocks, as in the pin: the greeting with the bell and your photo, the search capsule, the next appointment on a teal glass card with the glossy tooth, the four quick actions, the health score ring and today's care.
    • icon.tsxLine icons on a 24-point grid, drawn for Yarrow so the app needs no icon font: the tooth, the brush, floss, aligners, an X-ray film and the rest.
    • logo.tsxThe Yarrow mark: a rounded tooth with a four-point glint at its shoulder, white glass on a teal tile, with the name beside it.
    • photo.tsxA photo that fills its box and keeps its subject in view: the box is measured and the picture placed by its focus point (like CSS object-position), clipped to the box.
    • pressable-scale.tsxA Pressable that shrinks a little under the finger and springs back.
    • round-button.tsxA round icon button on glass (or the teal, or the soft teal): Back, the bell, call, more.
    • rows.tsxThe small shared parts of every list: a section heading with "See all", the teal icon tile, a settings-style row, a status pill, a round avatar, the star line and a meter.
    • score-ring.tsxThe dental health score as a ring: a soft teal track and the teal arc, with the number in the middle.
    • screen.tsxEvery screen's frame: the theme's ground with the mint-and-peach backdrop behind it and the safe-area insets, so nothing sits under the notch or the home indicator.
    • sheet.tsxA bottom sheet over a dimmed screen (a centered card on a tablet): it rises softly as it opens.
    • toast.tsxThe note after an action, rising above the nav at the bottom as a dark glass capsule, with an Undo when the action can be taken back.
    • tooth-chart.tsxThe tooth chart: both arches drawn from above on a soft glass gum, each tooth a rounded crown sized by its kind (molars wide, incisors narrow) and colored by what it has: healthy white, filled and crowned in teal steps, "watch" ringed in teal, "needs care" in the error red, a removed tooth only dashed.
    • tooth-nav.tsxThe app's navigation: a slim floating glass pill (64pt) with five even tabs (Home, Visits, Smile, Records, Profile).
    • top-bar.tsxThe bar at the top of a pushed screen: Back, the centered title and an optional action on the right.
    • words.tsxEvery line of text in the app: a size from the type scale (headings in the brand's font) and a tone from the theme, so a screen never sets colors or sizes by hand.
  • constantsColors, sizes, motion and the brand defaults.
    • color.tsSmall color math for the shades that follow the brand colors: mixing, see-through, real WCAG contrast, the text that reads on a fill, and the grounds mixed from the Brand setting Tint.
    • motion.tsMotion settings shared by every animation: Yarrow's "clean sparkle".
    • theme.tsThe app's colors, the brand defaults and the sizes every screen shares.
  • hooksState and theme hooks.
    • share.tsHands words to the phone's share sheet (a record, a visit's details); a browser without one shows the note instead.
    • store.tsA tiny store for the app's state: one value, changed with `update`, and read in components with useStore, which redraws them when it changes.
    • use-account.tsThe account: who is signed in, the accounts made on this phone (kept on the device, each with its own details) and whether they signed out, which guards the signed-in screens (app/_layout.tsx).
    • use-appearance.tsThe look picked in Settings: System (the phone's light or dark setting), Light or Dark.
    • use-bills.tsBills and cards, kept on the device: paying a bill, the saved cards (added, changed, made default, removed with Undo).
    • use-booking.tsThe visit being booked: what, with whom, for whom, the day and the time.
    • use-brand.tsThe brand settings: the values in constants/theme.ts.
    • use-care.tsDaily care, kept on the device: today's ticked habits, the reminders (added, changed, switched off, deleted with Undo) and the streak, which counts the days in a row every habit was done.
    • use-chats.tsMessages with the clinic, kept on the device.
    • use-count-up.tsA number (a price, the health score, a balance due) that shows its value at once when the screen opens, and only when the value really changes (a treatment picked, a bill paid, a care step ticked) rolls from the old value to the new one, easing out over FILL.
    • use-icons.tsHow the line icons are drawn (ICON in constants/theme.ts).
    • use-layout.tsPhone or tablet layout, from the window's width (not the device), so an iPad in Split View or a small Android tablet gets the layout that fits.
    • use-leave.tsA soft hand-off between screens that replace each other (Get started → sign in, sign in → Home, Sign out → sign in): the screen lifts away like a pane of glass, then the next one comes in.
    • use-motion.tsThe app's moments (MOTION in constants/motion.ts): how parts come in and answer a press.
    • use-moves.tsThe app's animations (movesOf in constants/motion.ts), built from its moments (hooks/use-motion.ts).
    • use-notices.tsThe notifications, kept on the device: read when opened, all read at once, or cleared with Undo.
    • use-prefs.tsSmall choices kept on the device: which notifications come, the saved dentists and the recent searches.
    • use-scheme.tsDark or light: the pick in Settings (hooks/use-appearance.ts), or with System, the phone's appearance setting (app.config.ts sets userInterfaceStyle "automatic"); on the web, the browser's setting.
    • use-slide.tsA position that glides to each new target, except the first one it is measured at: there it starts in place, so the nav's tooth and the pill under a segment don't slide in from the edge when a screen opens.
    • use-still.tsWhether the app's own loops and plays stay still: the phone's "Reduce motion" is on, or MOTION.reduce is Always (constants/motion.ts).
    • use-theme.tsThe palette of the theme in use and the styles that depend on it and on the brand, built once per brand and theme and shared by every part.
    • use-toast.tsA short note at the bottom after an action ("Reminder saved", "Visit cancelled · Undo"), with an optional Undo.
    • use-visits.tsThe family's visits, kept on the device: booked from the booking flow, moved, cancelled (with Undo) and rated.
  • dataEvery word and product the app shows.
    • care.tsDaily care: the habits ticked off each day, the reminders that start filled in, the last two weeks of done habits and the tips of the day.
    • chats.tsMessages with the clinic: one thread per person or desk, each with its last few messages, dated back from now.
    • copy-account.tsThe words of the account screens: Profile, settings, editing your details, insurance, bills and payment cards, notifications, messages, help and emergency care.
    • copy-smile.tsThe words of the smile and records screens: the Smile tab, a tooth, the health report, daily care and reminders, the Records tab and a record.
    • copy-visits.tsThe words of the visit screens: the Visits tab, a visit, booking and its success screen, rating, treatments, dentists and search.
    • copy.tsEvery word the app shows that isn't data: the brand, the shared words, the tabs, the first-run slides, the account screens and Home.
    • dentists.tsThe clinic's dentists and their two clinics: who they are, what they treat, the weekdays they see patients (0 Sunday to 6 Saturday) and where.
    • format.tsHow money, dates and times read across the app, through the phone's own Intl, and the dates seeded data is placed at: counted from the first open, so the demo starts current; what is kept on the device then ages like real data (a visit whose time passed reads as done).
    • guides.tsEmergency first-aid guides: what to do right now for each dental emergency, and when to call.
    • help.tsHelp: the questions people ask most, by topic, and the ways to reach the front desk.
    • money.tsThe money side: the dental plan and what it covers, its claims, the bills from each visit and the saved cards.
    • notices.tsThe notifications: visit reminders, results, bills, claims, care nudges and clinic news, dated back from now, the newest unread.
    • photos.tsEvery photo the app shows, with words for screen readers, its shape (width / height) and the point to keep in view when a frame crops it (0-1 across and down).
    • records.tsThe family's dental records: X-rays, prescriptions, visit notes, treatment plans and signed forms, each dated back from today.
    • reviews.tsWhat patients wrote after their visits: 90 reviews spread over the dentists and their treatments, dated back from today.
    • teeth.tsYour mouth as your dentist last charted it: all 32 teeth (Universal numbers, 1 upper right back to 32 lower right back), what each one has, its history, the health score over the last 14 weeks and what it is made of.
    • treat-cosmetic.tsCosmetic care: whitening, veneers, bonding and smile design.
    • treat-general.tsGeneral care: check-ups, cleaning, fillings, root canals, gum care and the emergency visit.
    • treat-kids.tsKids' care: first visits, sealants and fluoride.
    • treat-ortho.tsOrthodontics (braces, aligners, retainers) and surgery (implants, crowns, bridges, dentures, wisdom teeth).
    • treatments.tsThe clinic's treatments: what each is, its price range in cents, how long a visit takes, how many visits it needs, how much a usual plan covers, the steps, the price list and questions people ask.
    • user.tsThe signed-in patient, the family on the same account and the demo sign-in that always works.
    • visits.tsThe family's visits: five coming up, a year and a half of done visits and a few cancelled ones, each dated from today (data/format.ts).
  • pluginsBuild settings Expo has no option for.
    • night-window.tsAndroid's window color (behind the screens) for a phone in dark mode.
  • assetsThe photos the screens show.
    • photosThe photos the screens show.
      • care-brushes.jpgA photo the app shows.
      • care-kit.jpgA photo the app shows.
      • care-paste.jpgA photo the app shows.
      • clinic-garden.jpgA photo the app shows.
      • clinic-harbour.jpgA photo the app shows.
      • clinic-room.jpgA photo the app shows.
      • cut-denture.pngA photo the app shows.
      • cut-implant.pngA photo the app shows.
      • cut-veneers.pngA photo the app shows.
      • dr-castillo.jpgA photo the app shows.
      • dr-haddad.jpgA photo the app shows.
      • dr-lindqvist.jpgA photo the app shows.
      • dr-moreno.jpgA photo the app shows.
      • dr-nakamura.jpgA photo the app shows.
      • dr-okafor.jpgA photo the app shows.
      • dr-patel.jpgA photo the app shows.
      • dr-reyes.jpgA photo the app shows.
      • hero-tooth.pngA photo the app shows.
      • me.jpgA photo the app shows.
      • t-aligners.jpgA photo the app shows.
      • t-bonding.jpgA photo the app shows.
      • t-braces.jpgA photo the app shows.
      • t-bridge.jpgA photo the app shows.
      • t-checkup.jpgA photo the app shows.
      • t-clean.jpgA photo the app shows.
      • t-consult.jpgA photo the app shows.
      • t-crown.jpgA photo the app shows.
      • t-filling.jpgA photo the app shows.
      • t-fluoride.jpgA photo the app shows.
      • t-guard.jpgA photo the app shows.
      • t-gum.jpgA photo the app shows.
      • t-implant.jpgA photo the app shows.
      • t-kids.jpgA photo the app shows.
      • t-retainer.jpgA photo the app shows.
      • t-root.jpgA photo the app shows.
      • t-sealant.jpgA photo the app shows.
      • t-smile.jpgA photo the app shows.
      • t-veneers.jpgA photo the app shows.
      • t-whitening-chair.jpgA photo the app shows.
      • t-whitening.jpgA photo the app shows.
      • t-wisdom.jpgA photo the app shows.

README.md

How to run it, change it and ship it.

กำลังโหลด…
เหมาะสำหรับ
Dental clinics and family practices that want a bright, complete patient app with booking, records and care to rebrand and ship.
ทำงานอย่างไร
Book a visit for anyone at home, check your smile score and tooth chart, open X-rays and notes, pay bills and tick off daily care.
วิธีใช้
Run it in Expo Go, change the words in data/copy*.ts, the treatments, dentists and records in data/, the colors in constants/theme.ts, then build with EAS.