enes

Overview

Welcome to the FluentUI Svelte documentation! This page will explain the basic concepts of the library.

Attention

This package isn't a exact re-implementation of Fluent UI, many features are not exactly as described in the FluentUI Documentation.

What is FluentUI svelte?

FluentUI Svelte is a collection of accessible Svelte components that make it easy to create beautiful web applications with the premium look and feel of Microsoft's Fluent UI.

Principles

Svelte 5 components

Svelte 5 components!

Accessible

All components are accessible following WAI-ARIA standards.

Native HTML behavior

Semantic HTML & Native Behavior Elements (Like: <dialog>, <details> or <summary> )

Reduced motion

Reduced motion supported.

Keyboard navigation

Move between items with the arrow keys using Tabspot.

Plain CSS tokens

Customize the theme with --fs-* custom properties.

Browser support

Some visual effects depend on the browser's CSS support.

CSS featureUsed for
field-sizing: contentAuto-sizing text areas
maskAcrylic noise and the tooltip arrow
backdrop-filterAcrylic blur behind flyouts
color-mix(), :has()Tokens and state-driven styles

Fluent icons for Svelte

Fluent System Icons as Svelte components in Regular, Filled, Color, and Light variants.

pnpm add -D fluentui-icons-svelte
Browse all icons

Changelog

You can check the changelog on GitHub.

Support Fluent UI Svelte

The library is built by one person in their free time. If it helps your work, consider sponsoring it.