ds-svelte-community
Nais Docs
Pages
  • Home
  • CSS
  • Icons
Typography
  • BodyLong
  • BodyShort
  • Detail
Components
  • Accordion
  • ActionMenu Beta
  • Alert
  • Button
  • Checkbox
  • Chips
  • ConfirmationPanel
  • CopyButton
  • ErrorSummary
  • ExpansionCard
  • GuidePanel
  • HelpText
  • InternalHeader Beta
  • List
  • Loader
  • Modal
  • Pagination
  • Popover
  • Radio
  • ReadMore
  • Search
  • Select
  • Skeleton
  • Stepper
  • Switch
  • Table
  • Tabs
  • Tag
  • TextField
  • ToggleGroup
  • Tooltip
Primitives
  • Bleed
  • Box

Version: 1.0.0
Try dark darkside
Try light darkside

ConfirmationPanel

Used to give active consent either at the beginning or end of a flow.

Read more about this component in the Aksel documentation.

    Default With description Error

Properties

PropertyDescriptionDefault
Control
Properties
label
required

Label text

string Snippet
-
checked

Wether the checkbox is checked, can be used with bind:checked.

boolean
false
error

Error message for element.

string
""
errorId

Override internal errorId.

string
""
id

Override internal id.

string
""
size

Changes font-size, padding and gaps.

"medium" "small"
"medium"
value

The value of the HTML element.

string
""
Snippets
children

Description

 -
label

Label text

 -

Properties included from: HTMLAttributes<HTMLDivElement>