プロジェクト
概要
Faency is the Traefik Labs React component library
Web・アプリ開発計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルTraefik Labs Faency
This is the React component library and design system for Traefik Labs.
Built with React, Typescript, vanilla-extract, and Radix UI Primitives.
- Storybook: every component, with its variants and props
- User Guide: setup, theming, tokens and writing your own styles
- Migration Guide: upgrading from v13
Getting started
npm install @traefik-labs/faency
# or
yarn add @traefik-labs/faency
Wrap your app with FaencyProvider:
import { Badge, Box, FaencyProvider } from '@traefik-labs/faency';
const App = () => (
<FaencyProvider defaultTheme="system" primaryColor="blue">
<Box css={{ p: '$4' }}>
<Badge variant="blue">Hello Faency!</Badge>
</Box>
</FaencyProvider>
);
With an ES module bundler (Vite, webpack…), each component brings its own CSS, so there is nothing else to import. With CommonJS, Vitest or server-side rendering, see Styles in the User Guide.
Contributing
See CONTRIBUTING.md for the development setup, how components are written and styled, and the commit and release conventions.
関連プロジェクトを探す
読み込み中…