<.h1>Petal Components A11y Audit <.h2>Heading 2 <.h3>Heading 3 <.h4>Heading 4 <.h5>Heading 5 <.ul class="mb-5" x-random-attribute="lol">
  • Item 1
  • Item 2
  • <.ol class="mb-5" x-random-attribute="lol">
  • Item 1
  • Item 2
  • <.prose class="md:prose-lg" x-random-attribute="lol">

    A paragraph

    <.p x-text="input">Paragraph <.accordion> <:item heading="Accordion"> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam quis. Ut enim ad minim veniam quis. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. <:item heading="Accordion Two"> Lorem ipsum dolor sit amet, consectetur adipiscing elit... <.alert with_icon color="info" label="Info alert" /> <.alert with_icon color="info" label="Info alert with heading" heading="Info" /> <.alert with_icon color="danger" label="Error alert" /> <.avatar src={@avatar_src} /> <.badge color="primary" label="Primary" /> <.breadcrumbs class="text-md" links={[ %{label: "Link 1", to: "/", icon: "hero-home"}, %{label: "Link 2", to: "/", icon: "hero-home"}, %{label: "Link 3", to: "/", icon: "hero-home"} ]} /> <.button label="Press me" phx-click="click_event" /> <.button_group aria_label="My options" size={@group_size}> <:button label="XS" phx-click="change_size" phx-value-size="xs" /> <:button label="SM" kind="link" patch="/app/orgs" /> <:button label="MD" phx-click="change_size" phx-value-size="md" /> <:button phx-click="change_size" phx-value-size="lg">LG <:button phx-click="change_size" phx-value-size="xl">XL <.button_group aria_label="My links" size="md"> <:button kind="link" patch="/path-one">Link 1 <:button kind="link" patch="/path-two">Link 2 <:button label="Link 3" kind="link" navigate="/other" /> <.card> <.card_content category="Article" heading="Enhance your Phoenix development">
    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus eget leo interdum, feugiat ligula eu, facilisis massa. Nunc sollicitudin massa a elit laoreet.
    <.container max_width="full"> <.dropdown class="dropdown_class" menu_items_wrapper_class="menu_items_wrapper_class" label="Dropdown" > <.dropdown_menu_item class="dropdown_menu_item_class" type="button"> <.icon name="hero-home-mini" class="w-5 h-5 text-gray-500" /> Button item with icon <.form for={@form}> <.field field={@form[:name]} type="text" placeholder="eg. Sally" class="!w-max" label_class="label-class" /> <.field field={@form[:color]} type="color" class="!w-max" label_class="label-class" /> <.field field={@form[:date]} type="date" class="!w-max" label_class="label-class" /> <.field field={@form[:datetime_local]} type="datetime-local" class="!w-max" label_class="label-class" /> <.field field={@form[:email]} type="email" class="!w-max" label_class="label-class" /> <.field field={@form[:file]} type="file" class="!w-max" label_class="label-class" /> <.field field={@form[:hidden]} type="hidden" class="!w-max" label_class="label-class" /> <.field field={@form[:month]} type="month" class="!w-max" label_class="label-class" /> <.field field={@form[:number]} type="number" class="!w-max" label_class="label-class" /> <.field field={@form[:password]} type="password" class="!w-max" label_class="label-class" /> <.field field={@form[:range]} type="range" class="!w-max" label_class="label-class" /> <.field field={@form[:search]} type="search" class="!w-max" label_class="label-class" /> <.field field={@form[:tel]} type="tel" class="!w-max" label_class="label-class" /> <.field field={@form[:time]} type="time" class="!w-max" label_class="label-class" /> <.field field={@form[:url]} type="url" class="!w-max" label_class="label-class" /> <.field field={@form[:week]} type="week" class="!w-max" label_class="label-class" /> <.icon name="hero-arrow-right" class="text-gray-300" /> <.spinner show={true} /> <.stepper steps={[ %{ name: "Account Details", description: "Basic information", complete?: true, active?: true, on_click: JS.push("navigate", value: %{target_index: 0}) }, %{ name: "Preferences", description: "Set preferences", complete?: true, active?: false, on_click: JS.push("navigate", value: %{target_index: 1}) }, %{ name: "Confirmation", description: "Review and confirm", complete?: false, active?: false, on_click: JS.push("navigate", value: %{target_index: 2}) } ]} orientation="horizontal" size="sm" /> <.vertical_menu menu_items={@main_menu_items} current_page={@current_page} title={@sidebar_title} /> <.marquee pause_on_hover repeat={3}> <%= for review <- [ %{ name: "Anne", username: "@anne", body: "I've never seen anything like this before. It's amazing.", img: "https://res.cloudinary.com/wickedsites/image/upload/v1604268092/unnamed_sagz0l.jpg" }, %{ name: "Jill", username: "@jill", body: "I don't know what to say. I'm speechless. This is amazing.", img: "https://res.cloudinary.com/wickedsites/image/upload/v1636595188/dummy_data/avatar_1_lc8plf.png" }, %{ name: "John", username: "@john", body: "I'm at a loss for words. This is amazing. I love it.", img: "https://res.cloudinary.com/wickedsites/image/upload/v1636595188/dummy_data/avatar_2_jhs6ww.png" } ] do %> <.review_card name={review.name} username={review.username} body={review.body} img={review.img} /> <% end %> <.modal max_width="sm" title="Modal">
    <.form_label label="Add some text here." />
    <.button label="close" phx-click={PetalComponents.Modal.hide_modal()} />
    <.progress size="xl" value={10} max={100} label="15%" /> <.rating include_label rating={3.3} total={5} /> <.skeleton /> <.slide_over title="SlideOver" origin="left">
    <.form_label label="Add some text here." />
    <.button label="close" phx-click={PetalComponents.SlideOver.hide_slide_over("left")} />
    <.table class="my-class" id="posts" row_id={fn post -> "row_#{post.id}" end} rows={@posts}> <:col :let={post} label="Name" class="col-class" row_class="row-class">{post.name} <.tabs class="flex-col sm:flex-row space-x"> <.tab is_active to="/">Home <.tab link_type="a" to="/" label="Press me" phx-click="click_event" /> <.user_dropdown_menu user_menu_items={@user_menu_items} avatar_src={@avatar_src} current_user_name={@current_user_name} />