Skip to content
Alea0.1
Pro
  1. Alea
  2. Development
  3. Get started
  4. What's included

Get started

What's included

Everything in Alea, in one place: what every component does without extra work, the packages, every component by category, the Figma kit, how it is tested, and what Alea Pro adds.

Built into every component

You don't wire these up: they come with each component, in every look and language.

Accessibility

  • Roles, names, states and relationships set inside each component
  • Focus moved and returned for overlays, menus and dialogs
  • Live announcements for toasts, counts, uploads, filters and status changes
  • Text tokens at AA on every surface, with a high contrast mode at AAA
  • Targets of at least 24 px; status never told by color alone
Read more: Accessibility

Keyboard navigation

  • Tab between controls; composite widgets are one stop
  • Arrow keys, Home, End and type ahead inside lists, menus, grids, tabs and trees
  • Escape closes the layer on top and returns focus
  • Every component page lists its keys
  • Visible focus rings in every look
Read more: Keyboard navigation

Motion

  • Named patterns built from easing and duration tokens
  • Four modes: expressive, productive, reduced and off
  • A motion preset for every overlay
  • Reduced motion followed by default: things fade in place
  • Transform and opacity only, never blocking input
Read more: Motion

Themes and brand

  • Dark, light and system, per page or per area
  • Four looks: Fun Lab, Graphite, Midnight and Glass
  • High contrast and a plain background for any look
  • brandVariables: accent, radius, density and fonts in one call
  • Semantic tokens only, so a theme is one file
Read more: Themes and brand

Languages

  • Every built-in label and announcement in English and Spanish
  • Your own strings for any other language
  • Dates, times and numbers formatted for the locale
  • Right-to-left layouts
Read more: Languages

Server rendering

  • Components render to HTML on the server and hydrate in the browser
  • No layout shift from styles: one stylesheet, no runtime CSS
  • These docs are prerendered with the same components
Read more: Server rendering

Types and docs

  • Every component and prop typed and described
  • Props tables, specs, anatomy and tokens per component
  • Live examples to copy on every page
Read more: Types and docs

Responsive

  • Responsive props per breakpoint for layout components
  • Phone patterns: drawers, bottom navigation, action sheets
  • Every docs page checked at phone and desktop widths
Read more: Responsive

Packages

PackageWhat's insideLicense
@alea/ui250 componentsThe components, their styles, icons through Lucide, the kit's strings and ThemeProvider.MIT
@alea/motion9 helpersThe motion patterns and helpers: Presence, AutoHeight, NumberRoll, TextSwap, Reveal, MorphIcon, StreamingText.MIT
@alea/tokensW3C tokensPrimitives, base and semantic tokens as CSS variables, JSON and Figma variables, built from the same files.MIT
@alea/clinpx alea addCopy any component's source into your project to own and edit it.MIT
@alea/pro72 componentsCharts, DataGrid, the rich text and Markdown editors, Scheduler, MediaPlayer, Kanban, RoadmapTimeline and premium effects.Alea Pro
@alea/blocksBlocks and templatesReady sections and full page templates: dashboards, lists, forms, profiles, results, landing pages.Alea Pro

Every component, by category

Each page documents its components with examples, props, specs, accessibility notes and its keys.

Actions 11

Typography 9

Layout 31

Forms 56

Overlays 18

Navigation 27

Data display 52

Charts 17

Feedback 16

Effects 38

AI 8

Workflow 12

Extras 10

For designers

Figma kit

156 component sets with the React props as variants and properties, variables in Dark and Light and in each look, 174 icons, a spec page per component and responsive templates.

Figma kit

Foundations

Color, type, space and icons as tokens, with which token to use for what and the contrast of every pair.

Colors

Templates and blocks

Real pages made from the components, to start a product from something that already works.

Templates

How it is tested

  • Unit tests across the components, with an automated accessibility check
  • Every docs page checked for accessibility at AA and AAA, in each of the four looks, in dark and light
  • Keyboard journeys: search, dialogs, menus, tabs, selects and the mobile navigation
  • A sweep of every page at phone and desktop widths for overflow and visible focus
  • The Figma plugin tested against a model of the Figma file

Free and Pro

IncludedMITAlea Pro
Components, motion, tokens, CLIYesYes
Accessibility, keyboard, themes, looks, two languagesYesYes
Figma kit and pluginYesYes
Charts, DataGrid, editors, Scheduler, MediaPlayerNoYes
Premium effectsNoYes
Blocks and templatesNoYes
Commercial license for client workNoYes
See Alea Pro

Everything here is ready to use

Install the package, wrap your app and start with any component on these pages.

npm install @alea/ui
  • MIT core
  • AA and AAA tested
  • Four looks, dark and light
  • English and Spanish
  • Figma kit