datahub/site/content/docs/components.md
2023-05-07 11:10:26 +06:00

10 lines
1006 B
Markdown

# Components
PortalJS comes with a library of components that provides essential pieces for your data portal. The best way to explore the components is to look at our [Storybook](https://storybook.portaljs.org/) that contains all the details on how to use them. Below is a quick summary of existing components today:
- `<Catalog />` A searchable catalog that will index a list of datasets and allow for contextual searching + filters.
- `<LineChart />` A simple component that allows the creation of an opinionated line chart without the need to go deep into charting standards
- `<Vega />` A wrapper around the [Vega specification](https://vega.github.io/vega/) that allows you to build pretty much any kind of chart imaginable
- `<VegaLite />` A wrapper around the [Vega Lite specification](https://vega.github.io/vega-lite/) which allows for a more concise grammar than Vega around the building of charts.
- `<Table />` is an easy-to-use table component with built-in pagination, search, and sorting.