Skip to content

focsd

Bring every user into focus.

An open-source component library and design system for teams that build in any framework. Accessibility is designed into every component, not added at the end.

  • 128 componentsButtons to data grids, charts and a rich text editor.
  • Accessible by defaultWAI-ARIA patterns and full keyboard support, tested against WCAG 2.2 AA.
  • Any frameworkThe same tags in plain HTML, React, Vue, Svelte and Angular.
  • Yours to themeStart from five presets, then change one token or all of them.
npm i @focsd-dev/components

Go ahead, try them.

These are live components, not screenshots. Click, type or tab through them, then copy the same markup from the docs. Eight here, 128 in the library.

Data grid

Sort, search, filter and edit. Arrow keys move from cell to cell.

Data grid docs

Forms that explain themselves

Submit it empty: the summary lists each problem and links straight to the field.

I accept the terms of service
Create workspace Reset

Forms guide

Chart

Every chart is also a written summary and a data table.

Chart docs

Theme toggle

Light, dark or the system setting, for the page or a single panel.

This panel follows the toggle.

Weekly digest
Theme toggle docs

Command palette

Every action in your app, one search away.

Open command palette

New project Open project Invite a member Billing settings
Command palette docs

Notification center

The unread count is in its name, and a burst is announced once.

Add a notification
Notification center docs

Write it once. Use it in every stack.

Focsd components are standard custom elements built with Lit. Import them once, then use the tags in plain HTML or any framework.

  • React 19 renders them directly; @focsd-dev/react adds typed wrappers.
  • Vue, Svelte and Angular need one line of config at most.
  • Native forms: values reach FormData, and validation and reset work like built-in inputs.
  • Small: a button with Lit stays under 18.35 KB gzip, checked by a size test.
Framework guide
HTMLReactVueSvelteAngular
<script type="module">
  import '@focsd-dev/tokens/tokens.css';
  import '@focsd-dev/components';
</script>

<focsd-select label="Data region" value="eu">
  <focsd-option value="eu">EU (Frankfurt)</focsd-option>
  <focsd-option value="us">US (Virginia)</focsd-option>
</focsd-select>
import { Select, Option } from '@focsd-dev/react';

export function Region({ value, onChange }) {
  return (
    <Select label="Data region" value={value} onChange={(e) => onChange(e.target.value)}>
      <Option value="eu">EU (Frankfurt)</Option>
      <Option value="us">US (Virginia)</Option>
    </Select>
  );
}
<script setup>
import '@focsd-dev/components';
import { ref } from 'vue';

const region = ref('eu');
</script>

<template>
  <focsd-select label="Data region" :value="region" @change="region = $event.target.value">
    <focsd-option value="eu">EU (Frankfurt)</focsd-option>
    <focsd-option value="us">US (Virginia)</focsd-option>
  </focsd-select>
</template>
<script>
  import '@focsd-dev/components';
  let region = $state('eu');
</script>

<focsd-select label="Data region" value={region} onchange={(e) => (region = e.target.value)}>
  <focsd-option value="eu">EU (Frankfurt)</focsd-option>
  <focsd-option value="us">US (Virginia)</focsd-option>
</focsd-select>
import { Component, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import '@focsd-dev/components';

@Component({
  selector: 'app-region',
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
  template: `
    <focsd-select label="Data region" [value]="region" (change)="region = $any($event.target).value">
      <focsd-option value="eu">EU (Frankfurt)</focsd-option>
      <focsd-option value="us">US (Virginia)</focsd-option>
    </focsd-select>
  `,
})
export class RegionComponent {
  region = 'eu';
}

Accessibility, built into every component

Accessibility is how each component is specified and tested, not an audit at the end. What runs on every change:

WAI-ARIA patterns
Roles, states and keys follow the ARIA Authoring Practices, and each component page lists its pattern and keyboard table.
axe in three themes
Every component is scanned against the WCAG 2.2 AA rules in the light, dark and high-contrast themes, with its overlays open.
Three browser engines
Keyboard scripts, accessibility tree snapshots and form tests run in Chromium, Firefox and WebKit.
Screen reader checklist
Announcements are tested automatically on every change, and a manual NVDA and VoiceOver pass is part of the release checklist.
How Focsd is tested

Try it with the keyboard

Press Tab to move in, arrow keys inside a group, Space or Enter to choose.

DayWeekMonthUTCCentral European TimeEastern TimeShow weekends

Your brand, not ours

Design tokens are CSS custom properties. Start from one of five presets (Wayfinding, Harbor, Signal, Mineral, Prismatic), then change one token or all of them. Light, dark and high contrast keep working, and every preset passes the WCAG 2.2 AA contrast checks.

Billing

Northwind Studio, Team plan

Active
MonthlyAnnual (2 months free)
Email me each invoice
Save billing detailsDownload invoices

Next invoice on January 1, 2027. About presets

Built for AI assistants and agents

Your coding assistant looks up the real API instead of guessing, and agents in the browser can use your forms as tools.

MCP server

@focsd-dev/mcp gives Claude, Cursor, VS Code and other clients every component, token and setup, and checks the markup they write. It runs locally and sends nothing over the network.

claude mcp add focsd -- npx -y @focsd-dev/mcp
{
  "mcpServers": {
    "focsd": { "command": "npx", "args": ["-y", "@focsd-dev/mcp"] }
  }
}
Connect an assistant

WebMCP in the page

Mark a Focsd form and it becomes a WebMCP tool that waits for the person to confirm. This site offers six tools of its own, such as search_components and check_markup, to agents in your browser.

Make your site agent-ready

Start with one component. Add the rest when you need them.

Install the package, import it once, and every focsd- tag works in your page.

npm i @focsd-dev/components
  1. Install

    One package holds the core components, with the tokens and Lit included. The data grid, charts, editor and AI kit install on their own.

    npm i @focsd-dev/components
  2. Import once

    Load the tokens and register the elements in your entry file.

    import '@focsd-dev/tokens/tokens.css';
    import '@focsd-dev/components';
  3. Use the tags

    The same tags work in plain HTML, React, Vue, Svelte and Angular.

    <focsd-button variant="action">
      Save changes
    </focsd-button>