# Beste UI

> Beautiful, accessible blocks, pieces and components for shadcn/ui and Tailwind CSS, built for React and Next.js. Install one with the shadcn CLI and the code is yours to edit: no runtime dependency, nothing to upgrade.

Markdown rendition of https://ui.beste.co/piece/health9. Every page on the site has one: add `.md` to any address, or send `Accept: text/markdown`.

Whole catalog for LLMs: https://ui.beste.co/llms.txt. Registry index: https://ui.beste.co/r/registry.json

---
1. /
2. [Pieces](/pieces)
3. /
4. [Health](/pieces/health)
5. /
6. Meal Macros

# Meal Macros

Meal log pairing kcal with a three-segment macro bar for carbs, protein, and fat grams.

Lunch · Grilled chicken bowl620 kcal · 124 g total

Carbs68 g

Protein34 g

Fat22 g

CLICode

Base UI

![](https://oud.pics/sm/l/npm.svg)`npx shadcn add https://ui.beste.co/piece/r-base/health9`

New here? Read the [installation guide](/docs/installation).

Import & useCopy

```
import { Health9 } from "@/components/beste/piece/health9";

<Health9
  meal="Lunch · Grilled chicken bowl"
  kcal={620}
  macros={[
    {
      "label": "Carbs",
      "grams": 68,
      "class": "bg-sky-500",
      "text": "text-sky-500"
    },
    {
      "label": "Protein",
      "grams": 34,
      "class": "bg-emerald-500",
      "text": "text-emerald-500"
    },
    {
      "label": "Fat",
      "grams": 22,
      "class": "bg-amber-500",
      "text": "text-amber-500"
    }
  ]}
/>
```

## More Health pieces

[View all Health](/pieces/health)

[](/piece/health11)

Meal plan · This week

MonOatsBowlSalmon

TueYogurtWrapChili

WedSmoothieSaladStir-fry

ThuEggsSoupPasta

### Meal Plan

Week-at-a-glance meal plan with breakfast, lunch, and dinner columns and today highlighted in primary.

[](/piece/health27)

Blood glucose · fasting

102mg/dL

Mon96

Tue104post-pasta

Wed92

Thu88

Fri102

### Glucose Log

Daily fasting-glucose readings with a latest value in the header and optional context tags per row.

[](/piece/health13)

Miso salmon with greens

25 min·520 kcal

Easy

DinnerHigh-proteinGluten-free

### Recipe Card

Recipe summary row with a warm chef tile, cook time, kcal, difficulty pill, and a dietary-tag row.

[](/piece/health3)

Back squat5 × 5 · 80 kg

1:30

Set 4 of 5 · Keep going

### Workout Set

Lift tracker with an exercise header, set progress bar segments, and a rest-timer chip on the right.

[](/piece/health12)

Nutrition factsAbout 2 servingsServing size 1 cup (240 g)

Amount per servingCalories

280

% Daily value

Total fat 10 g13%

Saturated fat 2 g10%

Sodium 420 mg18%

Total carbs 34 g12%

Sugars 6 g

Protein 16 g

### Nutrition Label

FDA-style nutrition panel with a thick rule under calories and indented sub-nutrient rows.

[](/piece/health7)

Sleep7h 41m

Score 86

Awake0h 18m

Light4h 0m

Deep1h 35m

REM1h 48m

### Sleep Summary

Overnight sleep card with a score pill, stacked stage bar, and a four-column stage breakdown.

## Ship the interface, keep the code.

New blocks, pieces and components every week. Install one with a command and it is yours to edit. No runtime dependency, no upgrade path to fight.

[Browse the libraryBrowse the library](/blocks)[See pricingSee pricing](/pricing)

### Library

* [Blocks](/blocks)
* [Pages](/pages)
* [Pieces](/pieces)
* [Components](/components)
* [Search](/search)

### Learn

* [Docs](/docs)
* [AI & MCP](/docs/mcp)
* [Blog](/blog)
* [Free tools](/tools)
* [What's new?](/changelog)
* [Website Builder](https://beste.co)

### More

* [Pricing](/pricing)
* [Referrals](/referrals)
* [License](/license)
* [GitHub](https://github.com/beste-co/beste-ui)

### Shadcn Blocks

* [Shadcn Hero Blocks](/blocks/hero)
* [Shadcn Feature Blocks](/blocks/feature)
* [Shadcn Pricing Blocks](/blocks/pricing)
* [Shadcn CTA Blocks](/blocks/cta)
* [Shadcn FAQ Blocks](/blocks/faq)
* [Shadcn About Blocks](/blocks/about)
* [Shadcn Stats Blocks](/blocks/stats)
* [Shadcn Footer Blocks](/blocks/footer)
* [Shadcn Navigation Blocks](/blocks/navigation)
* [Shadcn Auth Blocks](/blocks/auth)
* [Shadcn Ecommerce Blocks](/blocks/ecommerce)
* [Shadcn Portfolio Blocks](/blocks/portfolio)
* [Shadcn Showcase Blocks](/blocks/showcase)
* [Shadcn Careers Blocks](/blocks/careers)
* [Shadcn Onboarding Blocks](/blocks/onboarding)
* [Shadcn Coming Soon Blocks](/blocks/coming-soon)
* [Shadcn Post Blocks](/blocks/post)
* [Shadcn Legal Blocks](/blocks/legal)
* [Shadcn Workflow Blocks](/blocks/workflow)
* [Shadcn News Blocks](/blocks/news)

© 2026, [Beste](https://beste.co). All rights reserved.