@fastnd/components
v1.0.77
Published
FastND's React component library — built on [shadcn/ui](https://ui.shadcn.com) (New York style) with FastND brand theming.
Downloads
7,271
Readme
@fastnd/components
FastND's React component library — built on shadcn/ui (New York style) with FastND brand theming.
Install
npm install @fastnd/componentsPeer dependencies: react >= 18 and react-dom >= 18
Usage
import { Button, Card, CardHeader, CardTitle, CardContent } from '@fastnd/components';
function App() {
return (
<Card>
<CardHeader>
<CardTitle>Dashboard</CardTitle>
</CardHeader>
<CardContent>
<Button>Get started</Button>
</CardContent>
</Card>
);
}CSS is injected automatically — no separate stylesheet import needed.
Components (56)
| Category | Components | |----------|-----------| | Inputs | Button, ButtonGroup, Checkbox, Combobox, Input, InputGroup, InputOTP, NativeSelect, RadioGroup, Select, Slider, Switch, Textarea | | Layout | Accordion, AspectRatio, Card, Collapsible, Direction, Resizable, ScrollArea, Separator, Tabs | | Overlay | AlertDialog, Command, ContextMenu, Dialog, Drawer, DropdownMenu, HoverCard, Menubar, NavigationMenu, Popover, Sheet, Tooltip | | Display | Alert, Avatar, Badge, Breadcrumb, Calendar, Carousel, Chart, Empty, Item, Kbd, Label, Pagination, Progress, Skeleton, Spinner, Table, Toggle, ToggleGroup | | Form | Field, Form | | Feedback | Sonner (Toaster + toast) | | Composition | Sidebar |
All components use the native shadcn/ui API.
Theming
The library ships with FastND brand colors mapped to shadcn CSS variables. Colors are applied automatically via CSS-in-JS.
Semantic colors
| Variable | Usage |
|----------|-------|
| --primary / #0073e6 | Primary actions, links, active states |
| --destructive / #bd0c38 | Destructive actions, errors |
| --color-success / #1ec489 | Positive status, completed |
| --color-warning / #efaf55 | Warning, pending |
| --color-alert / #f34e2a | Critical, high-priority |
Chart colors
--chart-1 through --chart-5 are defined for light and dark mode, consumed by the ChartContainer component.
Dark mode
Add the dark class to a parent element to activate dark mode:
<html class="dark">Development
cd artifacts-handoff
npm install # Install dependencies
npm run storybook # Storybook at http://localhost:6006
npm run build # Build library (Vite + tsc)
npm run test # Vitest watch mode
npm run test:run # Vitest single runTech stack
- Components: shadcn/ui New York style + Radix UI primitives
- Styling: Tailwind CSS v4 + CSS variables
- Charts: Recharts via shadcn Chart wrapper
- Build: Vite (ESM library mode) + TypeScript declarations
- Storybook: v10 with 55 component stories
License
PROPRIETARY — Copyright (c) 2026 FastND GmbH. All rights reserved.
This package is private and intended for internal use only. Unauthorized use, distribution, or modification is strictly prohibited.
