App UI — make:component
- Creates
src/components/ui/task-card.* - Registers in
appRegistry - Extends
CoreComponentwith Shadow DOM lifecycle
Learn how to build components, then explore every built-in nc-* that ships with create-nativecore.
NativeCoreJS UI is Web Components on the platform — no virtual DOM. Built-ins live under src/components/core/; your app components live under src/components/ui/. You are not limited to nc-*: install any npm package (utilities or other Web Component libraries) and import it — the scaffold syncs an import map on dev / compile.
npx create-nativecore@latest my-app<nc-button variant="primary">Save</nc-button>frameworkRegistry / appRegistry — no manual import in most casesDeep dive: Native Web Components · First component · Core components · Slots
Use generators so registration and naming stay consistent.
make:componentsrc/components/ui/task-card.*appRegistryCoreComponent with Shadow DOM lifecyclemake:core-componentsrc/components/core/nc-status-pill.*frameworkRegistrync-* primitives you want to treat as built-ins
Pull newer framework nc-* into an existing app with
npm run sync:components
(runtime Core is separate: npm run sync:core).
Every registered built-in tag with a live sample. Child tags (e.g. nc-tab-item) appear inside their parents.
63 built-in tags documented below.
nc-buttonPrimary action button with variants.
nc-copy-buttonCopy a value to the clipboard.
nc-chipCompact label / filter chip.
nc-aFramework-aware anchor for SPA navigation.
nc-scroll-topFloating control to scroll back to top.
Present on long pages — try scrolling this site.
nc-inputText input with label and validation hooks.
nc-textareaMulti-line text area.
nc-selectSelect from a list of options.
nc-number-inputNumeric stepper input.
nc-checkboxBoolean checkbox.
nc-switchToggle switch.
nc-radioRadio option within a group.
nc-sliderRange slider.
nc-otp-inputOne-time passcode digit fields.
nc-tag-inputFree-form tag entry.
nc-autocompleteText input with suggestion list.
nc-color-pickerColor value picker.
nc-date-pickerDate selection control.
nc-time-pickerTime selection control.
nc-file-uploadFile upload drop zone / picker.
nc-ratingStar rating control.
nc-rich-textLightweight rich text surface.
nc-formForm wrapper coordinating nc-field inputs.
nc-fieldchildLabeled field wrapper used inside nc-form.
Shown inside nc-form above.
nc-alertInline status message.
nc-snackbarTransient toast notification.
nc-progressLinear progress bar.
nc-progress-circularCircular progress indicator.
nc-badgeCount / status badge.
nc-skeletonLoading placeholder shimmer.
nc-empty-stateEmpty collection placeholder.
loading-spinnerInline page loading spinner (shell default).
nc-modalModal dialog with slots.
Wire open/close from your controller.
nc-drawerSide drawer panel.
Use for filters, details, or mobile nav.
nc-popoverAnchored popover content.
Short contextual content.
nc-tooltipHover / focus tooltip.
nc-dropdownDropdown menu trigger.
nc-menuMenu list container.
See nc-dropdown demo above.
nc-menu-itemchildSingle menu row.
Used inside nc-menu.
nc-tableSimple data table.
nc-timelineVertical event timeline.
nc-timeline-itemchildTimeline row.
Used inside nc-timeline.
nc-accordionExpandable sections.
nc-accordion-itemchildAccordion panel.
Used inside nc-accordion.
nc-collapsibleSimple show/hide region.
Collapsed content for progressive disclosure.
nc-codeSyntax-highlighted code block.
nc-kbdKeyboard key glyph.
nc-avatarUser avatar.
nc-avatar-groupStacked avatar group.
nc-imageResponsive image with loading helpers.
nc-cardContent card surface.
Group related content with optional header/footer slots.
nc-divStyled layout div primitive.
nc-dividerHorizontal or vertical rule.
Above
Below
nc-animationDeclarative animation helper.