LavaUI docs

enum FocusRingStyle

Swift

enum FocusRingStyle

How a focused text field draws its attention ring.

The pipeline has no true stroke primitive — rounded rings use a filled outer plate with the field fill punched back on top (same trick overlays use for borders). Hard rectangles use four edge plates.

Sources/LavaUI/Theme.swift:8

Cases

case none

No focus chrome (caret only).

Sources/LavaUI/Theme.swift:10

case underline

Legacy: accent bars on the top and bottom edges only.

Sources/LavaUI/Theme.swift:12

case rectangle

Full axis-aligned box (four edges).

Sources/LavaUI/Theme.swift:14

case rounded

Full outline honouring the field's corner radius (default).

Sources/LavaUI/Theme.swift:16