Category Bar

A component for displaying categorized data with visual indicators of distribution or proportion.


Automatic Installation

This method is still working on progress, please use manual installation for now.

Manual Installation

Install dependencies

npm install radix-ui

Copy the code

components/category-bar/category-bar.tsx
import { type CategoryBarStyles, categoryBarStyles } from './category-bar.css'
 
const CategoryBar = () => {
  return null
}
 
export { CategoryBar }

Usage

Imports

import {} from '#/components/category-bar'

Example

Browse the Storybook for more examples.

Anatomy

// WIP
Edit on GitHub

Last updated on 3/27/2025

On this page