Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 849 Bytes

File metadata and controls

46 lines (32 loc) · 849 Bytes

@shortlink/ui-kit

Note

The UI Kit is a collection of React components that are used in the ShortLink app.

Installation

npm install @shortlink/ui-kit # for GitLab registry
npm install shortlink-ui-kit        # for NPM registry

Usage

import { ToggleDarkMode } from '@shortlink/ui-kit'

const App = () => {
  return <ToggleDarkMode />
}

React 19 Async Patterns

See ADR-1 for the architectural decision record on React 19 async patterns.

Storybook

The UI Kit is documented with Storybook. You can run it locally with:

npm run storybook

Stack

  • React 19
  • Pretty code base
    • Typescript
    • ESLint/Prettier
  • Pretty UI
    • TailwindCSS
  • Storybook (for UI)
  • Jest