import { preferencesKey } from '@hyeonse/design-system/preferences';
Pass the same key to createPreferenceScript and PreferencesProvider when overriding it.
SHELL
npm exec --no -- hds show preferencesKey --json
defaultPreferencesutility+
Default choices: system theme, cobalt accent, comfortable density, crisp corners, full motion.
TS
import { defaultPreferences } from '@hyeonse/design-system/preferences';
Use as the baseline when no valid stored choice or site default exists.
This constant does not include site-specific defaults.
SHELL
npm exec --no -- hds show defaultPreferences --json
validatePreferencesutility+
Validate each preference against the allowed choices.
TS
import { validatePreferences } from '@hyeonse/design-system/preferences';
A valid stored field wins; missing or invalid fields use valid site defaults, then defaultPreferences.
Non-object and array inputs are treated as empty preferences.
SHELL
npm exec --no -- hds show validatePreferences --json
parsePreferencesutility+
Parse and validate a stored JSON preference string.
TS
import { parsePreferences } from '@hyeonse/design-system/preferences';
Malformed JSON and null fall back through validatePreferences with optional site defaults.
SHELL
npm exec --no -- hds show parsePreferences --json
serializePreferencesutility+
Serialize validated preferences to JSON.
TS
import { serializePreferences } from '@hyeonse/design-system/preferences';
Invalid fields fall back to package defaults before serialization.
This function does not accept site-specific defaults.
SHELL
npm exec --no -- hds show serializePreferences --json
resolvedThemeutility+
Resolve system/light/dark to the effective light or dark theme.
TS
import { resolvedTheme } from '@hyeonse/design-system/preferences';
The system choice follows the supplied systemDark boolean.
SHELL
npm exec --no -- hds show resolvedTheme --json
effectiveMotionutility+
Resolve the motion choice with the device reduced-motion preference.
TS
import { effectiveMotion } from '@hyeonse/design-system/preferences';
A true systemReduced value forces reduced even when the stored choice is full.
Device reduced motion takes precedence.
SHELL
npm exec --no -- hds show effectiveMotion --json
createPreferenceScriptutility+
Create the inline first-paint preference script with optional key and site defaults.
TS
import { createPreferenceScript } from '@hyeonse/design-system/preferences';
Insert the result in the document head before CSS paints.
Pass the same storageKey and defaults to PreferencesProvider.
Applies the device reduced-motion preference.
The generated script reads storage and media preferences once; PreferencesProvider handles later changes.
SHELL
npm exec --no -- hds show createPreferenceScript --json
preferenceScriptutility+
Ready-made first-paint script using the package key and defaults.
TS
import { preferenceScript } from '@hyeonse/design-system/preferences';
Insert in the document head before CSS paints.
Applies the device reduced-motion preference.
Use createPreferenceScript for a different key or site defaults.
SHELL
npm exec --no -- hds show preferenceScript --json
PreferencesProviderprovider+
Provide display preferences and keep document attributes in sync.
TS
import { PreferencesProvider } from '@hyeonse/design-system/react';
컴포넌트가 직접 정의한 props
속성
타입
필수
children
ReactNode
필수
storageKey
string
선택
eventName
string
선택
defaults
Partial<Preferences>
선택
Wrap consumers of usePreferences, ThemeToggle, and PreferencesPanel.
The defaults prop supplies valid site defaults for missing or invalid stored fields and reset.
The device reduced-motion preference overrides a full-motion choice.
Storage writes may fail; the current tab still updates. Server rendering starts with validated defaults before browser storage is read.
SHELL
npm exec --no -- hds show PreferencesProvider --json
usePreferenceshook+
Read preferences and the setPreference/resetPreferences actions from context.
TS
import { usePreferences } from '@hyeonse/design-system/react';
Call inside PreferencesProvider.
resetPreferences restores the validated site defaults.
Throws when used outside PreferencesProvider.
SHELL
npm exec --no -- hds show usePreferences --json
ThemeTogglecomponent+
Cycle theme preference through system, light, and dark.
TS
import { ThemeToggle } from '@hyeonse/design-system/react';
컴포넌트가 직접 정의한 props
속성
타입
필수
locale
Locale
선택
Render inside PreferencesProvider; locale defaults to ko and also accepts en.
Import components.css for the provided visual styles.
Native button with a changing accessible label describing current and next modes.
Only theme preference is changed; the effective theme still follows the device in system mode.
SHELL
npm exec --no -- hds show ThemeToggle --json
PreferencesPanelcomponent+
Display controls for theme, accent, density, corners, and motion.
TS
import { PreferencesPanel } from '@hyeonse/design-system/react';
컴포넌트가 직접 정의한 props
속성
타입
필수
locale
Locale
선택
Render inside PreferencesProvider; locale defaults to ko and also accepts en.
Import components.css for the provided visual styles.
Uses fieldset legends, native radio inputs, pressed-state accent buttons, and a live status.
It controls only the provided display preferences.
SHELL
npm exec --no -- hds show PreferencesPanel --json
Buttoncomponent+
Native button with primary, secondary, and ghost visual variants.
TS
import { Button } from '@hyeonse/design-system/primitives';
컴포넌트가 직접 정의한 props
속성
타입
필수
variant
'primary' | 'secondary' | 'ghost'
선택
size
HdsSize
선택
loading
boolean
선택
loadingLabel
string
선택
Import from @hyeonse/design-system/primitives and import components.css after tokens.css.
Native button attributes and ref are forwarded; type defaults to button. The caller manages loading state.
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
Native button keyboard behavior.
Loading disables the button, sets aria-busy, and uses loadingLabel as visible and accessible text when supplied.
Loading does not start or track an asynchronous operation. Renders a button element, not a link.
SHELL
npm exec --no -- hds show Button --json
TextFieldcomponent+
Labeled single-line input with optional hint and error text.
TS
import { TextField } from '@hyeonse/design-system/primitives';
컴포넌트가 직접 정의한 props
속성
타입
필수
size
HdsSize
선택
inputSize
number
선택
label
string
필수
type
TextInputType
선택
hint
string
선택
error
string
선택
Import from @hyeonse/design-system/primitives and import components.css after tokens.css.
Native input attributes and ref are forwarded; className applies to the input element.
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
The label targets the supplied id or a generated id.
Hint and error IDs are added to aria-describedby alongside a caller-supplied description; an error sets aria-invalid.
Single-line input only; the caller owns validation and error messages.
SHELL
npm exec --no -- hds show TextField --json
Checkboxcomponent+
Labeled native checkbox with optional hint and error text.
TS
import { Checkbox } from '@hyeonse/design-system/primitives';
컴포넌트가 직접 정의한 props
속성
타입
필수
size
HdsSize
선택
inputSize
number
선택
label
string
필수
hint
string
선택
error
string
선택
Import from @hyeonse/design-system/primitives and import components.css after tokens.css.
Native checkbox attributes, checked/defaultChecked, and ref are forwarded; className applies to the input element.
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
The label targets the supplied id or a generated id.
Hint and error IDs are added to aria-describedby alongside a caller-supplied description; an error sets aria-invalid.
readOnly exposes aria-readonly and prevents click changes while retaining focus.
A checkbox has no native readOnly behavior; the component cancels clicks to preserve its value. The caller owns validation and error messages.
SHELL
npm exec --no -- hds show Checkbox --json
Badgecomponent+
Noninteractive span badge for a short status or category.
TS
import { Badge } from '@hyeonse/design-system/primitives';
Import from @hyeonse/design-system/primitives and import components.css after tokens.css.
Native span attributes and ref are forwarded; include text that communicates the status without color alone.
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
Renders a span with its text content; tone alone does not announce meaning.
No interaction or live-region behavior is added.
SHELL
npm exec --no -- hds show Badge --json
Inputcomponent+
Styled native single-line input for custom compositions.
TS
import { Input } from '@hyeonse/design-system/fields';
컴포넌트가 직접 정의한 props
속성
타입
필수
type
TextualType
선택
size
HdsSize
선택
inputSize
number
선택
Import from @hyeonse/design-system/fields; load tokens.css before components.css.
The caller owns validation, error text, and controlled state.
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
Provide an associated label or aria-label at the call site.
Native input semantics and ref are retained.
No built-in label or error message; use a labeled field when those are needed.
SHELL
npm exec --no -- hds show Input --json
Textareacomponent+
Labeled native multiline input with hint and error.
TS
import { Textarea } from '@hyeonse/design-system/fields';
컴포넌트가 직접 정의한 props
속성
타입
필수
label
string
필수
hint
string
선택
error
string
선택
size
HdsSize
선택
Import from @hyeonse/design-system/fields; load tokens.css before components.css.
The caller owns validation, error text, and controlled state.
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
Label, hint, and error are linked with unique IDs; error sets aria-invalid.
Native textarea ref and form behavior remain available.
The caller sets rows, maxLength, and validation rules.
SHELL
npm exec --no -- hds show Textarea --json
Selectcomponent+
Labeled single-choice dropdown from fixed options.
TS
import { Select } from '@hyeonse/design-system/fields';
컴포넌트가 직접 정의한 props
속성
타입
필수
label
string
필수
hint
string
선택
error
string
선택
size
HdsSize
선택
options
readonly FieldOption[]
필수
name
string
선택
form
string
선택
id
string
선택
required
boolean
선택
disabled
boolean
선택
readOnly
boolean
선택
value
string | null
선택
defaultValue
string | null
선택
onValueChange
(value: string | null) => void
선택
placeholder
string
선택
className
string
선택
aria-describedby
string
선택
aria-invalid
boolean | 'grammar' | 'spelling'
선택
ref
Ref<HTMLButtonElement>
선택
Import from @hyeonse/design-system/fields; load tokens.css before components.css.
The caller owns validation, error text, and controlled state.
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
Base UI manages listbox keyboard navigation, option states, and form submission.
Visible label names the trigger; hint and error describe it.
Options are not searchable; use Combobox for filtering. Option values must be unique strings.
SHELL
npm exec --no -- hds show Select --json
NativeSelectcomponent+
Labeled browser-native single-choice picker for fixed options.
TS
import { NativeSelect } from '@hyeonse/design-system/fields';
컴포넌트가 직접 정의한 props
속성
타입
필수
form
string
선택
label
string
필수
size
HdsSize
선택
disabled
boolean
선택
name
string
선택
placeholder
string
선택
required
boolean
선택
value
string | null
선택
defaultValue
string | null
선택
className
string
선택
id
string
선택
aria-describedby
string
선택
aria-invalid
boolean | 'grammar' | 'spelling'
선택
hint
string
선택
error
string
선택
options
readonly FieldOption[]
필수
onValueChange
(value: string | null) => void
선택
ref
Ref<HTMLSelectElement>
선택
Import from @hyeonse/design-system/fields; load tokens.css before components.css.
The caller owns validation, error text, and controlled state.
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
The native select uses the browser and screen reader picker without Base UI focus guards.
Visible label, hint, and error are linked to the control.
Option values must be unique nonempty strings; empty string is reserved for the placeholder. Native select has no readOnly mode, and picker appearance follows the browser and operating system.
SHELL
npm exec --no -- hds show NativeSelect --json
Comboboxcomponent+
Searchable single-choice field restricted to supplied options.
TS
import { Combobox } from '@hyeonse/design-system/fields';
컴포넌트가 직접 정의한 props
속성
타입
필수
label
string
필수
hint
string
선택
error
string
선택
size
HdsSize
선택
options
readonly FieldOption[]
필수
name
string
선택
form
string
선택
id
string
선택
required
boolean
선택
disabled
boolean
선택
readOnly
boolean
선택
value
string | null
선택
defaultValue
string | null
선택
onValueChange
(value: string | null) => void
선택
placeholder
string
선택
className
string
선택
aria-describedby
string
선택
aria-invalid
boolean | 'grammar' | 'spelling'
선택
ref
Ref<HTMLInputElement>
선택
emptyText
string
선택
openLabel
string
선택
inputValue
string
선택
defaultInputValue
string
선택
onInputValueChange
(value: string) => void
선택
Import from @hyeonse/design-system/fields; load tokens.css before components.css.
The caller owns validation, error text, and controlled state.
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
Base UI manages combobox navigation, announcements, and form submission.
Search input has a visible label; the open button has a configurable accessible name.
Typed text is a query, not a free-form submitted value. Option values must be unique strings.
SHELL
npm exec --no -- hds show Combobox --json
MultiSelectcomponent+
Searchable multiple-choice field with removable selected chips.
TS
import { MultiSelect } from '@hyeonse/design-system/fields';
컴포넌트가 직접 정의한 props
속성
타입
필수
form
string
선택
label
string
필수
size
HdsSize
선택
disabled
boolean
선택
name
string
선택
placeholder
string
선택
readOnly
boolean
선택
required
boolean
선택
className
string
선택
id
string
선택
aria-describedby
string
선택
aria-invalid
boolean | 'grammar' | 'spelling'
선택
hint
string
선택
error
string
선택
options
readonly FieldOption[]
필수
ref
Ref<HTMLInputElement>
선택
value
readonly string[]
선택
defaultValue
readonly string[]
선택
onValueChange
(value: string[]) => void
선택
emptyText
string
선택
openLabel
string
선택
selectedLabel
string
선택
removeLabel
(label: string) => string
선택
chipDescription
string
선택
inputDescription
(count: number) => string
선택
inputValue
string
선택
defaultInputValue
string
선택
onInputValueChange
(value: string) => void
선택
Import from @hyeonse/design-system/fields; load tokens.css before components.css.
The caller owns validation, error text, and controlled state.
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
Base UI manages selection, chip keyboard behavior, and form values.
Selected set, removal, and keyboard hints have configurable accessible strings.
Typed text is a query, not a free-form submitted value. Option values must be unique strings.
SHELL
npm exec --no -- hds show MultiSelect --json
Switchcomponent+
Labeled binary switch with native form participation.
TS
import { Switch } from '@hyeonse/design-system/fields';
컴포넌트가 직접 정의한 props
속성
타입
필수
label
string
필수
hint
string
선택
error
string
선택
size
HdsSize
선택
id
string
선택
name
string
선택
form
string
선택
value
string
선택
uncheckedValue
string
선택
required
boolean
선택
disabled
boolean
선택
readOnly
boolean
선택
checked
boolean
선택
defaultChecked
boolean
선택
onCheckedChange
(checked: boolean) => void
선택
ref
Ref<HTMLInputElement>
선택
className
string
선택
aria-describedby
string
선택
aria-invalid
boolean | 'grammar' | 'spelling'
선택
Import from @hyeonse/design-system/fields; load tokens.css before components.css.
The caller owns validation, error text, and controlled state.
A controlled checked value is preserved when reading FormData immediately after form.reset().
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
Base UI provides switch semantics and keyboard interaction.
Visible text and optional descriptions communicate state without color alone.
An unchecked switch submits no value unless uncheckedValue is supplied.
SHELL
npm exec --no -- hds show Switch --json
RadioGroupcomponent+
Labeled set of mutually exclusive choices.
TS
import { RadioGroup } from '@hyeonse/design-system/fields';
컴포넌트가 직접 정의한 props
속성
타입
필수
label
string
필수
hint
string
선택
error
string
선택
size
HdsSize
선택
options
readonly FieldOption[]
필수
name
string
선택
form
string
선택
required
boolean
선택
disabled
boolean
선택
readOnly
boolean
선택
value
string
선택
defaultValue
string
선택
onValueChange
(value: string) => void
선택
ref
Ref<HTMLInputElement>
선택
className
string
선택
aria-describedby
string
선택
aria-invalid
boolean | 'grammar' | 'spelling'
선택
Import from @hyeonse/design-system/fields; load tokens.css before components.css.
The caller owns validation, error text, and controlled state.
A controlled selection is preserved when reading FormData immediately after form.reset().
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
Base UI provides radio keyboard navigation and form participation.
The group is named by visible label and described by hint or error.
Option values must be unique strings.
SHELL
npm exec --no -- hds show RadioGroup --json
Slidercomponent+
Labeled native single-value range input.
TS
import { Slider } from '@hyeonse/design-system/fields';
컴포넌트가 직접 정의한 props
속성
타입
필수
label
string
필수
hint
string
선택
error
string
선택
size
HdsSize
선택
inputSize
number
선택
Import from @hyeonse/design-system/fields; load tokens.css before components.css.
The caller owns validation, error text, and controlled state.
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
Native range keyboard behavior and form value.
Label, hint, and error are linked; provide aria-valuetext for a nonnumeric meaning.
Single thumb only; no readonly mode or dual-ended range.
SHELL
npm exec --no -- hds show Slider --json
NumberFieldcomponent+
Labeled numeric entry with increment and decrement controls.
TS
import { NumberField } from '@hyeonse/design-system/fields';
컴포넌트가 직접 정의한 props
속성
타입
필수
label
string
필수
hint
string
선택
error
string
선택
size
HdsSize
선택
id
string
선택
name
string
선택
form
string
선택
required
boolean
선택
disabled
boolean
선택
readOnly
boolean
선택
value
number | null
선택
defaultValue
number
선택
onValueChange
(value: number | null) => void
선택
min
number
선택
max
number
선택
step
number | 'any'
선택
locale
Intl.LocalesArgument
선택
placeholder
string
선택
incrementLabel
string
선택
decrementLabel
string
선택
ref
Ref<HTMLInputElement>
선택
className
string
선택
aria-describedby
string
선택
aria-invalid
boolean | 'grammar' | 'spelling'
선택
Import from @hyeonse/design-system/fields; load tokens.css before components.css.
The caller owns validation, error text, and controlled state.
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
Base UI provides numeric keyboard controls, bounds, and form participation.
Step buttons have configurable accessible labels.
Returns number or null, not a formatted text string.
SHELL
npm exec --no -- hds show NumberField --json
DateFieldcomponent+
Labeled native date input.
TS
import { DateField } from '@hyeonse/design-system/fields';
컴포넌트가 직접 정의한 props
속성
타입
필수
label
string
필수
hint
string
선택
error
string
선택
size
HdsSize
선택
inputSize
number
선택
Import from @hyeonse/design-system/fields; load tokens.css before components.css.
The caller owns validation, error text, and controlled state.
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
Native date control and form submission.
Label, hint, and error are linked with unique IDs.
Picker appearance and date presentation follow the browser and operating system.
SHELL
npm exec --no -- hds show DateField --json
FileInputcomponent+
Labeled native file picker.
TS
import { FileInput } from '@hyeonse/design-system/fields';
컴포넌트가 직접 정의한 props
속성
타입
필수
label
string
필수
hint
string
선택
error
string
선택
size
HdsSize
선택
inputSize
number
선택
Import from @hyeonse/design-system/fields; load tokens.css before components.css.
The caller owns validation, error text, and controlled state.
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
Native file picker and form submission.
Label, hint, and error are linked with unique IDs.
File input values are browser-managed and cannot be controlled with value/defaultValue; use form reset to clear. No readonly mode.
SHELL
npm exec --no -- hds show FileInput --json
PasswordFieldcomponent+
Labeled password input with a show or hide button.
TS
import { PasswordField } from '@hyeonse/design-system/fields';
컴포넌트가 직접 정의한 props
속성
타입
필수
label
string
필수
hint
string
선택
error
string
선택
size
HdsSize
선택
inputSize
number
선택
showLabel
string
선택
hideLabel
string
선택
Import from @hyeonse/design-system/fields; load tokens.css before components.css.
The caller owns validation, error text, and controlled state.
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
Reveal button has configurable show and hide labels and pressed state.
Password input retains native name, autocomplete, ref, and form behavior.
Visibility state is local to this component.
SHELL
npm exec --no -- hds show PasswordField --json
DropdownMenucomponent+
Button-triggered action, checkbox, separator, and nested menus.
TS
import { DropdownMenu } from '@hyeonse/design-system/overlays';
컴포넌트가 직접 정의한 props
속성
타입
필수
trigger
ReactElement
필수
items
readonly MenuEntry[]
필수
open
boolean
선택
defaultOpen
boolean
선택
onOpenChange
(open: boolean) => void
선택
size
HdsSize
선택
Import from @hyeonse/design-system/overlays and load tokens.css then components.css.
Pass a button element as trigger and stable item IDs. Checkbox state is owned by the caller.
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
Base UI supplies menu keyboard navigation, typeahead, Escape dismissal, outside dismissal, and focus return.
Trigger composition preserves forwarded handlers and refs.
The supplied trigger component must forward its ref and DOM props. Danger is visual only; the caller owns confirmation and effects.
SHELL
npm exec --no -- hds show DropdownMenu --json
ContextMenucomponent+
Right-click or long-press menu using the same item model as DropdownMenu.
TS
import { ContextMenu } from '@hyeonse/design-system/overlays';
컴포넌트가 직접 정의한 props
속성
타입
필수
trigger
ReactElement
필수
items
readonly MenuEntry[]
필수
open
boolean
선택
defaultOpen
boolean
선택
onOpenChange
(open: boolean) => void
선택
size
HdsSize
선택
Pass an interactive or labeled region as trigger and the menu entries as items.
Provide a visible way to perform important actions outside the context menu.
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
Base UI supplies right-click, long-press, keyboard operation, Escape dismissal, and focus management.
The supplied trigger component must forward its ref and DOM props. Context menus should supplement visible controls.
SHELL
npm exec --no -- hds show ContextMenu --json
Dialogcomponent+
Modal dialog with a title, optional description, body, footer, and close control.
TS
import { Dialog } from '@hyeonse/design-system/overlays';
컴포넌트가 직접 정의한 props
속성
타입
필수
trigger
ReactElement
필수
title
string
필수
description
string
선택
children
ReactNode
선택
footer
ReactNode
선택
closeLabel
string
선택
open
boolean
선택
defaultOpen
boolean
선택
onOpenChange
(open: boolean) => void
선택
size
HdsSize
선택
Pass a button trigger and a required title.
Render task content in children and actions in footer.
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
Base UI supplies modal focus containment, Escape and outside dismissal, and focus return.
Close button has a configurable Korean accessible label.
Caller controls business actions in children and footer. The supplied trigger component must forward its ref and DOM props.
SHELL
npm exec --no -- hds show Dialog --json
NativeDialogcomponent+
Browser-native modal dialog with a title, optional description, body, footer, and close control.
TS
import { NativeDialog } from '@hyeonse/design-system/overlays';
컴포넌트가 직접 정의한 props
속성
타입
필수
trigger
ReactElement
필수
title
string
필수
description
string
선택
children
ReactNode
선택
footer
ReactNode
선택
closeLabel
string
선택
open
boolean
선택
defaultOpen
boolean
선택
onOpenChange
(open: boolean) => void
선택
size
HdsSize
선택
Import from @hyeonse/design-system/overlays and load tokens.css then components.css.
Pass a button trigger and a required title; use this native path when Base UI popup composition is unnecessary.
With controlled open, a method="dialog" form requests onOpenChange(false). Keep open true to continue editing.
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
showModal supplies the native modal top layer; this wrapper keeps Tab and Shift+Tab inside without Base UI focus guards.
Escape, close, outside dismissal, and trigger focus return are checked across browser engines.
Browser and screen-reader presentation can vary; actual VoiceOver speech still needs direct confirmation. The trigger must forward onClick and DOM ARIA props. Nested Base UI popup components can still render their own guards.
SHELL
npm exec --no -- hds show NativeDialog --json
AlertDialogcomponent+
Confirmation dialog that calls onConfirm only from its confirm button.
TS
import { AlertDialog } from '@hyeonse/design-system/overlays';
컴포넌트가 직접 정의한 props
속성
타입
필수
trigger
ReactElement
필수
title
string
필수
description
string
선택
children
ReactNode
선택
confirmLabel
string
필수
cancelLabel
string
필수
onConfirm
() => void | Promise<void>
필수
onError
(error: unknown) => void
선택
pending
boolean
선택
confirmDisabled
boolean
선택
open
boolean
선택
defaultOpen
boolean
선택
onOpenChange
(open: boolean) => void
선택
size
HdsSize
선택
Pass required title, confirmLabel, cancelLabel, and onConfirm.
Use pending or confirmDisabled for externally controlled work; a rejected promise keeps the dialog open and is sent to onError.
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
Base UI supplies alert dialog focus and announcement semantics.
Cancel and confirm are separate controls with at least 44px targets on coarse-pointer devices.
An externally controlled open prop must be updated by the caller after onOpenChange. The caller should present an error message when onConfirm rejects.
SHELL
npm exec --no -- hds show AlertDialog --json
Sheetcomponent+
Modal side panel with bounded sizes and scrollable content.
TS
import { Sheet } from '@hyeonse/design-system/overlays';
컴포넌트가 직접 정의한 props
속성
타입
필수
trigger
ReactElement
필수
title
string
필수
description
string
선택
children
ReactNode
선택
footer
ReactNode
선택
closeLabel
string
선택
open
boolean
선택
defaultOpen
boolean
선택
onOpenChange
(open: boolean) => void
선택
size
HdsSize
선택
side
'left' | 'right'
선택
Pass a button trigger and required title.
Use side left/right and size xs/sm/md/lg/xl.
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
Uses Base UI dialog focus containment, dismissal, and return focus.
Close button remains visible above scrollable content.
Caller controls content and footer actions.
SHELL
npm exec --no -- hds show Sheet --json
Popovercomponent+
Anchored nonmodal content panel with title and close control.
TS
import { Popover } from '@hyeonse/design-system/overlays';
컴포넌트가 직접 정의한 props
속성
타입
필수
trigger
ReactElement
필수
title
string
필수
description
string
선택
children
ReactNode
선택
closeLabel
string
선택
open
boolean
선택
defaultOpen
boolean
선택
onOpenChange
(open: boolean) => void
선택
size
HdsSize
선택
Pass a button trigger, required title, and optional body content.
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
Base UI manages anchor placement, Escape and outside dismissal, and focus return.
Close button has a configurable accessible label.
The supplied trigger component must forward its ref and DOM props.
SHELL
npm exec --no -- hds show Popover --json
Tooltipcomponent+
Brief visual hint on hover or focus.
TS
import { Tooltip } from '@hyeonse/design-system/overlays';
컴포넌트가 직접 정의한 props
속성
타입
필수
trigger
ReactElement
필수
content
string
필수
delay
number
선택
size
HdsSize
선택
Pass an accessible, focusable trigger and a short plain-text content string.
Keep the trigger accessible without relying on tooltip text alone.
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
Base UI handles hover/focus timing and Escape.
Tooltip does not intercept pointer events.
No interactive content or touch-only instructions. The supplied trigger component must forward its ref and DOM props.
SHELL
npm exec --no -- hds show Tooltip --json
ToastProviderprovider+
Scoped, limited stack of transient announcements.
TS
import { ToastProvider } from '@hyeonse/design-system/overlays';
컴포넌트가 직접 정의한 props
속성
타입
필수
children
ReactNode
필수
viewportLabel
string
선택
closeLabel
string
선택
timeout
number
선택
limit
number
선택
size
HdsSize
선택
Wrap useToast consumers once per independent region.
Default viewport label is 알림 and close label is 알림 닫기; timeout defaults to 5000ms and visible limit to 3.
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
Base UI provides live announcements, F6 viewport focus, and pause behavior.
Each toast has a close button with at least a 44px target on coarse-pointer devices.
The provider must mount in a client React tree. Only text title and description are exposed by this wrapper.
SHELL
npm exec --no -- hds show ToastProvider --json
useToasthook+
Add and close toasts within the nearest ToastProvider.
TS
import { useToast } from '@hyeonse/design-system/overlays';
Call inside ToastProvider.
add returns an ID to pass to close.
Toast messages are announced by Base UI with priority low.
Throws outside a Base UI Toast provider. Do not use as the sole channel for critical persistent information.
SHELL
npm exec --no -- hds show useToast --json
Tabscomponent+
Controlled or uncontrolled tab set.
TS
import { Tabs } from '@hyeonse/design-system/display';
컴포넌트가 직접 정의한 props
속성
타입
필수
className
string
선택
size
HdsSize
선택
Import Tabs from @hyeonse/design-system/display and load tokens.css then components.css.
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
SHELL
npm exec --no -- hds show Tabs --json
TabsListcomponent+
Keyboard navigable tab list.
TS
import { TabsList } from '@hyeonse/design-system/display';
컴포넌트가 직접 정의한 props
속성
타입
필수
className
string
선택
Import TabsList from @hyeonse/design-system/display and load tokens.css then components.css.
SHELL
npm exec --no -- hds show TabsList --json
TabsTabcomponent+
Tab trigger linked to a panel.
TS
import { TabsTab } from '@hyeonse/design-system/display';
컴포넌트가 직접 정의한 props
속성
타입
필수
className
string
선택
Import TabsTab from @hyeonse/design-system/display and load tokens.css then components.css.
SHELL
npm exec --no -- hds show TabsTab --json
TabsPanelcomponent+
Content panel for a tab.
TS
import { TabsPanel } from '@hyeonse/design-system/display';
컴포넌트가 직접 정의한 props
속성
타입
필수
className
string
선택
Import TabsPanel from @hyeonse/design-system/display and load tokens.css then components.css.
SHELL
npm exec --no -- hds show TabsPanel --json
Accordioncomponent+
Single or multiple expandable sections.
TS
import { Accordion } from '@hyeonse/design-system/display';
컴포넌트가 직접 정의한 props
속성
타입
필수
className
string
선택
size
HdsSize
선택
Import Accordion from @hyeonse/design-system/display and load tokens.css then components.css.
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
SHELL
npm exec --no -- hds show Accordion --json
AccordionItemcomponent+
One expandable section.
TS
import { AccordionItem } from '@hyeonse/design-system/display';
컴포넌트가 직접 정의한 props
속성
타입
필수
className
string
선택
Import AccordionItem from @hyeonse/design-system/display and load tokens.css then components.css.
SHELL
npm exec --no -- hds show AccordionItem --json
AccordionHeadercomponent+
Semantic heading for an accordion item.
TS
import { AccordionHeader } from '@hyeonse/design-system/display';
컴포넌트가 직접 정의한 props
속성
타입
필수
className
string
선택
Import AccordionHeader from @hyeonse/design-system/display and load tokens.css then components.css.
SHELL
npm exec --no -- hds show AccordionHeader --json
AccordionTriggercomponent+
Button controlling an accordion panel.
TS
import { AccordionTrigger } from '@hyeonse/design-system/display';
컴포넌트가 직접 정의한 props
속성
타입
필수
className
string
선택
Import AccordionTrigger from @hyeonse/design-system/display and load tokens.css then components.css.
SHELL
npm exec --no -- hds show AccordionTrigger --json
AccordionPanelcomponent+
Expandable accordion content.
TS
import { AccordionPanel } from '@hyeonse/design-system/display';
컴포넌트가 직접 정의한 props
속성
타입
필수
className
string
선택
Import AccordionPanel from @hyeonse/design-system/display and load tokens.css then components.css.
SHELL
npm exec --no -- hds show AccordionPanel --json
Collapsiblecomponent+
Independent expandable region.
TS
import { Collapsible } from '@hyeonse/design-system/display';
컴포넌트가 직접 정의한 props
속성
타입
필수
className
string
선택
size
HdsSize
선택
Import Collapsible from @hyeonse/design-system/display and load tokens.css then components.css.
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
SHELL
npm exec --no -- hds show Collapsible --json
CollapsibleTriggercomponent+
Button controlling a collapsible panel.
TS
import { CollapsibleTrigger } from '@hyeonse/design-system/display';
컴포넌트가 직접 정의한 props
속성
타입
필수
className
string
선택
Import CollapsibleTrigger from @hyeonse/design-system/display and load tokens.css then components.css.
SHELL
npm exec --no -- hds show CollapsibleTrigger --json
CollapsiblePanelcomponent+
Collapsible content.
TS
import { CollapsiblePanel } from '@hyeonse/design-system/display';
컴포넌트가 직접 정의한 props
속성
타입
필수
className
string
선택
Import CollapsiblePanel from @hyeonse/design-system/display and load tokens.css then components.css.
SHELL
npm exec --no -- hds show CollapsiblePanel --json
Breadcrumbcomponent+
Ordered navigation path.
TS
import { Breadcrumb } from '@hyeonse/design-system/display';
컴포넌트가 직접 정의한 props
속성
타입
필수
items
readonly BreadcrumbItem[]
필수
separator
ReactNode
선택
size
HdsSize
선택
Import Breadcrumb from @hyeonse/design-system/display and load tokens.css then components.css.
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
SHELL
npm exec --no -- hds show Breadcrumb --json
Paginationcomponent+
Finite page navigation with previous and next controls.
TS
import { Pagination } from '@hyeonse/design-system/display';
컴포넌트가 직접 정의한 props
속성
타입
필수
page
number
필수
pageCount
number
필수
onPageChange
(page: number) => void
필수
locale
'ko' | 'en'
선택
siblingCount
number
선택
size
HdsSize
선택
Import Pagination from @hyeonse/design-system/display and load tokens.css then components.css.
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
SHELL
npm exec --no -- hds show Pagination --json
Steppercomponent+
Read only ordered process steps.
TS
import { Stepper } from '@hyeonse/design-system/display';
컴포넌트가 직접 정의한 props
속성
타입
필수
steps
readonly StepperItem[]
필수
currentStep
number
필수
size
HdsSize
선택
Import Stepper from @hyeonse/design-system/display and load tokens.css then components.css.
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
SHELL
npm exec --no -- hds show Stepper --json
SegmentedControlcomponent+
Single or multiple selection toggle group.
TS
import { SegmentedControl } from '@hyeonse/design-system/display';
컴포넌트가 직접 정의한 props
속성
타입
필수
className
string
선택
size
HdsSize
선택
Import SegmentedControl from @hyeonse/design-system/display and load tokens.css then components.css.
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
SHELL
npm exec --no -- hds show SegmentedControl --json
Togglecomponent+
Pressed state button.
TS
import { Toggle } from '@hyeonse/design-system/display';
컴포넌트가 직접 정의한 props
속성
타입
필수
className
string
선택
size
HdsSize
선택
Import Toggle from @hyeonse/design-system/display and load tokens.css then components.css.
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
SHELL
npm exec --no -- hds show Toggle --json
Cardcomponent+
Content surface with optional heading, description and footer.
TS
import { Card } from '@hyeonse/design-system/display';
컴포넌트가 직접 정의한 props
속성
타입
필수
title
ReactNode
선택
description
ReactNode
선택
footer
ReactNode
선택
size
HdsSize
선택
Import Card from @hyeonse/design-system/display and load tokens.css then components.css.
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
SHELL
npm exec --no -- hds show Card --json
Tablecomponent+
Semantic table with keyboard accessible overflow container.
TS
import { Table } from '@hyeonse/design-system/display';
컴포넌트가 직접 정의한 props
속성
타입
필수
containerClassName
string
선택
scrollLabel
string
선택
size
HdsSize
선택
Import Table from @hyeonse/design-system/display and load tokens.css then components.css.
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
SHELL
npm exec --no -- hds show Table --json
TableHeadercomponent+
Table header section.
TS
import { TableHeader } from '@hyeonse/design-system/display';
컴포넌트가 직접 정의한 props
속성
타입
필수
className
string
선택
Import TableHeader from @hyeonse/design-system/display and load tokens.css then components.css.
SHELL
npm exec --no -- hds show TableHeader --json
TableBodycomponent+
Table body section.
TS
import { TableBody } from '@hyeonse/design-system/display';
컴포넌트가 직접 정의한 props
속성
타입
필수
className
string
선택
Import TableBody from @hyeonse/design-system/display and load tokens.css then components.css.
SHELL
npm exec --no -- hds show TableBody --json
TableRowcomponent+
Table row.
TS
import { TableRow } from '@hyeonse/design-system/display';
컴포넌트가 직접 정의한 props
속성
타입
필수
className
string
선택
Import TableRow from @hyeonse/design-system/display and load tokens.css then components.css.
SHELL
npm exec --no -- hds show TableRow --json
TableHeadcomponent+
Column or row header cell.
TS
import { TableHead } from '@hyeonse/design-system/display';
컴포넌트가 직접 정의한 props
속성
타입
필수
className
string
선택
Import TableHead from @hyeonse/design-system/display and load tokens.css then components.css.
SHELL
npm exec --no -- hds show TableHead --json
TableCellcomponent+
Data cell.
TS
import { TableCell } from '@hyeonse/design-system/display';
컴포넌트가 직접 정의한 props
속성
타입
필수
className
string
선택
Import TableCell from @hyeonse/design-system/display and load tokens.css then components.css.
SHELL
npm exec --no -- hds show TableCell --json
TableCaptioncomponent+
Table caption.
TS
import { TableCaption } from '@hyeonse/design-system/display';
컴포넌트가 직접 정의한 props
속성
타입
필수
className
string
선택
Import TableCaption from @hyeonse/design-system/display and load tokens.css then components.css.
SHELL
npm exec --no -- hds show TableCaption --json
DataTablecomponent+
Controlled semantic table with sorting, single-row selection, and finite pagination.
TS
import { DataTable } from '@hyeonse/design-system/display';
컴포넌트가 직접 정의한 props
속성
타입
필수
caption
string
필수
columns
readonly DataTableColumn<Row>[]
필수
rows
readonly Row[]
필수
getRowId
(row: Row) => string
필수
getRowLabel
(row: Row) => string
선택
sort
DataTableSort | null
필수
onSortChange
(sort: DataTableSort) => void
필수
selectedRowId
string | null
필수
onSelectedRowIdChange
(rowId: string | null) => void
필수
page
number
필수
pageCount
number
필수
onPageChange
(page: number) => void
필수
pageSize
number
필수
totalRows
number
필수
state
'ready' | 'loading' | 'error'
선택
emptyMessage
string
선택
errorMessage
string
선택
locale
'ko' | 'en'
선택
size
HdsSize
선택
className
string
선택
Import DataTable from @hyeonse/design-system/display and load tokens.css before components.css.
Pass already sorted current-page rows, stable row IDs, and controlled sort, selection, page, pageCount, totalRows, and pageSize.
Keep selection by stable ID when it leaves the current page; clear it explicitly when a record is deleted.
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
Uses a captioned native table with aria-sort on the active column, labeled sort buttons and row checkboxes.
Moves focus to the named table scroll region after pagination; announces the current range and off-page selection.
Sorting, paging, and data fetching are controlled by the application.
SHELL
npm exec --no -- hds show DataTable --json
Alertcomponent+
Status or urgent message with semantic role.
TS
import { Alert } from '@hyeonse/design-system/display';
컴포넌트가 직접 정의한 props
속성
타입
필수
tone
'info' | 'success' | 'warning' | 'danger'
선택
title
ReactNode
선택
size
HdsSize
선택
Import Alert from @hyeonse/design-system/display and load tokens.css then components.css.
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
SHELL
npm exec --no -- hds show Alert --json
Avatarcomponent+
Image with visible fallback on failure.
TS
import { Avatar } from '@hyeonse/design-system/display';
컴포넌트가 직접 정의한 props
속성
타입
필수
src
string
선택
alt
string
필수
fallback
ReactNode
필수
size
HdsSize
선택
Import Avatar from @hyeonse/design-system/display and load tokens.css then components.css.
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
SHELL
npm exec --no -- hds show Avatar --json
Separatorcomponent+
Decorative or semantic divider.
TS
import { Separator } from '@hyeonse/design-system/display';
컴포넌트가 직접 정의한 props
속성
타입
필수
decorative
boolean
선택
size
HdsSize
선택
Import Separator from @hyeonse/design-system/display and load tokens.css then components.css.
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
SHELL
npm exec --no -- hds show Separator --json
Skeletoncomponent+
Decorative loading placeholder.
TS
import { Skeleton } from '@hyeonse/design-system/display';
컴포넌트가 직접 정의한 props
속성
타입
필수
width
string | number
선택
height
string | number
선택
size
HdsSize
선택
Import Skeleton from @hyeonse/design-system/display and load tokens.css then components.css.
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
SHELL
npm exec --no -- hds show Skeleton --json
Spinnercomponent+
Labeled loading status.
TS
import { Spinner } from '@hyeonse/design-system/display';
컴포넌트가 직접 정의한 props
속성
타입
필수
label
string
선택
size
HdsSize
선택
Import Spinner from @hyeonse/design-system/display and load tokens.css then components.css.
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
SHELL
npm exec --no -- hds show Spinner --json
Progresscomponent+
Determinate or indeterminate progress indicator.
TS
import { Progress } from '@hyeonse/design-system/display';
컴포넌트가 직접 정의한 props
속성
타입
필수
value
number
선택
max
number
선택
label
string
필수
size
HdsSize
선택
Import Progress from @hyeonse/design-system/display and load tokens.css then components.css.
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
SHELL
npm exec --no -- hds show Progress --json
EmptyStatecomponent+
Content for an empty result.
TS
import { EmptyState } from '@hyeonse/design-system/display';
컴포넌트가 직접 정의한 props
속성
타입
필수
title
ReactNode
필수
description
ReactNode
선택
action
ReactNode
선택
size
HdsSize
선택
Import EmptyState from @hyeonse/design-system/display and load tokens.css then components.css.
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
SHELL
npm exec --no -- hds show EmptyState --json
AspectRatiocomponent+
Aspect ratio box.
TS
import { AspectRatio } from '@hyeonse/design-system/display';
컴포넌트가 직접 정의한 props
속성
타입
필수
ratio
number
선택
size
HdsSize
선택
Import AspectRatio from @hyeonse/design-system/display and load tokens.css then components.css.
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
SHELL
npm exec --no -- hds show AspectRatio --json
ScrollAreacomponent+
Labeled keyboard scroll region.
TS
import { ScrollArea } from '@hyeonse/design-system/display';
컴포넌트가 직접 정의한 props
속성
타입
필수
maxHeight
string | number
선택
label
string
필수
size
HdsSize
선택
Import ScrollArea from @hyeonse/design-system/display and load tokens.css then components.css.
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
SHELL
npm exec --no -- hds show ScrollArea --json
Labelcomponent+
Native form label.
TS
import { Label } from '@hyeonse/design-system/display';
컴포넌트가 직접 정의한 props
속성
타입
필수
required
boolean
선택
size
HdsSize
선택
Import Label from @hyeonse/design-system/display and load tokens.css then components.css.
size accepts xs/sm/md/lg/xl; omitted size inherits the nearest SizeProvider or layout, falling back to md. A child size overrides its parent, including across portals.
SHELL
npm exec --no -- hds show Label --json
VisuallyHiddencomponent+
Screen reader visible text.
TS
import { VisuallyHidden } from '@hyeonse/design-system/display';
컴포넌트가 직접 정의한 props
속성
타입
필수
className
string
선택
Import VisuallyHidden from @hyeonse/design-system/display and load tokens.css then components.css.
SHELL
npm exec --no -- hds show VisuallyHidden --json
SizeProviderprovider+
Provide one size to nested components, including React portals.
TS
import { SizeProvider } from '@hyeonse/design-system/layout';
컴포넌트가 직접 정의한 props
속성
타입
필수
size
Size
필수
children
ReactNode
선택
Pass one required size: xs, sm, md, lg, or xl; adds no DOM element.
Children inherit this size unless they supply an explicit size.
Touch controls retain at least 44px targets.
Layout adds no application landmarks or route behavior.
SHELL
npm exec --no -- hds show SizeProvider --json
Stackcomponent+
Vertical layout with inherited size and optional gap override.
TS
import { Stack } from '@hyeonse/design-system/layout';
컴포넌트가 직접 정의한 props
속성
타입
필수
size
Size
선택
gap
Size
선택
align
'start' | 'center' | 'end' | 'stretch'
선택
Use size for child components and gap for spacing only.
Omitted size inherits the nearest provider or layout; default md. Explicit child size wins.
Touch controls retain at least 44px targets.
Layout adds no application landmarks or route behavior.
SHELL
npm exec --no -- hds show Stack --json
Inlinecomponent+
Wrapping horizontal layout with alignment and justification.
TS
import { Inline } from '@hyeonse/design-system/layout';
컴포넌트가 직접 정의한 props
속성
타입
필수
size
Size
선택
gap
Size
선택
align
'start' | 'center' | 'end' | 'stretch'
선택
justify
'start' | 'center' | 'end' | 'between'
선택
wrap
boolean
선택
Use wrap=false only when content is known to fit; wrapping is the default.
Omitted size inherits the nearest provider or layout; default md. Explicit child size wins.
Touch controls retain at least 44px targets.
Layout adds no application landmarks or route behavior.
SHELL
npm exec --no -- hds show Inline --json
Gridcomponent+
Responsive grid with a preferred column count.
TS
import { Grid } from '@hyeonse/design-system/layout';
컴포넌트가 직접 정의한 props
속성
타입
필수
size
Size
선택
gap
Size
선택
columns
1 | 2 | 3 | 4
선택
minItemWidth
string
선택
columns accepts 1–4; columns collapse as available width drops below minItemWidth.
Omitted size inherits the nearest provider or layout; default md. Explicit child size wins.
Touch controls retain at least 44px targets.
Layout adds no application landmarks or route behavior.
SHELL
npm exec --no -- hds show Grid --json
Containercomponent+
Centered fluid content container with a size-based maximum width.
TS
import { Container } from '@hyeonse/design-system/layout';
컴포넌트가 직접 정의한 props
속성
타입
필수
size
Size
선택
fluid
boolean
선택
Use fluid to remove the maximum width while retaining scaled horizontal padding.
Omitted size inherits the nearest provider or layout; default md. Explicit child size wins.
Touch controls retain at least 44px targets.
Layout adds no application landmarks or route behavior.
SHELL
npm exec --no -- hds show Container --json
HTML 기본 속성과 ref는 각 컴포넌트의 공개 타입에 포함돼요. 더 자세한 선언·상태·한계는 카탈로그 JSON과 전체 참조에서 확인하세요.