alexyakir/functional-ui-kit
Tentang
Komponen Figma dan React yang presisi, dilengkapi praktik terbaik, nama prop yang seragam, serta desain dan kode yang konsisten.
Pengembangan web dan aplikasiPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- 0
- dalam 15 hari
- +1
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliWelcome to Functional UI Kit
Functional UI Kit is a professionally crafted UI Kit for design & development teams, and individuals. We provide core components you would need in every project, focusing on accessibility, development experience and unified designer-developer experience.
We've made sure that Figma variables and CSS variables work together effortlessly. They share the same names, usage and inheritance structure. This isn't just an extra feature, it's the core approach.
Each Figma variable has a direct counterpart in CSS, so there's no confusion. The design stays crystal clear as you move into the development phase.
- Website: www.functional-ui-kit.com
- Figma Library: https://www.figma.com/community/file/1338456115232271694
- Storybook: https://alexyakir.github.io/functional-ui-kit
- Github: www.github.com/alexyakir/functional-ui-kit
- Npm: www.npmjs.com/package/functional-ui-kit
Setup
Install
Install the latest version from NPM.
npm install functional-ui-kit
Setup CSS
Import the functional-ui-kit CSS file into your project in your css file
@import 'functional-ui-kit/style';
html {
...
you can also import the CSS file directly into your main React App file
import React, { Component } from 'react'
import 'functional-ui-kit/style';
class App extends Component {
...
Customizing Theme
You can customize the theme by overriding the CSS variables. You can find the list of variables in the theme file
:root {
--fui-color-brand: var(--fui-color-green-700);
}
[data-theme="dark"],
[data-theme="dark"] * {
--fui-color-brand: var(--fui-color-green-500);
}
...
Using Components
You can use the components by importing them into your React App file
import React, { Component } from 'react'
import { FuiBadge } from 'functional-ui-kit/fui-badge';
function App() {
return (
<div>
<FuiBadge label='label' />
</div>
);
}
Jelajahi proyek terkait
Memuat…