Skip to content
Back to skills

Boardui

ASecurity

Build, extend, or restyle React and Tailwind CSS v4 interfaces with the official BoardUI components, design tokens, and templates.

  • 7 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 4, 2026
ai-agentsgoshellreactnextjsspringapi

Works with

  • cursor
  • cli
  • api

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned December 4, 2026

npx -y skills add najuaircrack/agent-scopeway --skill boardui --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Boardui?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Boardui
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/najuaircrack-boardui/badge)](https://www.skillsdirectory.com/skills/najuaircrack-boardui)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: boardui
description: "Build, extend, or restyle React and Tailwind CSS v4 interfaces with the official BoardUI components, design tokens, and templates."
license: MIT
---

# Building UIs with BoardUI

BoardUI is a React and Tailwind CSS v4 design system for dashboards and agentic interfaces (Next.js first). Components live as source under `components/`. Free components cover primitives and the app shell. BoardUI Pro includes additional chart cards, agent components, and full-page templates.

Use this workflow when BoardUI is requested or already used in the project. The catalog, references, and code examples come from a pinned BoardUI revision. For authorized project initialization or component installation, use the project's offline workflow with an exact BoardUI version and reviewed local inputs. If setup would fetch a tool, dependency, or registry item, identify the missing local prerequisite before starting that operation.

## The workflow

Follow this loop when building with BoardUI. Use the official source for a component that the registry already ships.

1. **Detect setup.** Look for `styles/theme.css`, `utils/cx.ts`, and the global stylesheet import in the target app. For a new setup, check the project's pinned Tailwind v4 configuration and approved BoardUI source. Upstream calls this project step `init`. It can write styles, utilities, dependencies, and agent instructions, so review the proposed changes and preserve the project's existing instructions. Wire the stylesheet once the reviewed sources are in place.
2. **Discover.** Look up exact registry IDs, access requirements, and usage examples in [references/components.md](references/components.md). Compare them to the installed source to confirm the API for this project.
3. **Use the registry component.** Reuse the installed component or add its official source through the project's approved workflow. The upstream `add` operation uses the catalog's exact IDs. Registry dependencies resolve transitively, so `data-table` also needs the pieces it builds on. Review the source and dependency changes before accepting the addition.
4. **Compose.** Import through the `@/` alias, e.g. `import { Button } from "@/components/base/buttons/button"`. Style only with the design rules below; page recipes live in [references/patterns.md](references/patterns.md).
5. **Verify before finishing.** Check for raw palette classes, hand-stacked type utilities, and `dark:` color overrides. Merge classes with `cx()`. Run the normal project checks and exercise the affected states in the rendered interface.

## Design rules

A BoardUI project may carry these design rules in a section of `AGENTS.md` and in `.cursor/rules/boardui.mdc`. Apply project guidance according to the host's instruction precedence.

- **Color: semantic tokens only.** Never raw palette classes (`text-gray-500`, `bg-white`) or hex/oklch literals. Text: `text-text-primary` / `-secondary` / `-tertiary` / `-placeholder`. Surfaces: `bg-background-primary-default`, `bg-background-secondary-default` / `-hover`, page ground `bg-background-full`. Borders: `border-border-button-default`, hairlines `border-separator-border`. Icons: `text-foreground-icon-primary` through `-quaternary`. Charts: `chart-1` through `chart-5`. CTAs and selection: the `accent-50` to `accent-950` ramp.
- **Dark mode is automatic.** Tokens flip via the `.dark` class on `<html>`. Never write `dark:` overrides with raw colors; if a pairing looks wrong in dark mode, pick a different token.
- **Typography: composite utilities only.** `text-title-1-medium`, `text-title-2-medium`, `text-title-3-semibold`, `text-headline-medium`, `text-body-medium`, `text-body-regular`, `text-caption-1-semibold`, and friends set size, weight, line-height, and letter-spacing together. Never rebuild them from `text-sm font-medium leading-5`; if a style seems missing, check `styles/typography.css` first.
- **Spacing and shape.** Stay on Tailwind's 4px scale; prefer flex/grid `gap` over per-child margins. Cards and panels: `rounded-3xl` with `border-border-button-default`. Inputs and menu rows: `rounded-md` to `rounded-xl`. Pills: `rounded-full`.
- **Mechanics.** Merge classes with `cx()` from `@/utils/cx` (never plain clsx or string concat). Icons come from `@remixicon/react` as component references (`leadingIcon={RiAddLine}`), not rendered elements. Form components build on `react-aria-components`; extend the installed BoardUI form components rather than raw `<input>`/`<select>`. Focus states: `outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring`.
- **Motion.** Animations follow a fixed, hand-tuned language: entrances fade + scale + small blur, hover colors at 150ms, press darkens (never scales), exits faster than entrances, reduced-motion guarded. Reuse the exact recipes in [references/motion.md](references/motion.md) instead of inventing timings.

Token families, the type scale, and rebranding (accent ramp, dark mode mechanics) are covered in [references/theming.md](references/theming.md).

## Choosing components

The catalog in [references/components.md](references/components.md) has every item; these are the calls that are not obvious from names alone:

- **`table` vs `data-table`.** `table` is the styled React Aria table for simple listings. `data-table` (free) adds TanStack-powered sorting, selection, filtering, and pagination; reach for it whenever the data is real. Both must render from a `"use client"` module (see gotchas).
- **Buttons.** `button` for contained actions, `icon-button` for icon-only, `link-button` for inline text actions with no container, `button-group` for segmented action rows, `social-button` for OAuth providers.
- **Dashboards.** Compose from `stat-cards` (free KPI row) plus the Pro chart cards (`area-chart-card`, `line-chart-card`, `bar-list-card`, `earnings-chart-card`, `funnel-chart-card`, `sankey-chart-card`, `heatmap-chart-card`, and more). Each chart card is a finished, self-contained card: header, chart, legend, states. Do not build raw recharts unless no card fits.
- **Agentic interfaces.** Free: `agent-thinking` (reasoning disclosure), `agent-log`, `composer-loader`. Pro: `composer` (the chat input with model/effort controls), `agent-progress`, `task-list`, `web-search`, `agent-limits-card`, `questionnaire` (the plan-mode questions an agent asks before committing, multiple or single select). An AI chat page composes `composer` + message list + `agent-thinking`/`agent-progress`.
- **App shell.** `sidebar` (free) for navigation, `settings-modal`, `notification-center`, `auth-card` + `social-button` for sign-in, `announcement` for banners.
- **Dates.** `date-picker` single dates, `date-range-picker` ranges, `meeting-scheduler` slot booking, `calendar` (Pro) full month grid views.
- **Full pages.** Pro templates (`template-home-dashboard`, `template-marketing`, `template-finance`, `template-hr`, `template-ai-chat`, `template-ai-profile`, `template-ai-image-generation`, `template-medical-profile`) contain a complete route and its component subtree. Prefer an available, entitled template when the user wants a whole page that matches one.

## Known gotchas

- **React Aria tables render zero columns inside a server component.** Any usage of `table` or `data-table` goes in a module marked `"use client"`. If a table shows headers but no columns, this is why.
- **Runtime accent theming needs literal OKLCH values.** When generating custom accent ramps at runtime, write literal `oklch(...)` values, never `var()` references to other tokens (Tailwind tree-shaking strips what it cannot see).
- **Missing `@/*` alias.** BoardUI imports assume `"paths": { "@/*": ["./*"] }` in tsconfig.json. If imports fail after install, add it.
- **After setup, wire the stylesheet and font.** In Next.js, import `@/styles/globals.css` from the root layout in place of the generated `./globals.css`. The upstream recipe sets `--font-inter` via Inter and applies its class to `<html>`. Reuse the project's approved font setup or local font files. Tailwind v4 must compile the CSS. The upstream create-next-app 16.4+ recipe uses `@tailwindcss/turbopack`. Other setups may need `postcss.config.mjs` to load `@tailwindcss/postcss`.

## BoardUI Pro

Items marked Pro require a BoardUI Pro entitlement. Use sources the project already has access to through its approved workflow. If access is missing, tell the user which item requires Pro and leave activation to the account owner. Keep keys out of prompts, logs, command arguments, and source. [BoardUI Pro](https://www.boardui.com/pricing)

## Going deeper

- [references/components.md](references/components.md) covers the pinned registry catalog with exact IDs, access requirements, and usage examples.
- [references/theming.md](references/theming.md): token architecture, the semantic families, the type scale, dark mode, and how to rebrand.
- [references/patterns.md](references/patterns.md): page anatomy recipes (dashboard, auth, AI chat, table page, settings).
- [references/motion.md](references/motion.md): the micro-animation language (durations, easings, the blur-in entrance, press feedback, springs). Read it before adding any animation.

Files in this skill

  • LICENSE.txt1.1 KB
  • NOTICE.txt861 B
  • SKILL.md9 KB
  • references/components.md83.7 KB
  • references/motion.md6.5 KB
  • references/patterns.md4.9 KB
  • references/theming.md5.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.