> For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt.

# font-feature-settings

APISummary
## Introduction

The `font-feature-settings` CSS property is used to control advanced typographic features in OpenType fonts.

## Examples

**This is an example below: css-api**

**Entry:** `src/font-feature-settings`
**Bundle:** `dist/font-feature-settings.lynx.bundle`

```tsx
import { root } from "@lynx-js/react";
import "./index.scss";

const FontFeatureSettings = () => {
  return (
    <view style={{ display: "linear" }}>
      <text>normal</text>
      <text className="variable-font-normal">1234567890</text>
      <text>font-feature-settings:'onum'</text>
      <text className="variable-font-normal font-feature-settings">1234567890</text>
    </view>
  );
};

root.render(<FontFeatureSettings />);

```

v0.11.0



## Syntax

```css
font-feature-settings: 'onum';
```

## Formal Definition

| Initial value | normal |
| Applies to | text |
| Inherited | yes |
| Animatable | no |


## Formal Syntax

```
font-feature-settings =
  normal                |
  <feature-tag-value>#

<feature-tag-value> =
  <opentype-tag> [ <integer [0,∞]> | on | off ]?

<opentype-tag> =
  <string>
```

## Compatibility

**Compatibility Table**

**Query:** `css.properties.font-feature-settings`

[Source](https://github.com/lynx-family/lynx/blob/develop/tools/css_generator/css_defines/218-font-feature-settings.json) · [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/font-feature-settings)

| Feature | Android | HarmonyOS | iOS | macOS | Windows | Web |
| --- | --- | --- | --- | --- | --- | --- |
| font-feature-settings | Yes (3.4) | No | Partial (3.4) | No | No | Yes |

**`font-feature-settings`**

**Specifications:**

- **iOS — From 3.4:** Partial support; iOS supports commonly used and registered OpenType tags: hlig, clig, c2sc, c2pc, smcp, pcap, ss01-ss20, onum, lnum, pnum, tnum, frac, afrc, zero, ordn, sups, subs, case, titl, sinf.

