codefast/ui

Command Palette

Search for a command to run...

Getting Started

Up and running in minutes.

@codefast/ui is a collection of copy-friendly React components. Install the package, wire up the CSS, and start building — no config files required.

Requirements

React

≥ 19.0.0

TypeScript

≥ 5.0

Tailwind CSS

v4

Node.js

≥ 20

Installation

  1. 01

    Install the package

    Add @codefast/ui and its peer dependencies to your project.

    pnpm add @codefast/ui
  2. 02

    Import the CSS

    Add the design-system stylesheet to your global CSS. It ships neutral tokens, custom Tailwind variants, and animation utilities.

    @import "tailwindcss";
    @import "@codefast/ui/css/themes/neutral.css";
    @import "@codefast/ui/css/preset.css";
  3. 03

    Use a component

    Import any component by its named sub-path. No barrel imports, no tree-shaking surprises.

    import { Button } from "@codefast/ui/button";
    
    export function MyPage() {
      return <Button variant="outline">Click me</Button>;
    }

Library

65+ components available

From primitives like Button and Badge to complex patterns like Command, Calendar, and Sidebar — everything follows the same composable API.

BadgeAlertAvatarSpinnerKbdAspect RatioCarouselChartEmptyItemTableData TableTypographyButtonButton GroupInputInput GroupInput NumberInput OTPInput PasswordInput SearchTextareaSelectNative SelectCheckboxCheckbox GroupCheckbox CardsRadioRadio GroupRadio CardsSwitchSliderToggleToggle GroupCalendarDate PickerLabelFieldFormTabsBreadcrumbPaginationMenubarNavigation MenuSidebarDialogTooltipPopoverDropdown MenuAlert DialogCommandContext MenuDrawerHover CardSheetProgressProgress CircleSkeletonSonnerCardAccordionSeparatorScroll AreaCollapsibleResizable