Socket
Socket
Sign inDemoInstall

@tableau/tableau-ui

Package Overview
Dependencies
Maintainers
0
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tableau/tableau-ui

React UI components that have the look-and-feel of Tableau.


Version published
Maintainers
0
Created
Source

Tableau UI

Tableau Supported

Tableau UI

Tableau UI is a React component library containing UI components which have the look-and-feel of Tableau.

Add Tableau UI

npm install @tableau/tableau-ui

Using Tableau UI

Tableau UI requires React. If you aren't familiar with React, check out their Getting Started document.

If you have a TypeScript project you can simply import the components and prop interfaces that you want to use, e.g.:

import * as React from 'react';
import { Button, ButtonProps } from '@tableau/tableau-ui';

const buttonProps: ButtonProps = { kind: 'outline', children: 'OK' };
const button = React.createElement(Button, buttonProps);

If you're using JSX, this example might look more like:

import * as React from 'react';
import { Button } from '@tableau/tableau-ui';

const button = <Button kind='outline'>OK</Button>

Or, you could also choose to include the bundled javascript file in your web project just as you would any other javascript library. You will then be able to reference tableau-ui with the global TableauUI variable, e.g.:

<script crossorigin src="https://unpkg.com/react@16/umd/react.development.js"></script>
<script crossorigin src="https://unpkg.com/react-dom@16/umd/react-dom.development.js"></script>
<script src="tableau-ui.min.js"></script>

const button = React.createElement(TableauUI.Button, { kind: 'outline', children: 'OK' });

API Documentation and Samples

Please refer to Tableau UI Components for documentation and samples.

FAQs

Package last updated on 31 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc