ChoisSTANDARD UI컴포넌트 검색 /

Helpers

Text Truncate

semantic HTML

한 줄 텍스트를 말줄임표로 제한합니다.

stablefreeSince 0.1

Live example

<section data-ui="toolbar" aria-label="Text Truncate"><button type="button">Text Truncate</button><button type="button" class="secondary">보조 작업</button></section>

Variants and sizes

The pattern inherits theme and density tokens. Use compact, comfortable, or roomy density when the surrounding screen requires it.

compactcomfortableroomy

Public API

ContractValue
Implementationsemantic HTML
Statusstable
Licensefree
Since0.1
HTML contractNative HTML elements and attributes
EventsNative browser events

Accessibility

Native HTML semantics and keyboard behavior are the baseline.

Server template guidance

<!-- Render the semantic HTML on the server. Load enhancement JavaScript only when this interaction is needed. -->