JSPM

  • Created
  • Published
  • Downloads 130
  • Score
    100M100P100Q78898F
  • License ISC

Minimalistic React Component Library

Package Exports

  • starstuff-components

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (starstuff-components) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Starstuff Components

Minimalistic React Components Library

Philosophy

This library wants to stay out of your way. It provides some sensible defaults in the form of CSS and that's about it. It doesn't care about how you theme it, and doesn't require any special pipelines. These components are exactly how they appear.

The most notable "theming" feature of these components is their automatic dark mode, triggered by CSS media query.

Installation

npm install starstuff-components

Usage

All components can be access via named exports on the starstuff-components package. Detailed examples for each component can be seen below.

Card

import { Card } from "starstuff-components";

const CardExample = () => <Card />;

Hyperbutton

import { Hyperbutton } from "starstuff-components";

const HyperbuttonExample = () => (
  <Hyperbutton href="#">Test Hyperbutton</Hyperbutton>
);
import { Hyperlink } from "starstuff-components";

const HyperlinkExample = () => <Hyperlink href="#">Test Hyperlink</Hyperlink>;