N
primitives button@2.0.0

Button

Primary / secondary / danger / success / warning button with loading state.

Install

bash
ndui add button

Source files land in Components/Button/, namespace-rewritten to your project's root namespace. The component CSS is wired into wwwroot/css/app.css automatically.

Dependencies

NuGet packages
  • Noundry.UI

See it in action

Every registered variant, state, and interaction pattern is demonstrated at the live showcase:

Related

Browse all primitives · CLI reference · reactivity patterns.