Giter VIP home page Giter VIP logo

qwik-storefront-ui's Introduction

Qwik

Storefront UI

Qwik UI library and Design System for eCommerce based on TailwindCSS.

showcase

qwik-storefront-ui's People

Contributors

daniela-bonvini avatar fabiobiondi avatar gioboa avatar thecoder93 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

qwik-storefront-ui's Issues

Missing styles for default usage of some components

Im trying the examples in the documentation, but Im not getting the default styles for any of the components.

In the code below I'm using the buttons example, but the styles only appear when I add as={Link}. In the html output, It seems like qwik its not adding classes by default. This does not seem to be the intended behavior, any ideas?

src:

<div class="flex flex-col items-center space-y-4 xs:block xs:space-x-4">
    <SfButton type="button" size="sm">
       Button-a 
    </SfButton>

    <SfButton type="button" size="base">
       Button-b
    </SfButton>

    <SfButton as={Link} type="button" size="lg">
        Button-c
     </SfButton>
</div>

renderd:
Screenshot from 2023-11-26 21-19-32

html:

<div class="flex flex-col items-center space-y-4 xs:block xs:space-x-4" data-qwik-inspector="routes/layout.tsx:78:5">
   <!--qv q:id=p q:key=IF0j:4h_6-->
   <button data-testid="button" q:key="6X_3">
      <!--qv q:s q:sref=p q:key=-->Button-a<!--/qv-->
   </button>
   <!--/qv--><!--qv q:id=q q:key=IF0j:4h_7-->
   <button data-testid="button" q:key="6X_3">
      <!--qv q:s q:sref=q q:key=-->Button-b<!--/qv-->
   </button>
   <!--/qv--><!--qv q:id=r q:key=IF0j:4h_8--><!--qv q:id=s q:key=8gdL:6X_3-->
   <a data-testid="button" type="button" class="inline-flex items-center justify-center font-medium text-base focus-visible:outline focus-visible:outline-offset rounded-md disabled:text-disabled-500 disabled:bg-disabled-300 disabled:shadow-none disabled:ring-0 disabled:cursor-not-allowed py-3 leading-6 px-6 gap-3 text-white shadow hover:shadow-md active:shadow bg-primary-700 hover:bg-primary-800 active:bg-primary-900 disabled:bg-disabled-300" on:click="/src/link_component_handleclick_event_i1cv0pyjnr0.js#Link_component_handleClick_event_i1Cv0pYJNR0[0 1 1 1]" q:key="AD_1" q:id="t">
      <!--qv q:s q:sref=s q:key=--><!--qv q:s q:sref=r q:key=-->Button-c<!--/qv--><!--/qv-->
   </a>
   <!--/qv--><!--/qv-->
</div>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.