# Introduction

effectcn is every @effect/ui-kit component as a styled file you copy into your project: the code is the documentation.

[Effect UI](https://ui.effect.website) is a frontend framework for Effect. A component is Schemas for its props, Model and messages, and pure `init`, `update` and `view` functions. It continues Foldkit.

`@effect/ui-kit` is its component library. Each component owns the behaviour, the keyboard handling, the ARIA and the data attributes, and draws nothing. You write the markup with your own `h` builders and style it.

## What is effectcn?

effectcn is a copy-the-code component library for Effect UI. It has 46 components, from Accordion to Virtual List, each written as one TypeScript file that styles a headless `@effect/ui-kit` component with Tailwind CSS classes.

It is built on three things: `@effect/ui` for components, `@effect/ui-kit` for behaviour and accessibility, and Tailwind CSS v4 for the look. Colours, radius and shadows come from theme tokens, which are CSS custom properties.

There is no installer and no package to depend on. You set a project up once by following [Installation](https://www.effectcn.com/docs/installation.md), then copy a component's file from its page into `src/ui/` and change it as you like. Every [component page](https://www.effectcn.com/components) shows live examples, the code each one runs, the file to copy and the component's parts, props, events and data attributes.

## What this is

- Live examples of each component, in several variants, running the code shown under the Code tab.
- One file per component, styled with Tailwind CSS classes that read a small set of theme tokens.
- Sixteen themes, each with a light and a dark mode.

## What this is not

It is not a package. Nothing here is installed from a registry: you copy a component file into your project and own it from then on.

- [Installation](https://www.effectcn.com/docs/installation.md)
- [Components](https://www.effectcn.com/components)
