# Ecommerce Pricing Transparency: Input Cost Index

Four stat cards hold each raw input cost with its current rate, twelve month movement, and a trend sparkline, above the pass through rule line.

- Page: https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/pricing-transparency-sections/input-cost-index
- Collection: [Ecommerce](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro), Standard tier
- Group: [Pricing Transparency](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/pricing-transparency-sections)
- Created: 2026-07-04
- Preview image: https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/pricing-transparency-sections/input-cost-index.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/ecommerce-pro-pricing-transparency-sections-input-cost-index
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- Installs to: `@/components/blocks/ecommerce-pro/pricing-transparency-sections/input-cost-index`

## About this block

Input Cost Index publishes the four raw costs behind the
price as stat cards: canvas at $8.40 a yard, bridle leather
at $6.90 a square foot, brass hardware at $4.15 a set, and
freight and duty at $2.60 a bag. Each card carries its
current rate in tabular-nums, a twelve month movement line,
and a small inline sparkline drawn in theme tokens, leather
climbing 11.4% while freight falls 18%. The footer states
the pass through rule that links these numbers to the price.

The inputs are one array and every sparkline is a plain SVG
polyline, no chart library. The rule in the footer is the
load bearing part: it commits the price to move in both
directions when an input holds a change for two quarters.

## When to use

Reach for this block on a pricing transparency page, below
the
[cost breakdown bars](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/pricing-transparency-sections)
and near the history table, so a price move has its raw
cause on the same page. The rates must be current, since a
stale index is worse than none.

A natural flow around it on an Ecommerce Pro page:

**Before**

- [Cost breakdown bars](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/pricing-transparency-sections)

**After**

- [Price history table](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/pricing-transparency-sections)
- [No sales policy card](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/pricing-transparency-sections)

## What you can display

One strong use is the four inputs behind the tote. Other
index panels:

- **Apparel.** Fabric, trim, cut and sew labor, and
  logistics tracked per garment each quarter.
- **Food and drink.** Grain, packaging, energy, and haul
  cost with the seasonal swing shown on the spark.
- **Hardware product.** Metal, board, assembly, and
  shipping with the freight line moving most.

> Tip: include an input that fell, like the freight line
> here. A panel where every arrow points up reads as a
> price defense, not a published index.

## More in Ecommerce Pricing Transparency

- [Cost Breakdown Bars](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/pricing-transparency-sections/cost-breakdown-bars)
- [Cost Of Free Returns Explainer](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/pricing-transparency-sections/cost-of-free-returns-explainer)
- [Cost Per Wear Math](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/pricing-transparency-sections/cost-per-wear-math)
- [No Sales Policy Card](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/pricing-transparency-sections/no-sales-policy-card)
- [Price History Table](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/pricing-transparency-sections/price-history-table)
- [Price Questions Accordion](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/pricing-transparency-sections/price-questions-accordion)
- [Retail Markup Comparison](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/pricing-transparency-sections/retail-markup-comparison)
- [Wage Transparency Card](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/pricing-transparency-sections/wage-transparency-card)
- [What Margin Pays For](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/pricing-transparency-sections/what-margin-pays-for)
- [Why This Price Explainer](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/pricing-transparency-sections/why-this-price-explainer)
