프로젝트
GitHub에서 보기
traefik/faency
소개
Faency is the Traefik Labs React component library
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalTraefik 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.
관련 프로젝트 살펴보기
불러오는 중…