@fiberplane/ui
TypeScript icon, indicating that this package has built-in type declarations

0.7.1 • Public • Published

fiberplane-ui

Fiberplane UI library

Contains ReactJS UI elements for use in Fiberplane products.

Usage

import { Button, Input } from "@fiberplane/ui";

function MyForm() {
  // ...

  return (
    <Input
      type="text"
      onChange={(event) => { /* your text onChange handler... */ }}
    >
    <Input
      type="lightswitch"
      onChange={(event) => { /* your lightswitch onChange handler... */ }}
      checked={isChecked}
    >
    <Button
      onClick={() => { /* your onClick handler... */ }}
      type="submit"
      buttonStyle="secondary"
    >
      Click me!
    </Button>
  );
};

Readme

Keywords

none

Package Sidebar

Install

npm i @fiberplane/ui

Weekly Downloads

94

Version

0.7.1

License

MIT OR Apache-2.0

Unpacked Size

1.82 MB

Total Files

7

Last publish

Collaborators

  • oscarvz
  • bretterplane
  • arendjr
  • fiberplane-admin