npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

tropical-components-react

v1.3.0

Published

SSB Tropical Components in React

Downloads

8

Readme

Tropical Components React

Lets get tropical!

This repository provides a collection of SSB Components implemented using React.

Demos & Live Docs

Foo

** Components are subject to change so please consult the storybook documentation for usage **

Installation

Tropical Components (Required)

We include all the library files you will need for styling inside one package called tropical-components. We do this so that you can still get consistent styled components whether you are using react or not. Included for right now are bootstrap 3 and tropical (ssb styles for bs3).

npm install tropical-components
    or
yarn add tropical-components

Tropical Components React

This is the library of custom react components built on top of tropical-components. Components will be added periodically to fit the needs of apps that we are in the process of building. This will be a long process but the end goal is to have react components that cover every component in bs3 and tropical-components.

npm install tropical-components-react
    or
yarn add tropical-components-react

Important Notice

For the time being, a complete list of "Complete" components will be kept on the bottom of this page. This should not stop you from using tropical-components for future apps since you will still get the benefit of consistent styles going forward. For example, we do not currently have a button react component, but importing tropical.scss from tropical-components will allow you to write

    <button class="btn">Enter</button>

and still get the same styles as if you were to import { Button} from our component library

Usage

Tropical Components

After successfully installing the tropical-components npm package, in your global scss file, add:

@import "~tropical-components/src/bootstrap/bootstrap.css";
// If you want to utilize material icons
@import url("https://fonts.googleapis.com/icon?family=Material+Icons");
@import "~tropical-components/src/ssb/tropical.scss";

Tropical Components React

After successfully installing the tropical-components-react npm package, in one of your component files, add:

import { ComponentName } from "tropical-components-react";

Live Components

  • Forms
    • DynamicForm
    • Radio
    • Select
    • TextInput
    • TextArea
    • CreatableSingleSelect
    • MultiSelect
    • SingleSelect (should replace select)
  • Cards
    • Card
    • CardImage
  • Button
    • Button
  • Loading
    • Loading

Pipeline

  • Table
    • Action Bar (not exclusive to table)
      • Search Input
      • Action Buttons
    • Pagination
  • New Radio Inputs
  • Checkboxes
  • Toggle
  • Alerts
  • Modal
  • Remote Source Select Options
  • Navigation Items (Still Planning)
  • Dropdown