MCPcopy Index your code
hub / github.com/alexyakir/functional-ui-kit

github.com/alexyakir/functional-ui-kit @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
96 symbols 210 edges 55 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

functional-ui-kit-cover

Welcome 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 (



      <FuiBadge label='label' />



  );
}

Extension points exported contracts — how you extend this code

FuiTextInputProps (Interface)
(no doc)
src/components/fui-text-input/fui-text-input.tsx
Option (Interface)
(no doc)
src/components/fui-select/fui-select.tsx
OptionGroup (Interface)
(no doc)
src/components/fui-select/fui-select.tsx
FuiNativeSelectProps (Interface)
(no doc)
src/components/fui-select/fui-select.tsx
FuiSingleSelectProps (Interface)
(no doc)
src/components/fui-select/fui-select.tsx

Core symbols most depended-on inside this repo

isOptionGroup
called by 6
src/components/fui-select/fui-select.tsx
usePopoverContext
called by 5
src/components/fui-popover/popover.tsx
FuiIllustrationCat
called by 4
src/illustrations/fui-illustration-cat.tsx
renderOptions
called by 2
src/components/fui-select/fui-select.tsx
toggleMenu
called by 2
src/components/fui-select/fui-select.tsx
renderMenuOption
called by 2
src/components/fui-select/fui-select.tsx
onClick
called by 2
src/components/fui-select/fui-select.tsx
onKeyDownClear
called by 1
src/components/fui-select/fui-select.tsx

Shape

Function 65
Interface 30
Enum 1

Languages

TypeScript100%

Modules by API surface

src/components/fui-select/fui-select.tsx20 symbols
src/components/fui-option-group/fui-option-group.tsx8 symbols
src/components/fui-toggle/fui-toggle.tsx5 symbols
src/components/fui-popover/popover.tsx5 symbols
src/components/fui-modal/fui-modal.tsx5 symbols
src/components/fui-radio/fui-radio.tsx4 symbols
src/components/fui-notification/fui-notification.tsx4 symbols
src/components/fui-checkbox/fui-checkbox.tsx4 symbols
src/components/fui-stepper/fui-stepper.tsx3 symbols
src/components/fui-status-message/fui-status-message.tsx3 symbols
src/components/fui-popover/fui-popover.tsx3 symbols
src/components/fui-button/fui-button.tsx3 symbols

For agents

$ claude mcp add functional-ui-kit \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact