prospace-ui
TypeScript icon, indicating that this package has built-in type declarations

2.0.23 • Public • Published

Prospace UI

Usage

  • run npm install prospace-ui

  • add the prospace css in the root of the application

    import 'prospace-ui/dist/styles/resets.css'; // Optional, it's using tailwind-css resets
    import 'prospace-ui/dist/styles/index.css';
    import 'prospace-ui/dist/styles/toastify.css'; // Import this when you use toast components
  • use the components

    import { Button } from 'prospace-ui';
    
    const App = () => {
      return (
        <>
          <Button>Button Content</Button>
        </>
      );
    };

Archived V1 components

  • add the prospace css and resets css (if needed) in the root of the application

    import 'prospace-ui/dist/archive/styles/resets.css';
    import 'prospace-ui/dist/archive/styles/index.css';
  • use the v1 components

    import { PrimaryButton } from 'prospace-ui/dist/archive';
    
    const App = () => {
      return (
        <>
          <PrimaryButton>Button Content</PrimaryButton>
        </>
      );
    };

BEWARE!!!

V1 components CSS resets is conflicted with the new V2 stylings. So can only choose to use one version, OR resolve the style conflict manually.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.23
    6
    • latest

Version History

Package Sidebar

Install

npm i prospace-ui

Weekly Downloads

109

Version

2.0.23

License

MIT

Unpacked Size

1.35 MB

Total Files

659

Last publish

Collaborators

  • fresso