shadcn.io is not affiliated with official shadcn/ui
Veterinarian Services by Species Profile Block for React
A vet profile as a species-by-service matrix: a group of five species, a table of ten services marked Offered or Not offered with the words and an icon and a price from, and figures for the count, the cheapest service and the emergency hours.
Installation
Overview
Let a pet owner see at a glance what a clinic does for their animal, with this veterinarian profile for React with Base UI. A compact header holds the title and one sentence, and the hairline frame under it opens on the vet: initials, name, role and clinic. A strip of cells on shared hairlines shows three figures that follow the choice: how many of the ten services are offered for the species ("7 of 10"), the cheapest service, and the emergency line, whose hours are typed and whose first line says when it opens today. A single-choice Toggle Group of five species chips sits above a native Table of the same ten services for every species: each is marked Offered or Not offered with an icon and the words, never colour alone, and the price from is at the end. A polite line says what each pick came to. On a phone the species chips scroll sideways and the price folds under the service name. It's built from Toggle Group, Table, Status, Avatar and Guides, with a CSS entrance only. It is a sample clinic: the services, prices and hours are invented. For a vet-clinic site, a pet-care directory or any profile that offers different things to different groups.
FAQ
How do I fill it with my own services?
Edit SERVICES and SPECIES. Each service has a name and a prices map from a species to the price from; a species that is missing from the map is not offered the service, so the Offered words, the count and the cheapest price are all worked out from it. NIGHTS holds the emergency line's hours on weekdays, weekends are all day, and AS_OF is the day the page treats as today, so the first line of the emergency cell is worked out from its weekday and never from the clock.
Why are the same ten rows shown for every species?
So the table never changes height and a visitor can compare: a service that a species is not offered stays in its row, quietly, with a dash and the words Not offered. Picking another species only changes the words, the prices and the three figures above, never the layout. A row that is not offered has no price, and its price cell reads No price to a screen reader.
Is anything booked or checked?
No. Picking a species only changes what the page shows, and the polite status line says what it came to, such as Rabbits: 7 of 10 services. The clinic, the vet, the prices and the hours are invented. To make it real, load the services from your own price list, and link the emergency cell to a number your staff answer.
How do I use the species group with a keyboard?
The group is one tab stop. Arrow keys move between the species and choose as they go, Home and End jump to the first and last, and the chosen species is always one of the five, so the table is never left without an answer. In a right-to-left layout the arrow keys follow the reading direction.
Is the table accessible?
It is a native table with a hidden caption, column heads, and the service as each row's header, wrapped in a labelled region that scrolls if it must. Offered is a check and the word, Not offered is a dash and the words, and a price is read as a figure with a dollar sign. In a right-to-left layout the prices keep their order. The emergency dot is decorative: the hours are written out.
How does it look on a phone?
The three figures sit two over one, the species chips scroll sideways with the next chip peeking, and the table drops its price column: each service's price from is written under its name instead. Every species has the same ten rows, so the page keeps its height when you switch.
Related
- Pro
Doctor Insurance Plan Check Profile
Credentials and proofA doctor profile that answers does she take my plan: three board certifications as badges, a combobox over fourteen insurance plans and a result card saying in network, out of network or not accepted with the copay, referral and hospitals.
- Pro
Pharmacist Licence Wallet Profile
Credentials and proofA pharmacist profile as a licence wallet: a menu of the three states where she is licensed, a card with the number masked behind Show number and a copy button, issue and expiry dates, a status word and a bar of the days to go.
- Pro
Personal Trainer Weekly Programme Profile
Schedules and bookingA personal trainer profile as this week's programme: seven day tabs that say where each day stands, exercises with sets, reps and load and a Done checkbox on each, a week bar and a count worked out from the ticks.
- Pro
Sortable Members Table
Sort and searchA members table whose column heads are buttons: press one to sort, again to reverse, a third time for the original order, with aria-sort on the active head, ties settled by name and a spoken line for each result.
- Pro
Symptom Triage Contact
Visits and servicesA visit request for a family clinic that opens on body-area toggles, shows an emergency notice in reserved space when chest is chosen, and takes an insurer you can type or pick.
- Pro
Electrician Services Estimate Profile
Quotes and servicesAn electrician profile as a flat-rate job estimate: a menu of services in three category tabs with an Add toggle each, and a start cell that works out the subtotal, call-out fee, an emergency surcharge switch, the total and the time on site.