Skip to content

Rename size prop for buttons and links #1254

Description

@essenmitsosse

We're using uno with the tailwind template in npmx, the most common format for specifying sizes is using letters is sm, md, lg, etc. A similar format is used for Nuxt-UI components. Therefore for better DX in npmx, it would be more convenient to use the same style (<Button size="md">) throughout our project.

For now we need to update the size prop in the button, link and input components.

P.S. Don't forget to update the tests

Originally posted by @alexdln in #1247 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions