0.1.21 โข Published 11 months ago
@headless-charts/react v0.1.21
Headless Charts for React
A modern, headless charting library built with React, D3, and TypeScript. This library provides a flexible and customizable way to create beautiful charts while maintaining full control over styling and behavior.
Features
- ๐ฏ Headless by Design: Complete control over styling and behavior
- ๐ฆ Modern Stack: Built with TypeScript, React, D3, and TailwindCSS
- ๐จ Fully Customizable: Style your charts with TailwindCSS or any CSS framework
- ๐ฑ Responsive: Charts that adapt to any screen size
- ๐งช Well Tested: Comprehensive test coverage
- ๐ Storybook Documentation: Interactive examples and documentation
Installation
# Using npm
npm install @headless-charts/react
# Using yarn
yarn add @headless-charts/react
# Using pnpm
pnpm add @headless-charts/reactQuick Start
import { LineChart } from '@headless-charts/react';
function MyChart() {
const data = [
{ x: 0, y: 10 },
{ x: 1, y: 20 },
{ x: 2, y: 15 },
// ... more data points
];
return (
<LineChart
data={data}
width={600}
height={400}
className='bg-white rounded-lg shadow-lg'
/>
);
}Documentation
For detailed documentation and examples, visit our Storybook.
Development
# Install dependencies
yarn install
# Start development server
yarn start
# Run tests
yarn test
# Start Storybook
yarn storybook
# Build the library
yarn buildContributing
We welcome contributions! Please feel free to submit a Pull Request.
License
MIT ยฉ Vonnue dev team
0.1.20
11 months ago
0.1.21
11 months ago
0.1.11
1 year ago
0.1.12
1 year ago
0.1.13
11 months ago
0.1.14
11 months ago
0.1.16
11 months ago
0.1.17
11 months ago
0.1.18
11 months ago
0.1.19
11 months ago
0.1.10
2 years ago
0.1.9
2 years ago
0.1.8
2 years ago
0.1.7
2 years ago
0.1.6
2 years ago
0.1.5
2 years ago
0.1.3
2 years ago
0.1.2
2 years ago
0.1.1
2 years ago
0.1.0
2 years ago