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

# border-inline-end-width

APISummary
## Introduction

The `border-inline-end-width` CSS property defines the width of the logical inline-end border of an element.

In a horizontal-tb writing mode with `LTR` direction, it corresponds to the [`border-right-width`](/next/api/css/properties/border-right-width.md) property.
In a horizontal-tb writing mode with `RTL` direction, it corresponds to the [`border-left-width`](/next/api/css/properties/border-left-width.md) property.

## Examples

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

**Entry:** `src/border-inline-end-width`
**Bundle:** `dist/border-inline-end-width.lynx.bundle`

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

const BorderInlineEndWidth = () => {
  const [rtl, setRtl] = useState(false);

  const containerStyle = {
    direction: rtl ? "rtl" : "ltr" as "rtl" | "ltr",
  };

  const textStyle = {
    borderInlineStartWidth: "5px",
    borderInlineEndWidth: "20px",
  };

  return (
    <>
      <view className="con" bindtap={() => setRtl(!rtl)} style={containerStyle}>
        <text className="intro" style={textStyle}>1</text>
      </view>
      <text>Click above to switch, current {rtl ? "rtl" : "ltr"}</text>
    </>
  );
};

root.render(<BorderInlineEndWidth />);

```

v0.11.0



## Syntax

```css
border-inline-end-width: thin;
border-inline-end-width: medium;
border-inline-end-width: thick;
border-inline-end-width: 10px;
```

### Values

- `thin`

- `medium`

- `thick`

- [`<length>`](/next/api/css/data-type/length.md)

## Formal definition

| Initial value | solid |
| Applies to | all elements |
| Inherited | no |
| Animatable | no |


## Formal syntax

```
thin | medium | thick | <length>
```

## See also

- [mdn:border-inline-end-width](https://developer.mozilla.org/en-US/docs/Web/CSS/border-inline-end-width)

- [direction](/next/api/css/properties/direction.md)

## Compatibility

**Compatibility Table**

**Query:** `css.properties.border-inline-end-width`

[Source](https://github.com/lynx-family/lynx/blob/develop/tools/css_generator/css_defines/157-border-inline-end-width.json) · [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/border-inline-end-width)

| Feature | Android | HarmonyOS | iOS | macOS | Windows | Web |
| --- | --- | --- | --- | --- | --- | --- |
| border-inline-end-width | Yes (1.0) | Yes (3.4) | Yes (1.0) | Yes (1.0) | Yes (1.0) | Yes |

**`border-inline-end-width`**

**Specifications:**

