Skip to content
traefikPublic

About

Faency is the Traefik Labs React component library

Topics

Resources

Contributing

Stars

41 stars

Watchers

4 watching

Forks

Latest commit

 

History

414 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

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.

About

Faency is the Traefik Labs React component library

Topics

Resources

Contributing

Stars

41 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages