MyGit
🚩收到GitHub仓库的更新通知

tremorlabs/tremor

Fork: 447 Star: 15402 (更新于 2024-05-20 19:37:02)

license: Apache-2.0

Language: TypeScript .

React components to build charts and dashboards

最后发布版本: v3.16.2 ( 2024-04-29 20:39:51)

官方网址 GitHub网址

✨免费申请网站SSL证书,支持多域名和泛域名,点击查看


Tremor Logo



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

DocumentationWebsite


React components to build charts and dashboards

Tremor 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. 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-05-01 11:33:28)

2024-04-29 20:39:51 v3.16.2

2024-04-29 18:32:18 v3.16.2-beta-version-bump.2

2024-04-29 18:25:59 v3.16.2-beta-version-bump.1

2024-04-24 05:07:50 v3.17.0-beta-dual-axis.1

2024-04-20 02:46:02 v3.16.1

2024-04-20 00:18:00 v3.16.1-beta-funnel.4

2024-04-19 23:53:30 v3.16.1-beta-funnel.3

2024-04-19 23:42:13 v3.16.1-beta-funnel.2

2024-04-19 23:21:41 v3.16.1-beta-funnel.1

2024-04-15 21:53:11 v3.16.0

主题(topics):

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

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

2024-05-19 23:56:19 lobehub/lobe-chat

2024-05-19 21:28:39 siyuan-note/siyuan

2024-05-19 02:57:13 bepass-org/oblivion-desktop

2024-05-18 20:59:00 FuelLabs/fuels-ts

2024-05-18 10:05:52 johnlindquist/kit

2024-05-18 04:16:53 payloadcms/payload