Skip to content

Simple button + text example #793

Description

@fulldecent

Clear and concise description of the problem

I am looking at https://vue3.examples.histoire.dev/story/src-components-introduction-story-vue?variantId=_default and fail to understand if this will be good for my project.

Suggested solution

Use this specific kind of a component for the first example:

  • A button with label Click me
  • The button visually works like a real, working button (hover and depressed states)
  • Text saying You clicked this button <strong>0</strong> times
  • The button fires events that you can inspect
  • No tailwind css or other unnecessary dependencies

And then a configuration (on the right panel, I guess?) to pick between:

  • Button style is buttonStyle.pill or buttonStyle.roundedRect

Alternative

None

Additional context

No response

Validations

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

    enhancement: to triageNew feature of request pending review by team member

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions