defmodule PyrauiWeb.DocsLive.KbdDocs do use PyrauiWeb, :html def render(assigns) do ~H"""

Kbd

Keyboard shortcut display component for showing keyboard combinations.

Basic Usage

Press Ctrl + S to save

Press Esc to close

Press Cmd + K to search


              Press <.kbd>Ctrl</.kbd> + <.kbd>S</.kbd> to save
            

Different Sizes

Small

Esc

Medium

Ctrl

Large

Enter

Props

Prop Type Default Description
size atom :md Key size (:sm, :md, :lg)
""" end end