Pace UI

Faceted Distributions

Component

About

A small-multiples histogram chart that facets body-mass distributions by category (e.g. species) into stacked rows for easy shape comparison.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Faceted Distributions to your project and fits it to your theme.

Code

How Faceted Distributions is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import FacetedDistributions from "@/components/ui/tanstack-charts-faceted-distributions";

export default function FacetedDistributionsDemo() {
  return (
    <div className="flex w-full items-center justify-center p-10">
      <FacetedDistributions />
    </div>
  );
}

Dependencies

More by Pace UI

View all
  • Dot Loader

    Dot Loader

    976
  • Flip Reveal

    Flip Reveal

    670
  • Dot Flow

    Dot Flow

    271
  • Draw Line Text

    Draw Line Text

    123
  • Liquid Glass

    Liquid Glass

    65
  • Liquid Cursor

    Liquid Cursor

    51
  • Layered Stack

    Layered Stack

    50
  • Calendar Heatmap Chart

    Calendar Heatmap Chart

    22

Explore more

Part of Pace UI — browse the full library on 21st.dev.