Tiberius react UI, themes, and controlled component library
  • JavaScript 86.2%
  • TypeScript 13.1%
  • HTML 0.3%
  • CSS 0.2%
  • Shell 0.1%
Find a file
2026-03-12 15:29:02 -04:00
.forgejo/workflows feat: add Forgejo Actions workflow for container builds 2026-03-05 14:52:30 -06:00
.github/workflows feat: switch to date-based dev tags, remove releases 2026-02-23 16:13:35 -06:00
.storybook chore: fix warnings from storybook 10 upgrade 2026-02-24 13:39:27 -05:00
dist chore: bump version to v2.4.12 2026-03-12 15:29:02 -04:00
scripts fix: close readline before stdio inherit commands to prevent hang 2026-02-24 14:12:41 -05:00
src feat(textfield): add optional label prop 2026-03-12 15:27:10 -04:00
storybook-static chore: storybook update 2026-02-24 09:58:22 -05:00
.envrc feat: add OTPInput component 2026-02-13 16:23:22 -05:00
.gitignore feat: add OTPInput component 2026-02-13 16:23:22 -05:00
CLAUDE.md wip 2026-02-20 14:49:46 -05:00
flake.lock Add nix2container build and GitHub workflow for dev deployments 2026-01-29 15:36:34 -06:00
flake.nix [skip ci] update npmDepsHash for storybook build 2026-02-24 13:25:03 -06:00
package-lock.json feat: export GoogleIcon as standalone component 2026-03-05 15:59:43 -05:00
package.json chore: bump version to v2.4.12 2026-03-12 15:29:02 -04:00
postcss.config.mjs chore: fix warnings from storybook 10 upgrade 2026-02-24 13:39:27 -05:00
README.md fix: better readme 2026-02-02 11:45:55 -05:00
tsconfig.json Initial commit: tibui React component library 2026-01-28 13:19:35 -05:00
tsup.config.ts Initial commit: tibui React component library 2026-01-28 13:19:35 -05:00
version.txt chore: bump version to v2.1.4 2026-02-23 21:52:16 +00:00

tibui

A React UI component library built with TypeScript, Tailwind CSS, and Radix UI.

Installation

From GitHub

# Install version 1.0.0, select any version here
npm install github:tiberius-grail/tibui#v1.0.0

Local Development

  1. Clone and run the dev server:
git clone https://github.com/tiberius-grail/tibui.git
cd tibui
npm install
npm run dev
  1. In your consuming project's package.json, reference the local path:
{
  "dependencies": {
    "tibui": "file:/path/to/tibui"
  }
}

Then run npm install in your project. Changes to tibui will be picked up automatically.

Usage

Import Components

import { Button, Tabs, Toggle, TextField, DataTable } from 'tibui'

Import Styles

In your CSS or main entry file:

@import 'tibui/theme.css';

Or in JavaScript/TypeScript:

import 'tibui/theme.css'

Development

# Install dependencies
npm install

# Build
npm run build

# Watch mode
npm run dev

# Type check
npm run typecheck

Storybook

This library uses Storybook for component development and documentation.

Running Storybook

Start the Storybook development server:

npm run storybook

This will start Storybook at http://localhost:6006 where you can browse and interact with all components.

Building Storybook

Build a static version of Storybook for deployment:

npm run build-storybook

This outputs a static site to the storybook-static directory, which can be deployed to any static hosting service.

Releasing

Install a specific version

# Install by tag
npm install github:tiberius-grail/tibui#v1.0.0

# Install by commit hash
npm install github:tiberius-grail/tibui#abc1234

# Install latest from main
npm install github:tiberius-grail/tibui#main

Creating a new release

The easiest way to create a release is using the release script:

npm run release

This will:

  1. Check for uncommitted changes
  2. Prompt you to choose a version bump (patch, minor, major)
  3. Update package.json
  4. Create a git tag
  5. Push everything to GitHub

Manual release

If you prefer to release manually:

  1. Make sure all changes are committed and pushed:
git add .
git commit -m "your commit message"
git push
  1. Create a tag:
git tag v1.0.0
  1. Push the tag to GitHub:
git push origin v1.0.0

Tag management

# List all tags
git tag

# Delete a local tag
git tag -d v1.0.0

# Delete a remote tag
git push origin --delete v1.0.0

# Create annotated tag with message
git tag -a v1.0.0 -m "Release v1.0.0"