MyGit

tremorlabs/tremor

Fork: 467 Star: 16214 (更新于 2024-11-21 22:06:04)

license: Apache-2.0

Language: TypeScript .

React components to build charts and dashboards

最后发布版本: v3.17.4 ( 2024-06-23 22:02:44)

官方网址 GitHub网址



Tremor Logo



npm Read the documentation License Apache 2.0 Join Slack Follow at Tremorlabs

DocumentationWebsite


React components to build charts and dashboards

Tremor NPM 20+ open-source components built on top of Tailwind CSS to make visualizing data simple again. Fully open-source, made by data scientists and software engineers with a sweet spot for design.


Tremor Banner


Getting Started

See our Installation Guide. To make use of the library we also need Tailwind CSS setup in the project.

Example

With Tremor creating an analytical interface is easy.

"use client";
import { AreaChart, Card } from "@tremor/react";

const chartdata = [
  {
    date: "Jan 23",
    "Route Requests": 289,
    "Station Requests": 233,
  },
  // ...
  {
    date: "Oct 23",
    "Route Requests": 283,
    "Station Requests": 247,
  },
];

export default function Example() {
  return (
    <Card className="max-w-4xl">
      <span className="text-tremor-default text-tremor-content dark:text-dark-tremor-content">
        Total Requests
      </span>
      <p className="text-tremor-metric font-semibold text-tremor-content-strong dark:text-dark-tremor-content-strong">
        6,568
      </p>
      <AreaChart
        className="mt-2 h-80"
        data={chartdata}
        index="date"
        categories={["Route Requests", "Station Requests"]}
        colors={["indigo", "rose"]}
        yAxisWidth={33}
      />
    </Card>
  );
}

Tremor Example

Community and Contribution

We are always looking for new ideas or other ways to improve Tremor NPM. If you have developed anything cool or found a bug, send us a pull request. Check out our Contributor License Agreement here.

License

Apache License 2.0

Copyright © 2024 Tremor Labs, Inc. All rights reserved.

最近版本更新:(数据更新于 2024-08-25 10:50:02)

2024-06-23 22:02:44 v3.17.4

2024-06-22 17:40:58 v3.17.4-beta-tab-color-fix.4

2024-06-22 06:57:32 v3.17.4-beta-tab-color-fix.3

2024-06-22 06:46:23 v3.17.4-beta-tab-color-fix.2

2024-06-22 06:23:51 v3.17.4-beta-tab-color-fix.1

2024-06-20 01:34:57 v3.17.3

2024-05-20 23:36:34 v3.17.2

2024-05-20 19:02:56 v3.17.1

2024-05-20 06:04:22 v3.17.0

2024-05-20 04:29:16 v3.17.0-beta.7

主题(topics):

react-components, reactjs, tailwindcss, typescript, ui-system

tremorlabs/tremor同语言 TypeScript最近更新仓库

2024-11-21 16:14:54 RSSNext/Follow

2024-11-21 14:41:29 continuedev/continue

2024-11-21 00:40:00 immich-app/immich

2024-11-20 19:46:23 CopilotKit/CopilotKit

2024-11-20 18:49:53 awslabs/multi-agent-orchestrator

2024-11-20 14:58:38 x-extends/vxe-table