项目
在 GitHub 查看
traefik/faency
关于
Faency is the Traefik Labs React component library
网站与应用开发实测星标增长
- 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.
探索相关项目
加载中…